analogdevicesinc / meta-adi

This is the Analog Devices Inc. Yocto/OpenEmbedded layer
MIT License
37 stars 42 forks source link

Could not find “pl-delete-nodes-.dtsi” when building PYNQ v3.0 image #155

Open Marvelous-coco opened 1 month ago

Marvelous-coco commented 1 month ago

Environment (please complete the following information):

BUILD STEPS:

  1. Build HDL tp generate .xsa and bitstream
  2. Create PetaLinux BSP 3

then export BSP file.

  1. Build PYNQ
    • Clone PYNQ and checkout at branch image_v3.0
    • Prepare board folder, this is the ZedBoard-ADI.spec: ARCH_ZedBoard-ADI := arm BSP_ZedBoard-ADI := ZedBoard-ADI.bsp BITSTREAM_ZedBoard-ADI := system_top.bit STAGE4_PACKAGES_ZedBoard-ADI := ethernet
    • Prepare prebuilt image: 4
nunojsa commented 1 month ago

Hi,

Well, you're not defining the devicetree for your project as specified in the docs:

# Select the devicetree that fits the project being built
echo "KERNEL_DTB=\"${dts_to_use}\"" >> project-spec/meta-user/conf/petalinuxbsp.conf

Also note that I'm not sure what you're doing after step 3 but that's a workflow that was never really tested... If you have the .xsa file and passed it into petalinux-config that should be all you need.