[U-Boot-Users] XiP Linux uImage

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

In message 200701081540.52988.javierruere@apexar.com 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
participants (2)
-
Javier Ruere
-
Wolfgang Denk