To build a binary image which I can boot from flash, i choose the
setting: "default_rom" and add a new build target with ".bin" suffix.
This results in a binary file (non-elf).
To start this binary Image, I use the U-Boot bootloader:
Everything works fine if I copy the image to RAM, via TFTP (0x100000)
and do "go 0x100000": vxWorks is started.
This is already strange In my opinion, because I created a
"default_rom" image. Why can I start it from RAM, then?
Now, if I burn this image to my flash location (0xFF80000), i cannot
start it. Insted a "go 0xFF800000" hangs the processor. I always
thought, the image should copy itself to ram automatically and the
start itself, but it seems that it doesn't do as it should.
I used the RTOS MQX before and had no problems with the application
image booting from flash via U-Boot.
My U-Boot Version is 1.0.0.1
Regards
Ruben
Another point that might not be valid for your project is the use of a
U-Boot header. I have had to add a header to tell U-Boot where to load
the image from NAND flash into RAM and then execute it, rather than
using a VxWorks bootrom.
Hope that helps
Gavin Nottage
Harmonic Software Systems
www.harmonicss.co.uk