Try to load and run RTEMS Image on Cora-z7-10
Sarmad Ahmad
sarmad101 at hotmail.com
Tue May 3 14:43:38 UTC 2022
Hello
I am trying to boot RTEMS image on a coran-z7-10, I have tried several addresses without success.
I create the image as follows
./mkimage.py -A arm -O linux -T kernel -a 0x10000000 -e 0x10000000 -n RTEMS -d hello.exe test5.img
also tried -O rtems
I have also tried the following addresses
address 0x10000000
address 0x20000000
I calculated the addresses as follows
256*1024*1024 = 268435456 dec => 10000000 hex
my application is 2.2 MB
Zynq> fatload mmc 0:1 0x10000000 testl5.img
reading testl5.img
2161700 bytes read in 195 ms (10.6 MiB/s)
Zynq> bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Zynq> go 0x10000000
## Starting application at 0x10000000 ...
undefined instruction
pc : [<0e7e4ab0>] lr : [<1ff592ac>]
sp : 1f356d64 ip : 00000030 fp : 1ff59264
r10 : 00000002 r9 : 1f2da14c r8 : 1ffb0590
r7 : 1f367328 r6 : 10000000 r5 : 00000002 r4 : 1f36732c
r3 : 10000000 r2 : 00000001 r1 : 1f36732c r0 : 00000000
Flags: nZCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
or
Zynq> fatload mmc 0:1 0x10000000 testl5.img
reading testl5.img
2161700 bytes read in 195 ms (10.6 MiB/s)
Zynq> bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Zynq> go 0x10000000
## Starting application at 0x10000000 ...
nothing happens
Thanks
Sarmad
More information about the users
mailing list