Simon Glass wrote at Thursday, October 20, 2011 2:27 PM: > Hi Stephen, > > On Wed, Oct 19, 2011 at 8:24 AM, Stephen Warren <swar...@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 <swar...@nvidia.com> wrote: > >> > v2: New patch > >> > > >> > Signed-off-by: Stephen Warren <swar...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot