cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
538 Views
Registered: ‎03-14-2018

ZynqMP PL loading from Linux.

Hi,

I'm trying to have the PL loaded in the FPGA from Linux.

I'm using Petalinux 2018.2.

When using Petalinux the device-tree is generated using the HDF file so everything from the FPGA are included.

I wasn't able to find how to generate the Linux image with a device-tree that would exclude the PL info.  When I don't inlcude the "pl.bit" file Linux hang because of the FPGA not being programmed.

Some documentation explain how to create the device-tree overlay but not how to remove it or not include it in the device-tree created by Petalinux.

Can't find any info on this so far.

Thanks

Eric

 

 

0 Kudos
1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
467 Views
Registered: ‎04-15-2011

Hi, Eric
Petalinux can only generates device-tree based on HDF file. If there are IPs in PL, it will generate pl.dtsi that contains device tree nodes for PL IPs.
If you want to generate device tree that excludes the PL info. You have to modify/overwrite device tree manually. You can use /delete-node/ in system-user.dtsi to delete unwanted device tree nodes.
https://developer.toradex.com/device-tree-customization
Hope this helps~
-Longley
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos