Cannot make Pynq boot from SD1 (kernel looks in mmcblk0 for rootfs)

Update:
I found that the Makefile contains this line:

echo 'CONFIG_SUBSYSTEM_SDROOT_DEV="/dev/mmcblk0p2"' >> $$(PL_CONFIG_$1)

That I changed to mmcblk1p2 but, to my surprise, still produced an image looking for the rootfs in mmcblk0p2.

Then I found this:

Indicating that the bootargs are taken from yet another source (not the original petalinux project, not the makefile, but some fixed file!). Pynq needs an important tidy up or it will die in your hands and drag some of you to the dark depths of the software messes.

1 Like