xilinx_zync_zedboard u-boot tftp load and run issue

Heinz Junkes junkes at fhi-berlin.mpg.de
Thu Jun 25 15:25:37 UTC 2020


i just can't get it to load and start a rtems-exe via tftp in u-boot.
I have tried many variations now. Without success. This one should work, right?

pwd: build/b-xilinx_zynq_zedboard/arm-rtems5/c/xilinx_zynq_zedboard/testsuites/samples
ls -l ticker*

-rwxr-xr-x  1 junkes  staff  2822792 Jun 23 09:24 ticker.exe

total 264
-rw-r--r--  1 junkes  staff  82416 Jun 23 09:24 ticker-init.o
-rw-r--r--  1 junkes  staff  48744 Jun 23 09:24 ticker-tasks.o

To create an image file for u-boot I make :

[junkes at h epics]$ more rtems-zynq-image




${OBJCOPY} -R -S --strip-debug -O binary "$EXE_NAME" "$EXE_NAME.bin" || exit 1
cat "$EXE_NAME.bin" | gzip -9 >"$EXE_NAME.gz"
mkimage \
  -A arm -O rtems -T kernel -a $START_ADDR -e $ENTRY_ADDR -n "EPICS" \
  -C gzip -d "$EXE_NAME.gz" "$EXE_NAME.img”

Now when I want to start the ticker.img file on the Zync u-boot:

Zynq> set serverip
Zynq> tftpboot ticker.img
Using ethernet at e000b000 device
TFTP from server; our IP address is
Filename 'ticker.img'.
Load address: 0x10000000
Loading: ###
         523.4 KiB/s
Bytes transferred = 34847 (881f hex)
Zynq> bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Zynq> go 0x10000000
## Starting application at 0x10000000 ...
...nothing happens…

Danke, Heinz

More information about the users mailing list