UCATLAS / meta-l1calo

OpenEmbedded Layer for L1Calo Projects
http://layers.openembedded.org/layerindex/branch/master/layer/meta-l1calo/
8 stars 3 forks source link

Is it possible to add meta-l1calo to PetaLinux 2020.2? #26

Closed rodrirq closed 2 years ago

rodrirq commented 2 years ago

Hello, I want to add this layer to my PetaLinux project because I need to get python3-construct. I tried to clone the layer and add it to my petalinux-config, but I am getting errors from meta-xilinx and I don't know why.

rodrirq commented 2 years ago

The error is about the device-tree.bbapend. The line SRC_URI_append = " file://${SYSTEM_USER_DTSI} is the reason of the error. But I don't know if this {SYSTEM_USER_DTSI} has been defined somewhere or if I have to change it for the correct dtsi, but I don't know which dtsi I should use.

kratsg commented 2 years ago

./cc @easmith5

easmith5 commented 2 years ago

Hi, the dtsi is defined in the bbappend right above the line you mention. You'll need a device tree file appropriate for your hardware. The lines I linked above are for my specific machines that I've defined in the layer.

I'm not sure how else to help since I don't know what error you're getting or what your setup is.

I build with yocto but I'm inside the meta-xilinx v2020.2 setup, so I'd expect it to be compatible with petalinux, but I can't guarantee it.

rodrirq commented 2 years ago

Hello @easmith5 , I managed to install it by removing the lines that were giving the error, because python3-construct had already built, and I didn't need anything else from the layer, so I got what we wanted. Thanks for your help.