Comment 2 for bug 2054091

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

When SPL loads u-boot.itb it places the device-tree directly behind the image. This results in the BSS section overlapping with the device-tree.

While on RISC-V for SPL the bss section is zeroed out, this is not done in main U-Boot.

When the debug-uart is initialized a static variable is written, which results in corrupting the device-tree.