[U-Boot] [PATCH v2 REPOST 3/3] tegra2: Enable CONFIG_SYS_RELATIVE_IMAGES
Stephen Warren
swarren at nvidia.com
Thu Oct 20 22:47:56 CEST 2011
Simon Glass wrote at Thursday, October 20, 2011 2:27 PM:
> Hi Stephen,
>
> On Wed, Oct 19, 2011 at 8:24 AM, Stephen Warren <swarren at nvidia.com> wrote:
> > 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"'.
>
> OK thanks. My mkimage doesn't support this for some reason. The
> problem I seem to have is that CONFIG_SYS_RELATIVE_IMAGES is not
> defined for host C compiler builds. Is that right? How do you get the
> code you added in image.c to compile with HOSTCC?
Oh dear. I tested mkimage before I added all the ifdefs, and then re-used
those images when I re-tested the target U-Boot after adding all the ifdefs
in. I guess I need to find some way of turning on the config option for
host builds.
--
nvpublic
More information about the U-Boot
mailing list