Subject: Re: [PATCH] Align offset with pine64

From: Jacob Hrbek <[email-masked]>
Date: Wed, 08 Mar 2023 04:42:51 +0000

It now builds and boots, but without an internet connection due to the proprietary firmware on the WiFI and lack of any other method to connect beyond a USB modem.

h-node says that there is a way to make it work fully libre with some kernel hacks that i have no idea what they mean[https://h-node.org/wifi/view/en/1725/Realtek-Semiconductor-Co---Ltd--RTL8723BE-PCIe-Wireless-Network-Adapter/1/1/undef/undef/undef/undef/wifi-works/RTL8723]

CC GNUToo your turn 

-- Jacob "Kreyren" Hrbek

------- Original Message -------
On Wednesday, March 8th, 2023 at 4:16 AM, Jacob Hrbek <[email-masked]> wrote:

> 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