Booting images with uboot get stuck after execution of rtems

Patrick Gauvin pggauvin at gmail.com
Wed Dec 16 23:42:08 UTC 2015


Davide,

I prepare the boot image like this, where "foo.exe" is the RTEMS ELF file:

    arm-rtems4.11-objcopy -O binary foo.exe foo.bin
    mkimage -A arm -O rtems -T kernel -C none -a $LOADADDR \
        -e $ENTRYADDR -n foo -d foo.bin foo.img

You can find $LOADADDR and $ENTRYADDR using readelf, for me they are
0x104000 and 0x104040. I'm using the ZedBoard BSP.

Then in U-Boot, assuming you have "foo.img" loaded at 0x300000:

    icache off && dcache off && bootm 0x300000

I apologize if this is a little off-topic, but maybe it will be of use to Jan.

-Patrick


More information about the users mailing list