Getting started with QorIQ
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Jul 6 14:57:08 UTC 2012
On 07/06/2012 04:54 PM, Sebastian Huber wrote:
> Hi,
>
> On 07/06/2012 03:18 PM, Alexander Aganichev wrote:
>> Hi!
>>
>> 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
>
> the load address and entry point (-a and -e options) must correspond to the
> ELF-file.
This is what I used in my Makefile:
app.bin: $(APP)
$(OBJCOPY) -O binary $^ $@
app.bin.gz: app.bin
gzip -9 -f -c $^ > $@
app.img: app.bin.gz
mkimage -A ppc -O rtems -T kernel -a 0x0 -e 0x4000 -n RTEMS -d $^ $@
1>/dev/null
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list