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

Understanding PetaLinux projects

Started by rtx, December 07, 2021, 01:59:55 PM

Previous topic - Next topic

rtx

Hi,

How do you create TE templates for PetaLinux projects? I'm trying to understand what TE template is, and how can I create it manually from scratch. I created PetaLinux project from scratch (zynq template) and started to compare files in 'project-spec' folder with the same files in the TE template. For example, in the TE template file
/project-spec/configs/u-boot.xlnx/platform-auto.h there are words:

* This file is auto-generated by PetaLinux SDK
* DO NOT MODIFY this file, the modification will not persist

Do you use Vitis to create TE templates? Can I follow the same steps? What is the best practice to create templates like yours?

JH

Hi,
TE template creation is described here:
https://wiki.trenz-electronic.de/display/PD/PetaLinux+TE-Template

platform-auto.h is a generated part from petalinux and should be not modified.

We use Vitis to generate FSBL and package Boot.bin.

br
John