cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mstamler3037
Contributor
Contributor
336 Views
Registered: ‎08-30-2011

Using Petallinux for a new FPGA

I have successfully rebuilt the bsp for the zcu106 HDMI RX TRD using the Petalinux procedures. However, our hardware uses a variant of the FPGA, xczu4ev-sfvc784-1-e. 

I ported the TRD HDMI RX project to this device and produced a hdf file. I then used this with a fresh copy of the TRD BSP to configure the petalinux and then attempted to build it. The build failed with multiple esoteric messages.

It is clear that there is a configuration step that I missed to adapt the ZCU106 BSP to my new device. I saw some reference to this in the Petalinux reference guide referred to as 'variants'.

Can someone help me to understand what the exact procedures are for creating a BSP for my FPGA so that the Petalinux-build command will complete without error.

10x in advance.

 

0 Kudos
1 Reply
stephenm
Moderator
Moderator
316 Views
Registered: ‎09-12-2007

You can re-use the BSP for the zcu106 to build the Petalinux project and set the config, but config for your HDF. For example

  • petalinux-create -t project -s <path to bsp>.bsp
  • cd plnx_proj
  • petalinux-config --get-hw-description=<path to hdf>
    • DTG Settings -> (template) MACHINE_NAME
  • remove any zcu106 board specific nodes for the devicetree (project-spec\meta-user\recipes-bsp\device-tree\files)
  • petalinux-build -x mrproper
  • petalinux-build

Can you try this and let me know how you get on here, or if you see any errors.