I am trying to build a PYNQ image for my custom board using version 3.0.1. I followed the tutorial mentioned here: Pynq 2.6 custom board image build method that works. But while running the make BOARDS=test_board command, I am getting the following error:
~/…/petalinux_project/project-spec/configs/…/…/components/plnx_workspace/device-tree/device-tree/system-top.dts:13.9-16.4: ERROR (path_references): /chosen: Reference to non-existent node or label “eeprom”.
My system-user.dtsi is as follows:
/include/ “system-conf.dtsi”
/ {
chosen {
xlnx,eeprom = &eeprom;
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
linux,cma {
compatible = "shared-dma-pool";
reusable;
size=<0x0 0x20000000>;
alignment = <0x0 0x2000>;
linux,cma-default;
};
};
};
&i2c1 {
i2c-mux@74 {
i2c@2 {
irps5401_44: irps5401@44 {
#clock-cells = <0>;
compatible = “infineon,irps5401”;
reg = <0x44>;
};
};
i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
ina226: ina226@40 {
compatible = "ti,ina226";
reg = <0x40>;
shunt-resistor = <5000>;
};
};
};
};
bsp.cfg is:
CONFIG_I2C_EEPROM=y
CONFIG_SYS_I2C_EEPROM_ADDR=0x54
CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW=0x0
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0x20
CONFIG_SYS_TEXT_BASE=0x10080000
New 2022.1 - set eth3 mac so it can be overridden
CONFIG_SUBSYSTEM_ETHERNET_PSU_ETHERNET_3_SELECT=y
CONFIG_SUBSYSTEM_ETHERNET_PSU_ETHERNET_3_MAC=“ff:ff:ff:ff:ff:ff”
CONFIG_SUBSYSTEM_ETHERNET_PSU_ETHERNET_3_USE_DHCP=y
What is the problem here? I saw that some patches were introduced to solve this problem in the earlier versions, but I cant figure out the problem here.