View Single Post
Posts: 95 | Thanked: 66 times | Joined on Mar 2012
#5
Originally Posted by Hurrian View Post
You need to insmod the OMAP HSMMC drivers and the filesystem drivers yourself.

I don't have the list with me right now, but you can check dependencies in lsmod.
Thanks! But still no go...

(Checking that makes me feel more & more that /sbin/preinit is just quite broken... modules it loads are very short but yet it has script commands that access mmc partitions)

The modules are (in order they should be loaded):
mbcache ext2 jbd ext3 mmc_core mmc_block omap_hsmmc

I've loaded them in that manner; lsmod from within preinit shows them loaded but still no /dev/mmcblk* devices.

I happen to looked at /bootmenu.sh this time round & saw something interesting in it:

# eMMC and SD
cd /dev; /sbin/MAKEDEV input; cd /
insmod $MODULE_PATH/mmc_core.ko
insmod $MODULE_PATH/mmc_block.ko
insmod $MODULE_PATH/omap_hsmmc.ko
rm -f /dev/mmcblk*
sleep 2
for p in /sys/block/mmcblk*/ /sys/block/mmcblk*/mmcblk*p*/; do
n=`basename $p`
rm -f /dev/$n
mknod /dev/$n b `cat $p/dev | sed "s/:/ /g"`
done

More devices appeared in /dev but still no /dev/mmcblk*...

Best regards,

kh