Hello Jim,
I'm trying to do the same as you, I wonder if you can suggest where I go from here. I am trying to get the Murata WiFi/Bluetooth (LBEE5ZSTNC == wl1271) working under ltib (L2.6.35_10.12.01) (linux kernel 2.6.35.3-571) on a platform that is very close to the iMX28 evk from freescale.
I have implemented your suggestions as to
1) the include reference
2 & 3) the WLAN_IRQ (mine is on GPIO 1.18)
4) Swap the order of set_irq_type in wl1271_probe call and call to request_irq . You don't say whether this applies to wl1271.c or wl1271_sdio.c so I've done both.
5) Fixed the pin definitions in imx28evk_pins.c (and added the IRQ pin)
6) Adjusted ltib/rpm/BUILD/linux/drivers/mmc/host/mxs-mmc.c to allow for 1.65 to 1.9 v range.
7) Adjustred ltib/rpm/BUILD/linux/arch/arm/plat-mxs/include/mach/entry-macro.S (although my irq is not in bank 0)
8) Copied the firmware to the target
9) Adjusted the kernel boot parameters: noinitrd console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait ip=none ssp1
This last one is interesting as I can't find anything in rpm/BUILS/linux-2.6.35.3 or in imx-bootlets that looks for either 'gpmi' or 'ssp1' on the kernel parameters.
In any case, when booted the code doesn't seem to recognise the ssp1. If I build wl1271 as a module it is not automatically loaded. If I load it with modprobe it loads without errors but there is no new device seen by ifconfig or iwconfig. If I build it into the kernel there are no errors but also no device. (cfg80211 and mac80211 are built into the kernel).
Here's some of the log (I can show more it it's relevent):
HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLC
PowerPrep start initialize power...
Battery Voltage = 0.24V
No battery or bad battery detected!!!.Disabling battery voltage measurements.
LLLLCApr 29 201412:02:52
init_clock() after, FRAC 0x92925A52
memory type is 166MHz mDDR running at 166MHz
Wait for ddr ready 1
change_cpu_freq() start change cpu freq
get_sdram_size() mDDR: row 0000000D, column 0000000A, cs 00000001, size=04000000
ddr2 base @ 0x40000000, size 0x04000000
LLLLLLLFLCLLJUncompressing Linux... done, booting the kernel.
Linux version 2.6.35.3-571-gcca29a0-svn73422 (cmoloney@Virtual1) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #95 PREEMPT Thu May 1 17:39:13 EST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: MTData 6050 Series
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: noinitrd console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait ip=192.168.1.28 ssp1
PID hash table entries: 256 (order: -2, 1024 bytes)
. . .
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mxs-mmc: MXS SSP Controller MMC Interface driver
mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 82 ERRIRQ 96
__mxs_reset_block(f0012000): timeout when resetting
__mxs_reset_block(f0012000): timeout when resetting
__mxs_reset_block(f0012000): timeout when resetting
__mxs_reset_block(f0012000): timeout when resetting
__mxs_reset_block(f0012000): timeout when resetting
mxs-mmc mxs-mmc.1: mmc1: MXS SSP MMC DMAIRQ 83 ERRIRQ 97
dcp dcp.0: DCP crypto enabled.!
. . .
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:06 UTC (6)
mmc0: new high speed SD card at address aaaa
mmcblk0: mmc0:aaaa SU02G 1.84 GiB
mmcblk0:
p1 p2 p3
eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=0:00, irq=-1)
. . .
After this, there are no further references to either mmc or ssp.
I assume I'm missing something fundamental about getting the system to look for and recognise a device on ssp1. Is there an sdio module I should load (and why didn't it load automatically)? Any idea where to look next?
Also, this system has been working fine up until now, on slightly different hardware, with a real SD card in ssp1. It would find and create /dev/mmcblk1 and read and write the SD card ok. Should I be doing something to disable the mmcblk1 device?
Colin