I have .bin files to load PL into the MicroZed-7010, and the MicroZed-7020. I would like to determine from Pulsar Linux which type of board I'm running on, so I can load the correct .bin file. uname doesn't seem to provide any help.
I have .bin files to load PL into the MicroZed-7010, and the MicroZed-7020. I would like to determine from Pulsar Linux which type of board I'm running on, so I can load the correct .bin file. uname doesn't seem to provide any help.
Hi Mooney,
I was able to find a Zynq register 'PSS_IDCODE' that has the information to determine where it is a Zynq 7010 or 7020.
http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf (page 1638)
I then verified that I could in deed read the register and determine the zynq device type from XMD in the SDK.
The issue you may find with this is finding a way to read this register from Pulsar Linux. Unless this is somthing that is already exposed via /proc/ I am unaware of a way to get this information into Pulsar Linux except for writing a full up driver to read this register value.
You could possible read this register value from U-Boot and then write it into QSPI Flash as a possible work around.
--Josh