2
0

Move openwrt-one TFTP load address after reserved-memory regions

I was seeing random filesystem corruption when booting larger images
over TFTP, and it turned out to be caused by the image being loaded
on top of some reserved-memory regions (see link below).

897d54018c/arch/arm64/boot/dts/mediatek/mt7981b.dtsi (L72)
This commit is contained in:
Peter Collingbourne
2026-04-25 22:35:43 -07:00
committed by Daniel Barlow
parent f1277b0564
commit c03d50235a

View File

@@ -632,9 +632,8 @@
tftp = {
# Should be a segment of free RAM, where the tftp artifact
# can be stored before unpacking it to the 'hardware.loadAddress'
# The 'hardware.loadAddress' is 0x44000000, and the bootlog
# suggests it loads the fit to 0x46000000
loadAddress = lim.parseInt "0x46000000";
# This address is after the reserved-memory regions.
loadAddress = lim.parseInt "0x48000000";
};
imageFormat = "fit";
loader.fit.enable = lib.mkDefault true; # override this if you are building tftpboot