[U-Boot] [PATCH v8 00/15] split tegra20 arm7 code into separate SPL

Allen Martin amartin at nvidia.com
Wed Aug 15 22:58:47 CEST 2012


On Wed, Aug 15, 2012 at 01:44:17PM -0700, Allen Martin wrote:
> This patch series fixes a long standing problem with the tegra20
> u-boot build.  Tegra20 contains an ARM7TDMI boot processor and a
> Cortex A9 main processor.  Prior to this patch series this was
> accomplished by #ifdefing out any armv7 code from the early boot
> sequence and creating a single binary that runs on both both the
> ARM7TDMI and A9.  This was very fragile as changes to compiler options
> or any additions or rearranging of the early boot code could add
> additional armv7 specific code causing it to fail on the ARM7TDMI.
> 
> This patch series pulls all the armv4t code out into a separate SPL
> that does nothing more than initialize the A9 and transfer control to
> it.  The resultint SPL and armv7 u-boot are concatenated together into
> a single image.
> 
> This patch series is also available from:
> git://github.com/arm000/u-boot.git
> branch: tegra-spl-v8
> 
> Changes:
> v8:
>  - rebased to u-boot-tegra/master
>  - added changes to work with "arm: Provide lowlevel_init C function
>  wrapper for v7"
>  - Moved JTAG init in SPL to earlier
>  - fixed TEXT_BASE in SPL to use SPL TEXT_BASE not main u-boot
>  TEXT_BASE
>  - pad exception handlers in arm720t to 64 bytes with 0x12345678 to
>  match armv7

Two additional changes I neglected to mention:
 - added another tegra2->tegra20 rename for some new code that was
 added to arch/arm/cpu/armv7/start.S
 - rolled in the mkconfig fix that was breaking ARM platforms that
 don't define SoC

-Allen
-- 
nvpublic


More information about the U-Boot mailing list