Hi at all...
I have RC2 on my fonera, I install LuCI Components:
- luci-app-mmc_over_gpio
and in automatic install:
- kmod-mmc
- kmod-mmc-over-gpio
- kmod-mmc-spi
And now? For mount mmc? For insert a swap file?
The content of this topic has been archived on 6 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Hi at all...
I have RC2 on my fonera, I install LuCI Components:
- luci-app-mmc_over_gpio
and in automatic install:
- kmod-mmc
- kmod-mmc-over-gpio
- kmod-mmc-spi
And now? For mount mmc? For insert a swap file?
Well, you have to backport the init script and config file for UCI from trunk to make use of luci-app-mmc_over_gpio in 8.09 RC2
And I can make this? How?
Well, you have to backport the init script and config file for UCI from trunk to make use of luci-app-mmc_over_gpio in 8.09 RC2
Sorry but I not understand...
... con you explain me how to do?
Thanks and best regards,
Elia Finotti
News...
in fstab I see this:
gpio-mmc: Failed to request mmc_spi module.
mmc_spi spi32766.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
gpio-mmc: MMC-Card "default" attached to GPIO pins di=1, do=3, clk=4, cs=7
mmc_spi spi32766.0: can't change chip-select polarity
mmc0: new MMC card on SPI
mmcblk0: mmc0:0001 AF HMP 250880KiB
mmcblk0: p1
but if I mount mmcblk0 -> mount: mounting /dev/mmcblk0 on /home/sd failed: No such device
and now?
Argh... for me this problem not have a solution... not work... recognized but not mount...
hi,
in our device directory they are the "/dev/mmcblk0p1" and the "/dev/mmcblk0"
the mmcblk0 is the card device
the mmcblk0p1 is the first partition on the card device (this you may use not all de device card itself)
Try mount the /dev/mmcblk0p1, if you have a error, this means that you do not have a partition on de card.
Create a partition and try again.
Many brand new cards not have partitions created or have bad created (my experience).
Vasco Santos
Hi Vasco,
thank you for your reply...
... I have a fat partition, with legend 4.5 firmware this sd work good.
I not understand...
mount /dev/mmcblk0p1 /home/sd
this is all you need to mount it
I have a Fonera 2100 router with Kamikaza 8.09. I attached an 1 Gb microsd Kingmax card to it. In Kamikaze 7.07 the phrozen mmc driver works great (http://phrozen.org/fonera.html), but in 8.09 the built in mmc driver dont work.
I tried the luci-app-mmc_over_gpio with my real pins (1 3 4 7 0) config, but it dont worked.
But if i try it with 1 3 4 14 0 after stop and start with 1 3 4 7 0 it working and I can see that:
configfs on /config type configfs (rw)
gpio-mmc: Failed to request mmc_spi module.
mmc_spi spi32764.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
gpio-mmc: MMC-Card "default" attached to GPIO pins di=1, do=3, clk=4, cs=7
mmc_spi spi32764.0: can't change chip-select polarity
root@OpenWrt:/# mmc0: new SD card on SPI
mmcblk0: mmc0:0000 SD01G 1006080KiB
mmcblk0: p1
what cause it? Do you have a solution for it?
I have a Fonera 2100 router with Kamikaza 8.09. I attached an 1 Gb microsd Kingmax card to it. In Kamikaze 7.07 the phrozen mmc driver works great (http://phrozen.org/fonera.html), but in 8.09 the built in mmc driver dont work.
Almost the same here. Tried different cards. SDHC, MMC and SD cards with different sizes. Could not get MMC/SD working with 8.09 final.
Sd in my 2100 with 8.09 not work... the same sd with Legend 4.5 firmware work correctly...
i got it working, it works just fine if you remove the filter caps on the board (on the top side next to SW1, there are 4 of them) i was having the same issue, if you set the config to 1 3 4 7 0 for the GPIO addresses, i have yet to test its stability, but i finally got the service to start
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09.2-RC2, r17574) -------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/# /etc/init.d/mmc_over_gpio start
gpio-mmc: Failed to request mmc_spi module.
mmc_spi spi32766.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
gpio-mmc: MMC-Card "fonera" attached to GPIO pins di=1, do=3, clk=4, cs=7
root@OpenWrt:/# mmc_spi spi32766.0: can't change chip-select polarity
mmc0: new SD card on SPI
mmcblk0: mmc0:0000 SU256 247040KiB
mmcblk0: p1
it took a second, but after failing, it gave me this and checking in /dev i have them listed and in luci, under "DEVICE" on the add a mount point, it says that /dev/mmcblk0p1 has a size of 241mb (i have a 256mb card in the card slot)
i'll post an update if i get it to mount
Update 1: i know its reading it properly, because it gives me
mmcblk0: mmc0:0000 SU256 247040KiB
for my 256
and
mmcblk0: mmc0:0000 SU04G 3872256KiB
when i put my phones 4gig card in
yeah i cant seem to figure out what i did wrong, i give up until i have some more time to mess around
(Last edited by DACRepair on 24 Sep 2009, 01:35)
The discussion might have continued from here.