[U-Boot] [PATCH] arm: add IPL support

Tom Rini trini at ti.com
Thu Dec 5 22:37:15 CET 2013


On Wed, Dec 04, 2013 at 11:50:48AM +0800, Kuo-Jung Su wrote:

> Initial Program Loader (IPL) usually runs with .text and .rodata
> in ROM, while .data and .bss reside in RAM.
> 
> This patch uses the AT keyword to specify load address,
> and a small code snippet in crt0.S to restore .data section
> at runtime.
> 
> Example usage:
> Assume the target device has a 4KB ROM at 0x00000000 and a
> 4KB SRAM at 0xA0000000, the IPL/SPL config could be:
> 
> #define CONFIG_SPL_MAX_SIZE  0x1000 /* text + data, no bss */
> #define CONFIG_SPL_TEXT_BASE 0x00000000
> #define CONFIG_SPL_DATA_BASE 0xA0000000
> #define CONFIG_SPL_STACK     0xA0001000
> 
> Signed-off-by: Kuo-Jung Su <dantesu at gmail.com>
> Cc: Albert Aribaud <albert.u.boot at aribaud.net>

Can you provide an example user of this functionality?  Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131205/20ea741e/attachment.pgp>


More information about the U-Boot mailing list