liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f682b26c29f8dfebdbf3b9e01dbced9ee3ce46ed
parent 84ce618213129c42b4a026342534f588d55de1ec
Author: Daniel Barlow <dan@telent.net>
Date:   Fri,  2 Feb 2024 19:36:11 +0000

omnia seems very fussy about tftp load address

when loading with 0x1000000 base address, something was getting
corrupted in the uncompressed rootfs

$ head -c $(printf "%d" 0x2be0000) rootfs | sha1sum
142571fe0436c18191727d1d4c2fd32163c1f2e1  -
=> sha1sum 0x1000000 2be0000
sha1 for 01000000 ... 03bdffff ==> 142571fe0436c18191727d1d4c2fd32163c1f2e1

but!

$  head -c $(printf "%d" 0x2bf0000) rootfs | sha1sum
7aa004ba87c6772bade491fbade164e2dfe100f9  -
=> sha1sum 0x1000000 2bf0000
sha1 for 01000000 ... 03beffff ==> 1a0923a94784d0c0b86006c5e6fff1649770dad3

Diffstat:
Mdevices/turris-omnia/default.nix | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devices/turris-omnia/default.nix b/devices/turris-omnia/default.nix @@ -185,7 +185,7 @@ }; boot.tftp = { - loadAddress = lim.parseInt "0x1000000"; + loadAddress = lim.parseInt "0x1700000"; kernelFormat = "zimage"; compressRoot = true; };