UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
379 Views
Registered: ‎01-02-2019

How to tftpboot a freertos ELF (was made by Xilinx SDK) on ZCU106?

Hi guys,

I am quite a  beginner to embedded development with ZynqMP. I have a ZCU106 and I created a Freertos project base on LWIP echo sample.  The project was tested via QSPI boot with FSBL+PMU+Project ELF and it works well. However, I'd like to boot my FreeRTOS project through U-Boot.

I tried to create U-boot ELF file by PetaLinux. (Followed document UG1209 step-by-step). I tested U-boot ELF with the PetaLinux image.ub (FSBL+PMU+bl31.elf+u-boot.elf+image.ub) and it was booted from QSPI successfully. Then I tried to replace image.ub with the FreeRTOS ELF and it does not work. 

I also tried to load FreeRTOS ELF via tftpboot after U-Boot fails to boot to FreeRTOS application. But it just reset after I enter the commands. Here's what I've got:

 

device 0 offset 0x1e40000, size 0x3c00000

SF: 62914560 bytes @ 0x1e40000 Read: OK

Wrong Image Format for bootm command

ERROR: can't get kernel image!

ZynqMP> tftpboot 0x0000 sample.elf

Using ethernet@ff0e0000 device

TFTP from server 192.168.1.220; our IP address is 192.168.1.52

Filename 'sample.elf;

Load address: 0x0

Loading: ##################################

##################################

##################################

##########

2.4 MiB/s

done

Bytes transferred = 1575392

ZynqMP>  bootelf 0

##Starting application at 0x00000000 ...

"Synchronous Abort" handler, esr 0x02000000

ELR:  ffffffffa2bb1000

LR: 10085504

Resetting CPU ....

 

Any idea how to boot FreeRTOS by U-boot? At least through tftpboot?

 

0 Kudos
1 Reply
Visitor dllizhiyang
Visitor
59 Views
Registered: ‎08-06-2019

Re: How to tftpboot a freertos ELF (was made by Xilinx SDK) on ZCU106?

0 Kudos