[U-Boot] [PATCH v2 08/10] tegra20: add u-boot.t2 target

Allen Martin amartin at nvidia.com
Thu Jun 7 19:06:29 CEST 2012


On Wed, Jun 06, 2012 at 07:02:45PM -0700, Stephen Warren wrote:
> On 06/06/2012 04:00 PM, Allen Martin wrote:
> > Yes, that's the intention.  Although I do have plans down the road for
> > adding memory initialization to the SPL so I can use it for
> > boot/flashing when in recovery mode and there's no BCT.  In the normal
> > case they have to be used together.
> 
> How would that work; in the regular boot process, SPL would be linked to
> e.g. 00108000 since the boot ROM will put it into SDRAM. However, in
> recovery mode, code will be downloaded to the IRAM, so would have to be
> linked to a different address, and hence the same SPL binary couldn't be
> used. At that point, aren't we looking at:
> 
> * Regular boot SPL, which just sets up a few PLLs and jump-starts the A9s.
> * Regular boot full-blown U-Boot to run on the A9s.
> * Some third build t run from IRAM.
> 
> Or am I missing something?

No, that's spot on, it's just that #3 and #1 above are very similar,
only a few build/config tweaks should separate them.  I've already
hacked up an SPL to boot from IRAM as proof of concept and loaded it
in recovery mode.  But you're right, it has to be a separate build.

-Allen
-- 
nvpublic


More information about the U-Boot mailing list