cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dave74321
Explorer
Explorer
746 Views
Registered: ‎09-29-2016

PetaLinux – When to use a Xilinx BSP?

Jump to solution

I am creating a PetaLinux Project for a custom board that contains a Xilinx Zynq UltraScale+

(Vivado is running on Windows 10, and PetaLinux tools are running on a virtual machine with Ubuntu).

 

For a custom board should the PetaLinux project always be created from scratch?

petalinux-create --type project --template zynqMP --name <project name>

 

Or, if possible, are there advantages to using a Xilinx BSP from one of the Xilinx development boards (that is a nearest match to the custom board)?

petalinux-create -t project -s <path to bsp>.bsp

 

If using a Xilinx BSP:  As well as moving the Vivado exported HDF into the PetaLinux project folder and running petalinux-config, what else would need to be adjusted so that the project is able to target the custom board?

petalinux-config --get-hw-description

 

Thank you

0 Kudos
1 Solution

Accepted Solutions
stephenm
Xilinx Employee
Xilinx Employee
715 Views
Registered: ‎09-12-2007

The BSP would be for the development board. If you use this BSP on your cusotm board then it will add all the external device nodes on the i2c bus. It will also add the symbol info to the fsbl to do some board level config, both would not be applicable to you

You are best to just use the

  • petalinux-create -t project --template zynqMP -n linux_proj
  • cd linux_proj
  • petalinux-config --get-hw-description=<path to hdf>

There is no real advantages over using the BSP for custom boards.

 

 

 

View solution in original post

1 Reply
stephenm
Xilinx Employee
Xilinx Employee
716 Views
Registered: ‎09-12-2007

The BSP would be for the development board. If you use this BSP on your cusotm board then it will add all the external device nodes on the i2c bus. It will also add the symbol info to the fsbl to do some board level config, both would not be applicable to you

You are best to just use the

  • petalinux-create -t project --template zynqMP -n linux_proj
  • cd linux_proj
  • petalinux-config --get-hw-description=<path to hdf>

There is no real advantages over using the BSP for custom boards.

 

 

 

View solution in original post