I am trying to make a PYNQ image for my custom board (board name: RRAR), which uses Zynq MPSoC ZU5CG as the main FPGA.
Linux Machine and tool versions I used are Ubuntu 20.04 , Xilinx Vitis, petalinux version 2022.1
I followed the build steps on the ‘Retargeting to a Different Board’ page in the PYNQ document site.
Here is my brief steps to make sd image,
get PYNQ
Make a custom board folder (‘RRAR’) below ‘boards’
cd boards
mkdir RRAR
After the build process is completed, I can find the ‘RRAR-3.0.1.img’ file is generated below ‘sdbuild/output’ folder and size is about 9.8 GBytes.
I have flashed the image to an SD card, and tried to boot my custom board.
But after the linux booting sequence, it stops to promt without the next PYNQ Linux boot process starting ‘Welcome to PynqLinux, based on Ubuntu 22.04!’.
I made the ZCU102 PYNQ image using the same steps explained above, and the PYNQ Linux works well on the ZCU102 board.
I attached two boot log files, one is the ZCU102 and the other is my custom RRAR board.
My Questions is
Why does not the RRAR image proceed to PYNQ linux bootup process? Do I miss something in building SD image?
In the RRAR Uboot stage, there is no ethernet found messages like, ZYNQ GEM: ff0e0000, mdio bus ff0e0000, phyaddr -1, interface rgmii-id No ethernet found.
but after linux boot up, the ethernet works well.
Why does No Etherenet found message occurs in Uboot?
and is this the reason the PYNQ boot process stop?
Any comments and suggestions will be appreciated , and thank you in advance.
The issue solved.
My board has an eMMC & SD on the ZynqMP, the eMMC appears as /dev/mmcblk0 device and a SD Card reader appearing as /dev/mmcblk1.
It seems the PYNQ looks for a rootfs on mmcblk0 as default.
After some modifications explained in the folIowing link, the issue has been solved.
The PYNQ linux works well.