Hi,

I am reviving a old wrt54glv1.1 . One to which I added a serial port and
mmc GPIO.

It once ran for years as a off-site backup server.

I am now trying to get it to run under openwrt, I can insmod the mmc.o
module and the kernel looks happy :

=========================================================
[INFO] mmc_hardware_init: initializing GPIOs
[INFO] mmc_card_init: the period of a 380KHz frequency lasts 524 CPU cycles
[INFO] mmc_card_init: powering card on. sending 80 CLK
[INFO] mmc_card_init: 80 CLK sent in 43646 CPU cycles
[INFO] mmc_card_init: resetting card (CMD0)
[INFO] mmc_card_init: doing initialization loop
[INFO] mmc_card_init: card inited successfully in 545 tries (-16813135 CPU
cycles).
[INFO] mmc_init: MMC/SD Card ID:
03 53 44 53 44 30 32 47 80 50 37 0d 1b 00 9c 5b [INFO] Manufacturer ID   :
03
[INFO] OEM/Application ID: SD
[INFO] Product name      : SD02G
[INFO] Product revision  : 8.0
[INFO] Product SN        : 50370d1b
[INFO] Product Date      : 2009-12
[INFO] mmc_card_config: size = 1931264, hardsectsize = 1024, sectors =
1931264
[WARN] mmc_init: hd_sizes=1931264, hd[0].nr_sects=3862528
[INFO] mmc_card_init: set_blocklen (CMD16) succeeded !
Partition check:
 mmca: p1
=========================================================

I can run e2fsck successfuly. However mount fails silently and returns 111
, here is the end of a strace :

=========================================================
getuid()                                = 0
geteuid()                               = 0
stat64(0x7fff7f12, 0x7fff7a60)          = 0
mount("/dev/mmc/disc0/part1", "/mnt/usb/", "ext2", MS_SILENT, "") = -1
ENODEV (No such device)
ioctl(2147483647, TIOCNXCL, 0x7fff78e8) = -1 EBADF (Bad file descriptor)
brk(0x4a1000)                           = 0x4a1000
fork()                                  = 6184
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(6184, [{WIFEXITED(s) && WEXITSTATUS(s) == 111}], 0, NULL) = 6184
exit(111)                               = ?
=========================================================

openwrt info:
Router Model mips
Firmware Version OpenWrt Backfire 10.03.1 / LuCI 0.10.0 Release (0.10.0)
Kernel Version 2.4.37.9

I suspect I cannot do what I want to do... I am very thankfull of your any
advice or debugging paths I should explore.

Thanks
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to