analogdevicesinc / meta-adi

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

Kernel build failed for daq2_zcu102 on petalinux 2021.1 and meta-adi staging/2021_1-support. #104

Closed gudokim closed 2 years ago

gudokim commented 2 years ago

Environment (please complete the following information):

Describe the bug Kernel build failed for daq2_zcu102 on petalinux 2021.1 and meta-adi staging/2021_1-support.

I got the following errors.

Kernel build procedure

petalinux-create -t project --template zynqMP --name daq2_zcu102

petalinux-config --get-hw-description=/home/aa/win-hdl/hdl/projects/daq2/zcu102/daq2_zcu102.sdk
# meta-adi layer0
/home/aa/petalinux-project/meta-adi/meta-adi-core
# meta-adi layer1
/home/aa/petalinux-project/meta-adi/meta-adi-xilinx

echo "KERNEL_DTB=\"zynqmp-zcu102-rev10-fmcdaq2\"" >> project-spec/meta-user/conf/petalinuxbsp.conf

petalinux-build

Screenshots image image

Additional context Add any other context about the problem here.

nunojsa commented 2 years ago

Hi,

Thanks for reporting!

This looks like a valid error... I'm still missing the CI setup for all the supported projects in 2021 so this is kind of expected for now. Most likely there's a mismatch between the pl.dtsi and the pl-delete-nodes. Anyways, since you're reporting this, I will run this project in the next days and see if the fix is as easy as I think it is.

gudokim commented 2 years ago

Hi,

Thanks for replying. Did you run and check it?

oQuQu commented 2 years ago

ditto

nunojsa commented 2 years ago

Yes,

And I can reproduce the issue... It should not be hard to fix. I will push a fix to the staging branch today if nothing unexpected pops up.

nunojsa commented 2 years ago

This should be fixed already... The staging branch is ready to merge with master, it will happen soon.

gudokim commented 2 years ago

Wow, I've just checked that built project successfully. Thanks.