Subject: [bug#62024] [PATCH] Align offset with pine64

From: Jacob Hrbek <[email-masked]>
Date: Wed, 08 Mar 2023 03:16:33 +0000

It doesn't boot which where the likely culprit is the offset as it
expects the bootloader on 8192 sector start

Signed-off-by: Jacob Hrbek <[email-masked]>
---
 gnu/system/images/teres_i.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/system/images/teres_i.scm b/gnu/system/images/teres_i.scm
index a9b16b677f..607d003a11 100644
--- a/gnu/system/images/teres_i.scm
+++ b/gnu/system/images/teres_i.scm
@@ -69,8 +69,7 @@ (define teres_i-image-type
    (constructor (lambda (os)
                   (image
                    (inherit
-		    ;; All AllWinner SoCs will try to find a boot image at sector 16 (8KB) of an SD card [https://u-boot.readthedocs.io/en/latest/board/allwinner/sunxi.html#installing-u-boot]
-                    (raw-with-offset-disk-image (* 1024 8))) ; 1024 (sector size for 1 kilobyte) * 8 = 8192 sectors which is 8 KB)
+                    (raw-with-offset-disk-image))
                    (operating-system os)
                    (platform aarch64-linux))))))

--
2.37.3