[U-Boot] [PATCH v2 REPOST 3/3] tegra2: Enable CONFIG_SYS_RELATIVE_IMAGES

Stephen Warren swarren at nvidia.com
Wed Oct 19 17:24:12 CEST 2011


Simon Glass wrote at Tuesday, October 18, 2011 7:04 PM:
> On Tue, Oct 18, 2011 at 2:11 PM, Stephen Warren <swarren at nvidia.com> wrote:
> > v2: New patch
> >
> > Signed-off-by: Stephen Warren <swarren at nvidia.com>
> 
> Looks good - how do I make such an image so I can test it?

Simply run the mkimage tool with '-T kernel_rel' instead of '-T kernel',
or for a FIT image, use 'type = "kernel_rel"'.

When testing, I tested the code as in the patch I sent, and with 
image_addr_raw_to_abs() hacked to add in an additional 0x100 offset,
just to make sure the offset showed up everywhere expected; I've been
testing on Tegra20 where the SDRAM base is 0. Luckily, the kernel
images I boot can run at any address, so didn't mind that random offset.

-- 
nvpublic



More information about the U-Boot mailing list