PYNQ: PYTHON PRODUCTIVITY

PYNQ 2.5 device tree qspi flash0 node compatible

I have built PYNQ 2.5 for the snickerdoodle board and it boots fine but I see the following message on boot: m25p80 spi0.0: found n25q128a11, expected n25q512a

The device tree has the compatible = “n25q512a” entry in the flash0 node in the
PYNQ/sdbuild/build/SnickerdoodleBlack/petalinux_project/components/plnx_workspace/device-tree/device-tree/system-conf.dtsi file.

This file says it was automatically generated by PetaLinux SDK.

I know I could probably ignore this boot message as its probing for the id but I was
wondering if there is a way to tell SDK that I want to use compatible = “n25q128a11”
or compatible = “jedec,spi-nor” in the system-conf.dtsi file produced by SDK.

In your own board folder, e.g.

You should be able to add petalinux patches into the petalinux_bsp folder. For example you can modify some of the existing device tree segments:https://github.com/Xilinx/PYNQ/tree/master/boards/Pynq-Z1/petalinux_bsp/meta-user/recipes-bsp/device-tree/files

I placed my modified node into my board system-conf.dtsi and it worked.
Thanks, I should of thought to try that.