[U-Boot] Building uImage with multiple load addresses
Fabio Estevam
festevam at gmail.com
Wed Dec 21 23:20:06 CET 2011
On Wed, Dec 21, 2011 at 7:24 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi,
>
> When trying to build imx_v4_v5_defconfig, or mx3_defconfig, or
> mx5_defconfig on a 3.2-rc6 kernel I get:
>
> Kernel: arch/arm/boot/Image is ready
> Kernel: arch/arm/boot/zImage is ready
> multiple load addresses: 0x80008000 0x80008000 0x10008000
> This is incompatible with uImages
> Specify LOADADDR on the commandline to build an uImage
> make[1]: *** [arch/arm/boot/uImage] Error 1
> make: *** [uImage] Error 2
>
>
> I started a thread at the ARM kernel list:
> http://marc.info/?l=linux-arm-kernel&m=132343317014712&w=2
>
> ,but I think the U-boot list is the more appropriate one to discuss
> this kind of issue.
>
> So what is the correct way to build a uImage for i.MX now?
>
> Do I need to do any changes to mkimage?
Ok, this is the method I can think of:
Let's say I want build a kernel for mx53:
make
(This will produce a zImage)
make uImage LOADADDR=0x70008000
The LOADADDR can be retrieved from:
arch/arm/mach-imx/Makefile.boot
or
arch/arm/mach-mx5/Makefile.boot
Is this the recommended approach or is there any other suggestion to
make this easier?
Regards,
Fabio Estevam
More information about the U-Boot
mailing list