Baremetal && Qemu vexpress && U-boot
Hi,
I have a problem with a baremetal program I would like U-boot to launch inside a QEMU. Versions:
Qemu: 2.2.1. Machine vexpress-a9
U-boot: fetched "latest" from ftp (dated as 11/07/2016)
U-boot machine: vexpress_ca9x4_config
I followed the instructions in this link:
https://balau82.wordpress.com/2010/03/10/u-boot-for-arm-on-qemu/
I end up with:
"Wrong Image Format for bootm command
ERROR: can?t get kernel image!"
When executing iminfo, I get:
"## Checking Image at 80008000 ...
Unknown image format!"
Even modifying the test.ld with a start address of 80008000 instead of 10000, and the same for mkimage won't give any result. I provide a raw binary (just like the tuto) for my app with no headers.
I think the "cat u-boot test.uimg > flash.bin" has become more than useless now.
After u-boot compilation, I can't use the binary version: no prompt will show and a crash is waiting to happen. One has to use the u-boot image. How can I plug my baremetal application in this case?
I tried hard with "md" to find my code (in U-boot) but the code is so scattered that I lost myself in the process.
Any help would be very appreciated
Thanks
--?
Mark