Getting started with QorIQ

Alexander Aganichev aaganichev at
Fri Jul 6 13:18:20 UTC 2012


Can anyone please advice how to run built executable on P1020RDB?

Probably I did something wrong, but let me show what I did, so
probably someone be able to correct me:

powerpc-rtems-objcopy -O binary hello.exe hello.bin
gzip -9 hello.bin
mkimage -A ppc -O rtems -T kernel -C gzip -a 0 -e 0 -n "RTEMS Hello"
-d hello.bin.gz hello.img

Not sure if I had to use hello.ralf here or put different load and
execute addresses.

Then I downloaded it to u-boot as follows:

=> setenv serverip
=> setenv ipaddr
=> setenv ethact eTSEC2
=> setenv bootm_low 0x10000000
=> setenv bootm_size 0x8000000
=> tftp 11000000 hello
Speed: 10, half duplex
Using eTSEC2 device
TFTP from server; our IP address is
Filename 'hello'.
Load address: 0x11000000
Loading: #####
Bytes transferred = 66242 (102c2 hex)
=> bootm start 11000000
## Booting kernel from Legacy Image at 11000000 ...
   Image Name:   RTEMS Hello
   Created:      2012-07-06   7:33:49 UTC
   Image Type:   PowerPC RTEMS Kernel Image (gzip compressed)
   Data Size:    66178 Bytes = 64.6 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
=> bootm loados
   Uncompressing Kernel Image ...

And then it died.

Thanks for any help.

WBR, Alexander

More information about the users mailing list