I followed the instructions here to install a SD converter with a microSD card and can not get it to mount. I compiled my own driver (changing the hex address from the one for GPIO5 to the one for GPIO2.
Relevant dmesg stuffs from after an insmod mmc:
mmc Hardware init
mmc Card init
mmc Card init *1*
mmc Card init *2*
Size = 1985024, hardsectsize = 1024, sectors = 1985024
mmca: p1
devfs_mk_dir(mmc/disc0): using old entry in dir: 809e1e60 "mmc"
devfs_register(disc): could not append to parent, err: -17
dmesg after 'mount /mmc':
Unable to handle kernel paging request at virtual address 0065647c, epc == 80013db8, ra == 8006b098
Oops in fault.c::do_page_fault, line 206:
$0 : 00000000 1000fc00 00008000 c01c1440 00656468 00000001 00006180 8023a4a0
$8 : 00000000 80b52895 00000018 702f3063 386d4555 00001000 0000000c 00000000
$16: 80a9d440 80a9d440 fffffff3 80b6b000 803db1a0 c01768a0 8023a4e0 00008000
$24: 00000008 00000000 80aae000 80aafdd0 00000000 8006b098
Hi : 00000000
Lo : 000006a0
epc : 80013db8 Tainted: P
Status: 1000fc03
Cause : 00000008
PrId : 00029008
Process mount (pid: 638, stackpage=80aae000)
Stack: fffffff4 80b6b000 fffffff4 80b6b000 805710e0 8003e5f8 802ae001
00000003 00270a1a 80aafdf4 80d5a660 8023a320 802ae000 80aafe50 00000000
00000009 00000001 80570000 802ae000 00008000 80aafe50 80b6b000 00000000
80570000 00000000 00000000 004ebad0 800539ac 00000000 00001000 80570ba0
004e9ffe 80d5a160 8023a4a0 00000000 00000000 00000000 00000009 00000001
004e9444 ...
Call Trace: [<8003e5f8>] [<800539ac>] [<80030510>] [<800533c4>] [<80136c78>]
[<80053eb4>] [<80008a60>] [<8000f034>] [<8005b9ec>]Code: 27bd0018 1080000e 24050001 <8c830014> 30620002 10400003 00000000 08004f7b 00002821
Any help would be great.
edit: I thought it might be my soldering but I went back and did a continuity check with a multimeter as well as cleaning up the solder job but no go.
edit2: Also, if I try to mkfs.ext2 /dev/mmc/disc0/part1 the router stops functioning until I do a hard reset. I formated the media as ext2 on my desktop now so it should be mountable.
edit3: Here's some more information from another similar thread.
I just did the mmc mod on a wrt54gl v1.1 myself and made an ipk for it. I'm having problems formating (freezes a short way through and I lose my network connection) and it won't mount but that might be a hardware problem. You might try it though...
http://www.sonic.net/~jshere/david/kmod … mipsel.ipk
edit: I forgot to put the source up... one second. Here it is. Only change is the address for SD_DI from whatever the original was to 0x04, a line of comments above, and some comments on each line. I wasn't sure if it was the code was the same as that here so I made the changes in the source for the mmc.c that 7.09's build system downloads.
(Last edited by Wolliw on 5 Oct 2007, 04:16)