Author Topic: TE0807 StarterKit Petalinux reference design  (Read 675 times)

giuliocreva

  • Active Member
  • *
  • Posts: 4
TE0807 StarterKit Petalinux reference design
« 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


JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2001
Re: TE0807 StarterKit Petalinux reference design
« Reply #1 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

giuliocreva

  • Active Member
  • *
  • Posts: 4
Re: TE0807 StarterKit Petalinux reference design
« Reply #2 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