Hi all,
i have been trying to build petalinux for my custom vivado design. The design contains customs modules that i packaged as IPs and block designs.
An initial run with avnets provided script flow for e.g. "base" were easy to implement. I have followed the steps described in the READ.ME after cloning
# meta-avnet
Yocto layer that can be added on top of a Petalinux Project to add:
- Avnet Machine Configurations
- Avnet Tools and Programs
- Avnet Images, to include extra packages for Avnet boards' rootfs.
To use it:
- clone this repository in the project-spec/ folder inside your Petalinux project
- in Petalinux config, 'Yocto Settings'/'User Layers', add a new layer with '${PROOT}/project-spec/meta-avnet'
- in Petalinux config, change the YOCTO_MACHINE_NAME to use an Avnet Machine ('u96v2-sbc' for example)
- then you can use 'petalinux-build -c avnet-image-minimal' to build your BSP
Petalinux image builds successfully but the boot gets stuck during the kernel stage.
During the build there were error reports about the base design's axi_iic ip in the PL.
components/plnx_workspace/device-tree/device-tree/system-bsp.dtsi:68.1-11 Label or path axi_iic_0 not found
FATAL ERROR: Syntax error parsing input tree
I resolved this by commenting it out in the system-bsp.dtsi under meta-avnet.
/*
&axi_iic_0 {
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <100000>;
stts22htr: stts22htr@3f {
compatible = "st,stts22h";
reg = <0x3f>;
};
};
*/
Petalinux log output is posted below. Based on information i have garthered on the internet, this is due to some inconsistencies device tree.
I did not add any of my PL IPs in system-bsp.dtsi. I realised that they are already generated in pl.dtsi .
Thank you so much in advance for your support.