
16 Oct
2021
16 Oct
'21
1:22 p.m.
Tom Rini trini@konsulko.com wrote:
I believe, that risc-v, until the current dev tree (so v2022.01) doesn't set the flag to prevent itself from being overwritten when preparing to boot the OS.
If I understand your comment correctly, this means that the issue has been fixed in the v2022.01 dev tree? If so: Could you point me to the commit fixing the issue?
So the correct change is indeed to set CONFIG_SYS_BOOTMAPSZ as this does tell U-Boot to always contain kernel/dtb/initrd to within that size window, from start of memory (roughly).
Alright, I guess we are applying this CONFIG_SYS_BOOTMAPSZ change downstream then until v2022.01 is released.
Greetings, Sören