[U-Boot] SPL boot modes
Simon Schwarz
simonschwarzcor at googlemail.com
Fri Sep 16 14:55:43 CEST 2011
On 09/16/2011 02:31 PM, Wolfgang Denk wrote:
> Dear Joel A Fernandes,
>
> In message<CAD=GYpaAUVQo3S_8FOUfDLNAyUYS5cFs-fkL5GUv3oNnG_zerA at mail.gmail.com> you wrote:
>>
>> Just one question about one of your patches I happen to notice [1],
>> why is there a SPL build for each different boot mode such as for
>> NAND, MMC etc?. Wouldn't it be nicer to have a single SPL loader that
>> tried different boot modes one after the other, something like what
>> x-load already does? Are there are any challenges with this approach?
>
> Yes, this would be nice. Question: how do we make this fit in - say -
> the 2 KiB code size that some processors load? Including all the
> drivers for NAND, MMC etc.?
>
> Best regards,
>
> Wolfgang Denk
>
That's the reason for the librarys in SPL. One can build a SPL that is
able to boot from more than one source (although it might not work yet -
the tools are there).
If size matters: Just include the one needed
Regards
Simon
More information about the U-Boot
mailing list