libertas_sdio on at91sam9263

Hans-Jürgen Koch hjk at linutronix.de
Tue Dec 18 05:25:30 EST 2007


I have a board very similar to the AT91SAM9263-EK evaluation kit.
There's a 8686 soldered on the board, connected to MMC1, slot A. ATM,
I'm using netdev-2.6.25, but I get similar effects with other recent
kernels.
The kernel detects an SDIO card at boot time:

Status = 0000C0E5 [00001000 00000000 00000000 00000000]
Sending command 52 as 00001074, arg = 01014000, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00001000 00000000 00000000 00000000]
Sending command 52 as 00001074, arg = 01014200, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00001000 00000000 00000000 00000000]
Sending command 52 as 00001074, arg = 01014400, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [000010FF 00000000 00000000 00000000]
mmc0: new SDIO card at address 0001

The sdio device appears under /sys/bus/sdio/devices.

Then I do (with those bin files in /lib/firmware):

modprobe libertas_sdio helper_name=helper_sd.bin fw_name=sd8686.bin

but all I get is:

[...loads of similar command 52 messages...]
Status = 0000C0E5 [00001000 00000000 00000000 00000000]
Sending command 52 as 00001074, arg = 00000A00, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00001000 00000000 00000000 00000000]
Sending command 52 as 00001074, arg = 00000A00, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00001000 00000000 00000000 00000000]
Sending command 52 as 00001074, arg = 00000A00, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00001000 00000000 00000000 00000000]
libertas: can't load helper firmware
libertas: failed to load helper firmware
Sending command 52 as 00001074, arg = 00000800, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00001003 00000000 00000000 00000000]
Sending command 52 as 00001074, arg = 80000800, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00001000 00000000 00000000 00000000]
Sending command 52 as 00001074, arg = 00000400, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00001002 00000000 00000000 00000000]
Sending command 52 as 00001074, arg = 80000400, blocks = 0, length = 0
(MR = 00009B01) MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00001000 00000000 00000000 00000000]
libertas_sdio: probe of mmc0:0001:1 failed with error -2

Any ideas what I could try next to debug this?

Thanks,
Hans



More information about the libertas-dev mailing list