I've created a cumulative patch with mmc support for OpenWRT from the following 3 components:
- Vonger's original release patch from http://vonger.cn/wp-content/uploads/2014/12/vocore.txt, which sets up IP, root pass, AP mode and 16 MB flash size
- Noltari's SPI patch for dts file from http://vonger.cn/wp-content/uploads/2014/12/vocore_spi_sd_1.txt
- Noltari's spi-rt2880.c added as an OpenWRT kernel patch from http://vonger.cn/wp-content/uploads/2014/12/spi-rt2880.c
These are basically all the modifications needed to build an mmc compatible OpenWRT for the VoCore, instructions all from http://vonger.cn/?p=1637.
Tested on Chaos Calmer Bleeding Edge, r45926, kernel 3.18.14.
root@OpenWrt:/# [ 1927.630000] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1927.640000] mmc0: new SD card on SPI
[ 1927.650000] mmcblk0: mmc0:0000 SA02G 1.83 GiB
[ 1927.720000] mmcblk0: p1 p2 p3
root@OpenWrt:/# mount
...
/dev/mmcblk0p2 on /mnt type ext3 (rw,relatime,data=ordered)
Download the patch from http://storage.googleapis.com/kasza/vocore_mmc.patch.
Also, here is the compiled firmware http://storage.googleapis.com/kasza/vocore_mmc_16mb_r45926.bin (3 407 876 bytes).
If you want luci, fdisk or FAT support, you'll have to change the options in OpenWRT Buildroot and recompile, the above firmware is using the default options without these tools.
Regards,
Karoly