[U-Boot] [PATCH v2 2/2] ARM: davinci: SPL: fix BSS initialization

Sekhar Nori nsekhar at ti.com
Wed May 29 13:13:44 UTC 2019


On 28/05/19 8:44 PM, Adam Ford wrote:
>> -void spl_board_init(void)
>> +void board_init_f(ulong dummy)
>>  {

> The da850 uses the device tree to get the serial port information, and
> someone else just submitted a patch to enable the device tree for the
> LCDK.  At least for the da850-evm, we need to initialize the spl stuff
> here to fetch the device tree info in order to enable the serial port
> for preload_console_init() or it hangs.
> 
> I think we should add spl_early_init(); If you don't want it enabled
> all the time, we could encapsulate it in an ifdef checking for the
> presence of OF_CONTROL, but I think it should be harmless to have it
> executed all the time based on my interpretation of the readme file.

I added it in my branch:

http://git.ti.com/cgit/cgit.cgi/~dmurphy/ti-u-boot/nsekhar-ti-u-boot.git/log/?h=omapl138-mmc-boot

It works well on my LCDK for MMC boot. Can you please check it on DA850
EVM and then I will submit to mailing list.

Thanks,
Sekhar


More information about the U-Boot mailing list