News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Can't Boot Hello World on TE0720

Started by jlanza, April 23, 2020, 03:51:55 AM

Previous topic - Next topic

jlanza

I am using the TE0720 and Vitis to build a standalone platform and a hello world template project. I build the platform using the test_board_1cf_1gb_io_report.xdc platform file. I added a simple hello application. The debugger is able to connect the module via the JTAG. I am able to insert a breakpoint in the boot.sh file and it appears that the execution never leaves the code there the label "loop3:". When I do build the the platform the check box "Generate boot components" is checked. I copy the to files named "Platform.bif" and fsb.elf" in the boot directory to the SD card and insert the SD card in the board. I have a breakpoint on the init_platform(); in main but the breakpoint is never hit.

Do you have any suggestions why I can't get execution to enter the helloworld.c code?

JH

Hi,
which boot.sh did you mean?

You used " test_board_1cf_1gb_io_report.xdc platform file"??? this is a report file only. You must use  "test_board_1cf_1gb.xsa" to create a platform project.

I've start some basic documentation for vitis usage:
https://wiki.trenz-electronic.de/display/PD/Vitis

Create boot.bin with valid fsbl, bitstream and your hello world application. put it on sd (format fat32), set boot mode to SD, connect uart  and reset board. Default Hello world appears only one time. We include a Hello TE0720 app in our reference design, which has endless loop. This is sometimes easer, because uart can also connected after reset.
This hello TE0720 app based on hello world app and can be load as local repository into vitis.

Reference design includes also prebuilt Boot.bin to test directly. In the folder is also the corresponding bif files (you can compare this bif with your one).
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board
Files are included in the prebuilt folder (see fil_location.txt) or export files for your assembly variant (run _create_win_setup.cmd and follow instruction), see also
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-Getprebuiltbootbinaries

br
John

jlanza

I did mean test_board_1cf_1gb.xsa NOT test_board_1cf_1gb_io_report.xdc. I tried rebuilding the project again with one of your templates and included the Generic FAT File system and it worked as expected.  I am not sure if the Generic FAT File system was need?

JH

Hi,
there are also other reasons possible but boot ROM of the Zynq supports only FAT32 for boot.bin partition.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842385/How+to+format+SD+card+for+SD+boot


br
John