Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: giuliocreva on December 08, 2021, 02:13:13 PM

Title: TE0807 StarterKit Petalinux reference design
Post by: giuliocreva on December 08, 2021, 02:13:13 PM
Hi All

I am trying to generate the StarterKit Petalinux reference design for TE0807.
I am following the instructions on https://wiki.trenz-electronic.de/display/PD/TE0807+StarterKit and on https://wiki.trenz-electronic.de/display/PD/PetaLinux+KICKstart.
I am using Vivado design suite 2020.2 and petalinux 2020.2 on Ubuntu 20.04.

On Petalinux this is what I am currently doing:
- Generate a project from ZynqMP template
- Copy the reference design XSA file into the Petalinux project
- Run petalinux-config --get-hw-description
- Copy the Petalinux template files in os/petalinux from the reference design into the Petalinux project
- Run petalinux-build

The build fails consistently at the generation of the device tree, the log with the error is attached to this post.

I noticed that the device tree source files are only partially generated in components/plnx_workspace/device-tree: zynqmp*.dtsi files are generated, but the system-top.dts is not.
However I cannot figure out exactly where the process is failing.

I can generate the device tree files manually using Vitis and the process works as it should.

Is there anyone that has/had a similar problem and can help?

Thanks!

Cheers,
Giulio

Title: Re: TE0807 StarterKit Petalinux reference design
Post by: JH on December 10, 2021, 06:52:29 AM
Hi,
your procedure is wrong.
1. copy our xsa into  os/petalinux  template folder
2. change to path ot os/petalinux
3.run petalinux-config --get-hw-description and close menue without changes
4. run petalinuc-build

br
John
Title: Re: TE0807 StarterKit Petalinux reference design
Post by: giuliocreva on December 10, 2021, 09:05:06 AM
Thank you so much for the quick reply John.

I had the steps in the wrong order indeed.
The build is successful now.

Cheers,
Giulio