My OpenWRT 23.05 build didn't have support for "sha256=1" for config.txt so I grabbed the fix*.dat, start*.elf, and bcm2711*.dtb files from the newest Raspbian and overwrote mine and then I was able to confirm that it indeed shows the same sha256 hashes for the dtb and kernel8.img on a successful boot and a failed reboot.To rule out file-system / kernel loading issues you can add sha256=1 to config.txt and compare the hashes in the UART log between good and bad boots
Sucess
Code:
MESS:00:00:08.486650:0: Loaded 'bcm2711-rpi-cm4.dtb' to 0x100 size 0xdc7cMESS:00:00:08.500530:0: sha256: a7c1333d1b2272f674a1f0ccd0471b232d8fe09992616d52a59f2dacf79d05faMESS:00:00:11.004815:0: Loaded 'kernel8.img' to 0x200000 size 0xb35008MESS:00:00:12.573496:0: sha256: ad606d073891431dbabe1d44fde67a774cfcd6a4a8650ab9fefd8e0e63c2d4a0
Fail
Code:
MESS:00:00:08.489349:0: Loaded 'bcm2711-rpi-cm4.dtb' to 0x100 size 0xdc7cMESS:00:00:08.503244:0: sha256: a7c1333d1b2272f674a1f0ccd0471b232d8fe09992616d52a59f2dacf79d05faMESS:00:00:11.007392:0: Loaded 'kernel8.img' to 0x200000 size 0xb35008MESS:00:00:12.576078:0: sha256: ad606d073891431dbabe1d44fde67a774cfcd6a4a8650ab9fefd8e0e63c2d4a0
Statistics: Posted by subrosian — Wed Sep 25, 2024 8:48 pm