Author Topic: Understanding PetaLinux projects  (Read 308 times)

rtx

  • Active Member
  • *
  • Posts: 9
Understanding PetaLinux projects
« on: December 07, 2021, 01:59:55 PM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1908
Re: Understanding PetaLinux projects
« Reply #1 on: December 08, 2021, 11:16:25 AM »
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