merged Bruce
On Fri, Jul 10, 2020 at 7:55 AM Jun Miao <[email protected]> wrote: > > Fix a VFS: unable to mount roofs because of SD card is read only. > The error value(-30) means that the sd card is read only, but in fact the > card isn't > write-protect. We add the wr-inverted into k3-am65-dts to change the return > value for > getting the correct state, so that we can mount the rootfs normally and it > works well. > > Error log: > mmcblk1: p1 p2 > md: Waiting for all devices to be available before autodetect > md: If you don't use raid, use raid=noautodetect > md: Autodetecting RAID arrays. > md: autorun ... > md: ... autorun DONE. > VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26): error -30 > Please append a correct "root=" boot option; here are the available > partitions: > 0100 4096 ram0 > (driver?) > 0101 4096 ram1 > (driver?) > 0102 4096 ram2 > > Signed-off-by: Jun Miao <[email protected]> > --- > arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > index 670796a933fa..967d54ff9684 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > @@ -255,6 +255,7 @@ > mmc-hs200-1_8v; > ti,otap-del-sel = <0x2>; > ti,trm-icp = <0x8>; > + wp-inverted = <0x1>; > dma-coherent; > }; > > @@ -267,6 +268,7 @@ > interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>; > ti,otap-del-sel = <0x2>; > ti,trm-icp = <0x8>; > + wp-inverted = <0x1>; > no-1-8-v; > dma-coherent; > }; > -- > 2.26.2 > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8819): https://lists.yoctoproject.org/g/linux-yocto/message/8819 Mute This Topic: https://lists.yoctoproject.org/mt/75416269/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
