Skip to contentSkip to conversation

XiP Linux uImage

U-Boot-Users Javier Ruere 2 participants 2 messages Jan 8, 2007

lore
Share & tools
lore
#0 lore raw

I have failed to make an XiP uImage (or xipuImage) from a Linux kernel
configured as XiP. The line I tried was:

mkimage -x -O linux -n Apexar -C none -a 10100000 -e 10100040 -d xipImage xipuImage

But it says: 'mkimage: Bad file: "xipImage" has invalid buffer for XIP'

I am using a kernel 2.6.16+patches for an ARM9 (AT91RM9200). It is configured
to run from 0x1010_0040, the 0x40 left for the uImage header. I am using U-Boot 1.1.6; which is at 0x1000_0000 configured with the default configuration for an AT91RM9200-DK. The cross-compiler is a 3.4.6.

Regards,
Javier Ruere

#1 lore raw
Quoted 7 lines · In message <[email protected]> you wrote:

I have failed to make an XiP uImage (or xipuImage) from a Linux kernel
configured as XiP. The line I tried was:

mkimage -x -O linux -n Apexar -C none -a 10100000 -e 10100040 -d xipImage xipuImage

But it says: 'mkimage: Bad file: "xipImage" has invalid buffer for XIP'

A short look in the mkimage sourc should have shown that this means that at least one of the first 64 bytes of your "xipImage" file is not 0xFF - check your kernel build rules / linker script.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Your own mileage may vary.