sclee
November 6, 2024, 8:35am
4
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.
– Sangcheol
I’m bringing Pynq for a custom board, almost there, I just have a problem that the kernel doesn’t seem to look for the rootfs in the right place.
This board has an eMMC in sd_0 and the SD card in sd_1.
I included the following boot args in system-user.dtsi:
chosen{
bootargs = "earlycon clk_ignore_unused console=ttyPS0,115200 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait";
};
And I put that file in:
<my board repo> / <my board folder> / petalinux_bsp/meta-user/recipes-bsp/device-tree/…
Hi,
I was able to complete a custom build for an UltraZedEV board.
The board in question has an eMMC on the SOM that appears as /dev/mmcblk0 device and a SD Card reader appearing as /dev/mmcblk1 (with p0 and p1 partitions on the card)
While running the build, the kernel loads and finds the devicetree, but I get a kernel panic error, indicating rootFS cannot be found at /dev/mmcblk0
In order to circumvent the problem I tried to reconfigure the devicetree config (system-user.dtsi) as following…
1 Like