[LEDE-DEV] mmc driver for openwrt on fonera 2100

Marco Castrovilli marco.castrovilli at gmail.com
Fri Jun 3 19:40:14 PDT 2016


hi andrew,
i've installed
openwrt-atheros-root.jffs2-64k
openwrt-atheros-vmlinux.lzma
from https://downloads.openwrt.org/kamikaze/8.09/atheros/

after few problems to configure internet access, i did:

opkg update
opkg install kmod-mmc-over-gpio kmod-fs-ext3 cfdisk e2fsprogs kmod-nls-base kmod-nls-cp437 kmod-nls-iso8859-1

and each installation was fine.

during GPIO configuration i had the message:
uci: entry not found
after each command:
uci set mmc_over_gpio. at mmc_over_gpio[0].enabled=1
uci set mmc_over_gpio. at mmc_over_gpio[0].DI_pin=1
uci set mmc_over_gpio. at mmc_over_gpio[0].DO_pin=4
uci set mmc_over_gpio. at mmc_over_gpio[0].CLK_pin=3
uci set mmc_over_gpio. at mmc_over_gpio[0].CS_pin=7
then i had "can't create /config/gpiommc/ directory" error. so i rebooted, but now i can ping fonera 15/16 times, 1 timeout, other 10/12 ping ok,
then it is unreachable for some seconds and so looping on.

do you know the reason?

and now the final question: i soldered exactly like in figure above:
www.WiFi-Ita.com
as explained here:
http://www.wifi-ita.com/index.php?option=com_content&task=view&id=223

must i have to solder ALL cables on pin of GPIO?

thank you again.
Il 03/06/2016 16:32, Andrew Yong ha scritto:
> You'll want to use OpenWrt Kamikaze 8.09 and use the official package
> manager opkg. Follow the linked wiki page
> (https://wiki.openwrt.org/doc/howto/mmc_over_gpio) and you'll be fine.
>
> The latest releases have deprecated kmod-mmc-over-gpio in favor of
> just getting other generic $30 routers from AliExpress that have built
> in TF/MMC ports (generally RT5350), or AR9311 routers with USB e.g.
> TL-MR3020.
>
>
>
> On Fri, Jun 3, 2016 at 10:15 PM, Marco Castrovilli
> <marco.castrovilli at gmail.com> wrote:
>> thanks a lot for your immediate answer.
>> i followed this guide to mod fonera adding an sd card:
>> http://www.wifi-ita.com/index.php?option=com_content&task=view&id=223
>> and this one:
>> http://www.nabuk.org/f/index.php?topic=1486.0
>> everything is ok but i can't find 26215-4pinfon2100Driver7143.ipk anywere.
>> i'm on kamikaze 7.09 and kernel:
>> Linux Legend 2.6.22.1 #5 Mon Aug 13 18:18:07 EDT 2007 mips unknown
>>
>> i tried to update (with ipkg, not opkg) but i have problem with original
>> openwrt feed:
>> root at Legend:~# ipkg update
>> Downloading
>> http://downloads.openwrt.org/snapshots/atheros-2.6/packages/Packages
>> wget: server returned error: HTTP/1.1 404 Not Found
>> Downloading http://downloads.openwrt.org/kamikaze/packages/mips/Packages
>> wget: server returned error: HTTP/1.1 404 Not Found
>> Downloading
>> http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/atheros-2.6/packages/Packages
>> wget: server returned error: HTTP/1.1 404 Not Found
>> An error ocurred, return value: 3.
>> Collected errors:
>> ipkg_download: ERROR: Command failed with return value 1: `wget
>> --passive-ftp    -q -P /tmp/ipkg-hCDHje
>> http://downloads.openwrt.org/snapshots/atheros-2.6/packages/Packages'
>> ipkg_download: ERROR: Command failed with return value 1: `wget
>> --passive-ftp    -q -P /tmp/ipkg-hCDHje
>> http://downloads.openwrt.org/kamikaze/packages/mips/Packages'
>> ipkg_download: ERROR: Command failed with return value 1: `wget
>> --passive-ftp    -q -P /tmp/ipkg-hCDHje
>> http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/atheros-2.6/packages/Packages'
>> root at Legend:~#
>>
>> so i tried with other ones but:
>> root at Legend:~# ipkg update
>> Downloading
>> https://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages
>> wget: not an http or ftp url:
>> https://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages
>> Downloading
>> https://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages
>> wget: not an http or ftp url:
>> https://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages
>> Downloading
>> https://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages
>> wget: not an http or ftp url:
>> https://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages
>> An error ocurred, return value: 3.
>> Collected errors:
>> ipkg_download: ERROR: Command failed with return value 1: `wget
>> --passive-ftp    -q -P /tmp/ipkg-nErUJo
>> https://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages'
>> ipkg_download: ERROR: Command failed with return value 1: `wget
>> --passive-ftp    -q -P /tmp/ipkg-nErUJo
>> https://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages'
>> ipkg_download: ERROR: Command failed with return value 1: `wget
>> --passive-ftp    -q -P /tmp/ipkg-nErUJo
>> https://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages'
>> root at Legend:~#
>>
>> i got a more recent wget (wget_1.10.2-2_mips.ipk) but stil have problems
>> with ssl.
>> anyway, browsing manually feeds i can't find driver.
>>
>> perhaps i NEED to use kamikaze 8.09 and all troubles will run away?
>>
>> again many thanks Andrew for your interest: this is my last chance to use a
>> microSD on my fonera 2100 :)
>>
>>
>>
>> Il 03/06/2016 15:49, Andrew Yong ha scritto:
>>
>> https://wiki.openwrt.org/doc/hardware/port.gpio and see relevant sections
>> for bitbanging MMC over GPIO.
>>
>> On 3 Jun 2016 21:46, "Marco Castrovilli" <marco.castrovilli at gmail.com>
>> wrote:
>>> hi all!
>>> does anyone can help me to find mmc driver working on openwrt, installed
>>> on fonera 2100 (mips architectire)?
>>> thank you in advance.
>>>
>>> _______________________________________________
>>> Lede-dev mailing list
>>> Lede-dev at lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/lede-dev
>>



More information about the Lede-dev mailing list