It looks as though MMC cards should work just as well with the patch. The key thing is the the package block-extroot supports MMC cards, and it does appear to do so, with kmod-mmc enabling block-extroot. You would presumably also need the kmod-mmc-over-gpio module.
Assuming that the MMC device that is mounted is /dev/mmcblk0p1 (although I see no reason why it shouldn't work for /dev/mmcblk1p1 if you have two cards), you would need the following configuration: Edit /etc/config/fstab on the router's internal filesystem (the jffs2 overlay is fine), to add an entry: config mount option target /mnt/mmcroot # This string is ignored option device /dev/mmcblk0p1 option options rw option enabled 1 option enabled_fsck 0 option is_rootfs 1 On /dev/mmcblk0p1, in /etc/config/fstab, add an entry: config mount option target /mnt/mmcroot option device /dev/mmcblk0p1 option options rw option enabled 1 option enabled_fsck 0 option is_rootfs 1 option rootfs_subdir openwrt.overlay # or whatever subdirectory of /dev/mmcblk0p1 you want This should then boot the kernel on the router's flash, and overlay the filesystem on the MMC card over the squashfs filesystem on the router. To boot the kernel off the MMC card as well, you also would need to add the patches at https://lists.openwrt.org/pipermail/openwrt-devel/2010-April/006671.html and configure /etc/config/kexec on the MMC partition being used. Although it refers to USB, it should work just as well for MMC. On Fri, 2010-04-09 at 05:32 -0400, RHS Linux User wrote: > Hi, > > Neat... It would be *VERY* nice to be able to do the same thing with > one or *TWO* MMC cards since they can be easily kludged onto a few GPIO > pins. Maybe your patch already supports this? > > Wiz > > > On Fri, 9 Apr 2010, Quentin Armitage wrote: > > > The block-extroot package adds the capability for preinit to mount /overlay > > on an external USB device. The attached patch extends > > the capability to allow /overlay to be mounted on a sub-directory of the > > external USB device. > > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel