From: sellis <sco...@gm...> - 2009-10-29 14:23:05
|
I tried hot-plugging an mmc card and it didn't work. As long as the mmc card is in when I boot I can use it after booting, mounting and unmounting any partition. I was not explicitly running mmc init in uboot when I did this. It was a network boot. The kernel initialized the mmc card. dmesg output: ... mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock mmci-omap-hs mmci-omap-hs.1: Failed to get debounce clock mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new high speed SDHC card at address 8fe4 mmcblk0: mmc0:8fe4 SU04G 3.69 GiB mmcblk0: p1 p2 p3 VFS: Can't find a valid FAT filesystem on dev mmcblk0. EXT3 FS on mmcblk0p2, internal journal EXT3 FS on mmcblk0p3, internal journal ... If I remove the mmc card, after unmounting all filesystems, and then plug it back in I cannot remount any of the fileystems again. Here's the error. root@water:~# mount /dev/mmcblk0p3 /media/card mount: /dev/mmcblk0p3: can't read superblock So probably there is nothing wrong with your unit and you just need to get a better image to copy to the mmc for booting. It would be nice to be able to hot plug the mmc if your just using it for data. Maybe someone else knows how to do this. (probably tell us that we risk frying the unit every time we pull/push the mmc card when powered since it might not be designed for this ;-) -- View this message in context: http://www.nabble.com/What-happened-to--dev-mmcblk0p1-and--dev-mmcblk0p2---tp26052620p26114047.html Sent from the Gumstix mailing list archive at Nabble.com. |