[U-Boot] MMC boot broken on OMAP-L138 LCDK

Sekhar Nori nsekhar at ti.com
Mon May 20 12:38:28 UTC 2019


On 20/05/19 5:55 PM, Adam Ford wrote:
> What about adding a memset function to the end of spl_board_init() so
> after arch_cpu_init() is called,and after preloader_consol_init() is
> called, we clear BSS?  I ran some preliminary tests on da850evm and it
> didn't see to break anything.  There are a few boards that appear to
> do things in this order.

This will work, but, looks like there is a desire to maintain some
"standard" around this. Ie board_init_r() can assume BSS is available
(see README -> Board Initialisation Flow:).

Doing BSS init in in spl_board_init() called from board_init_r() will
violate that.

Thanks,
Sekhar




More information about the U-Boot mailing list