[U-Boot] Info on NAND-SPL
Albert ARIBAUD
albert.aribaud at free.fr
Mon Feb 28 12:43:20 CET 2011
Hi Wolfgang,
Le 27/02/2011 19:11, Wolfgang Denk a écrit :
> nand_spl loads the U-Boot code into RAM, and then relocates it (which
> includes copying it to the final location). There is no relocation
> done twice, only the copying, and this cannot be avoided as the
> bootstrap loader cannot determine the final position of the image
> yet. If you are sure that you have a static system with a fixed
> memory map you can configure nand_spl such that it copies U-Boot to
> the final location, one copy operation can be saved (you still need
> the relocation, though).
Note that in the case of ARM -- don't know about other archs -- if the
final U-Boot location is known in advance, then one could try linking
U-boot to that final location, in which case the relocation would not be
needed either and should normally be skipped by the code currently in
start.S.
Amicalement,
--
Albert.
More information about the U-Boot
mailing list