nanopi-neo-plu2: mmcblk device numbering
Posted: Thu Dec 21, 2017 11:56 am
Hi,
I've built my own kernel and u-boot as described here: http://wiki.friendlyarm.com/wiki/index. ... _and_Linux
When I come to boot the SD card, u-boot passes a "root=mmcblk0" command line parameter to the kernel, but when the kernel boots it enumerates the first mmc device as "mmcblk1" (and there's also an mmcblk2, the built-in eMMC). Since this doesn't match the rootfs passed in to the kernel, VFS panics.
How do I make the kernel's device enumeration start at mmcblk0? I've tried changing the node names in the .dts file and building a new sun50i-h5-nanopi-neo-plus2.dbt to no avail.
I've built my own kernel and u-boot as described here: http://wiki.friendlyarm.com/wiki/index. ... _and_Linux
When I come to boot the SD card, u-boot passes a "root=mmcblk0" command line parameter to the kernel, but when the kernel boots it enumerates the first mmc device as "mmcblk1" (and there's also an mmcblk2, the built-in eMMC). Since this doesn't match the rootfs passed in to the kernel, VFS panics.
How do I make the kernel's device enumeration start at mmcblk0? I've tried changing the node names in the .dts file and building a new sun50i-h5-nanopi-neo-plus2.dbt to no avail.