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

Creating Boot.bin

Started by jlanza, October 02, 2020, 11:31:14 PM

Previous topic - Next topic

jlanza

I am trouble building a boot.bin that boots on TE0720 module. I have Petalinux 2019.2 and Vitis 2019.2 installed and I have used your XSA file to build the Petalinux image. Likewise, I have used Vitis to build the ftbl.elf file as suggested in your instructions. The boot file was created using the Create Boot Image utility in Vitis. In the boot file is: fsbl.elf, *.bit, and u-boot.elf. I copy the boot.bin file and image on the SD card but the TE0720 does not boot.

Do you have any suggestions?

JH

Hi,
did you use the correct assembly version?
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-Hardware

Which carrier did yo use?
Did you set the correct boot mode?
Did you test our prebuilt binaries?

br
John

jlanza

Thanks for your response!

I have built the fsbl in Vitis with the your XSA and use the prebuilt uboot.elf and image.ub to create a boot.bin that boots.

Next, I build the u-boot.elf and image.ub in Petalinux 2019.2 with your XSA file. This builds with no errors. I update the boot.bin file with the new u-boot.elf and  copy the new image.ub file to the SD card. This time it does not boot.  I have noticed that the image.ub file that I build in Petalinux is much smaller than yours. Mine is 10.9 MB and yours is 16.6 MB. I have followed the directions in the Trenz guide but it appears that I am getting a very different size image.ub file. There is no output from the serial terminal.

Do you have any suggestions.

JH

Hi,
FSBL should be boot as minimum, when you use the same FSBL.

Did you use our FSBL template in Vitis as local repository? In this case FSBL banner is activated and our FSBL is used to read MAC from eeprom (together with our changes on uboot).
FSBL Template location and usage:
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-DesignSources
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-Application
https://wiki.trenz-electronic.de/display/PD/Vitis#Vitis-Includelocalrepositories


On your linux, did you use our template or did your create the petalinux project from scratch?
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-DesignSources
https://wiki.trenz-electronic.de/display/PD/PetaLinux+KICKstart#PetaLinuxKICKstart-CreatingaProjectfromVivadoProject
In case you use our template, copy XSA into the template basefolder and load it with "petalinux-config --get-hw-description" command

In case you create from scratch, add all our manually changes:
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-SoftwareDesign-PetaLinux

On your petalinux installation, you has installed all required packages? https://wiki.trenz-electronic.de/display/PD/PetaLinux+KICKstart#PetaLinuxKICKstart-PetaLinuxInstallation

br
John

jlanza

Your Linux templates approach work great.

Thanks for your help!