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

TE0807 StarterKit Petalinux reference design

Started by giuliocreva, December 08, 2021, 02:13:13 PM

Previous topic - Next topic

giuliocreva

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


JH

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

giuliocreva

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