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
This commit is contained in:
Daniel Barlow 2024-02-02 19:36:11 +00:00
parent 84ce618213
commit f682b26c29

View file

@ -185,7 +185,7 @@
}; };
boot.tftp = { boot.tftp = {
loadAddress = lim.parseInt "0x1000000"; loadAddress = lim.parseInt "0x1700000";
kernelFormat = "zimage"; kernelFormat = "zimage";
compressRoot = true; compressRoot = true;
}; };