Debian : Getting Wifi To Work


Chero

Member
Joined
Oct 7, 2008
Messages
132
Age
56
Location
Belgium
Website
Visit site
Hi,

I'm trying to create a debian rootfs.
It boots, recognizes touchscreen, keyboard, ...
But it doesn't want to load the firmware on the wifi-card.
The firmware is in /lib/firmware.

Where do I go wrong ?
This is my dmesg output :
Code:
Memory: 128MB 128MB = 256MB total
[    0.000000] Memory: 248576KB available (4324K code, 353K data, 148K init)
[    0.000000] Calibrating delay loop... 497.82 BogoMIPS (lpj=1941504)
[    0.000000] Mount-cache hash table entries: 512
[    0.000000] Initializing cgroup subsys devices
[    0.000000] CPU: Testing write buffer coherency: ok
[    0.000000] net_namespace: 488 bytes
[    0.000000] NET: Registered protocol family 16
[    0.000000] Found NAND on CS0
[    0.000000] Registering NAND on CS0
[   13.889312] OMAP DMA hardware revision 4.0
[   13.890319] USB: No board-specific platform config found
[   13.960845] OMAP DSS rev 2.0
[   13.960968] OMAP DISPC rev 3.0
[   13.960998] OMAP VENC rev 2
[   13.962524] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
[   13.965881] twl4030: PIH (irq 7) chaining IRQs 368..375
[   13.965911] twl4030: power (irq 373) chaining IRQs 376..383
[   13.966583] twl4030: gpio (irq 368) chaining IRQs 384..401
[   13.967651] TWL GPIO 13 (GPIO 205) set.
[   13.968841] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
[   13.971069] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[   13.972534] SCSI subsystem initialized
[   13.975677] usbcore: registered new interface driver usbfs
[   13.976165] usbcore: registered new interface driver hub
[   13.976623] usbcore: registered new device driver usb
[   13.976623] musb_hdrc: version 6.0, pio, otg (peripheral+host), debug=0
[   13.976806] HS USB OTG: revision 0x33, sysconfig 0x2011, sysstatus 0x1, intrfsel 0x1, simenable  0x0
[   13.976837] musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X), HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
[   13.976867] musb_hdrc: MHDRC RTL version 1.400 
[   13.976867] musb_hdrc: setup fifo_mode 4
[   13.976928] musb_hdrc: 29/31 max ep, 15424/16384 memory
[   13.976959] musb_hdrc: hw_ep 0shared, max 64
[   13.976959] musb_hdrc: hw_ep 1tx, max 512
[   13.976989] musb_hdrc: hw_ep 1rx, max 512
[   13.976989] musb_hdrc: hw_ep 2tx, max 512
[   13.976989] musb_hdrc: hw_ep 2rx, max 512
[   13.977020] musb_hdrc: hw_ep 3tx, max 512
[   13.977020] musb_hdrc: hw_ep 3rx, max 512
[   13.977050] musb_hdrc: hw_ep 4tx, max 512
[   13.977050] musb_hdrc: hw_ep 4rx, max 512
[   13.977081] musb_hdrc: hw_ep 5tx, max 512
[   13.977081] musb_hdrc: hw_ep 5rx, max 512
[   13.977081] musb_hdrc: hw_ep 6tx, max 512
[   13.977111] musb_hdrc: hw_ep 6rx, max 512
[   13.977111] musb_hdrc: hw_ep 7tx, max 512
[   13.977142] musb_hdrc: hw_ep 7rx, max 512
[   13.977142] musb_hdrc: hw_ep 8tx, max 512
[   13.977172] musb_hdrc: hw_ep 8rx, max 512
[   13.977172] musb_hdrc: hw_ep 9tx, max 512
[   13.977172] musb_hdrc: hw_ep 9rx, max 512
[   13.977203] musb_hdrc: hw_ep 10tx, max 512
[   13.977203] musb_hdrc: hw_ep 10rx, max 512
[   13.977233] musb_hdrc: hw_ep 11tx, max 512
[   13.977233] musb_hdrc: hw_ep 11rx, max 512
[   13.977264] musb_hdrc: hw_ep 12tx, max 512
[   13.977264] musb_hdrc: hw_ep 12rx, max 512
[   13.977294] musb_hdrc: hw_ep 13tx, max 512
[   13.977294] musb_hdrc: hw_ep 13rx, max 512
[   13.977294] musb_hdrc: hw_ep 14shared, max 1024
[   13.977325] musb_hdrc: hw_ep 15shared, max 1024
[   13.977355] musb_hdrc: USB OTG mode controller at d80ab000 using PIO, IRQ 92
[   13.999877] Bluetooth: Core ver 2.13
[   14.000335] NET: Registered protocol family 31
[   14.000335] Bluetooth: HCI device and connection manager initialized
[   14.000366] Bluetooth: HCI socket layer initialized
[   14.003448] NET: Registered protocol family 2
[   14.007598] Switched to high resolution mode on CPU 0
[   14.070251] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[   14.070800] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[   14.071044] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[   14.071166] TCP: Hash tables configured (established 8192 bind 8192)
[   14.071197] TCP reno registered
[   14.093688] NET: Registered protocol family 1
[   14.097229] VFS: Disk quotas dquot_6.5.1
[   14.097320] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   14.097869] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   14.100006] aufs 2-27
[   14.100036] msgmni has been set to 485
[   14.100128] io scheduler noop registered
[   14.100128] io scheduler anticipatory registered (default)
[   14.100158] io scheduler deadline registered
[   14.100311] io scheduler cfq registered
[   14.122344] Serial: 8250/16550 driver4 ports, IRQ sharing enabled
[   14.145812] serial8250.0: ttyS0 at MMIO 0x49020000 (irq = 74) is a ST16654
[   14.145843] console [ttyS0] enabled
[   14.752288] brd: module loaded
[   14.760131] loop: module loaded
[   14.763336] pndctrl loaded.
[   14.766723] usbcore: registered new interface driver asix
[   14.772399] usbcore: registered new interface driver cdc_ether
[   14.778564] usbcore: registered new interface driver rndis_host
[   14.784606] i2c /dev entries driver
[   14.790069] input: power-button as /devices/virtual/input/input0
[   14.820251] triton2 power button driver initialized
[   14.826812] Driver 'sd' needs updating - please use bus_type methods
[   14.833740] omap2-nand driver initializing
[   14.839019] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
[   14.848205] cmdlinepart partition parsing not available
[   14.853485] Creating 5 MTD partitions on "omap2-nand":
[   14.858673] 0x00000000-0x00080000 : "xloader"
[   14.863952] 0x00080000-0x00260000 : "uboot"
[   14.869506] 0x00260000-0x00280000 : "uboot-env"
[   14.874633] 0x00280000-0x00c80000 : "boot"
[   14.883575] 0x00c80000-0x20000000 : "rootfs"
[   15.102722] usbmon: debugfs is not available
[   15.107391] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[   15.113525] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[   15.121368] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[   15.140411] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[   15.148590] usb usb1: configuration #1 chosen from 1 choice
[   15.154541] hub 1-0:1.0: USB hub found
[   15.158447] hub 1-0:1.0: 3 ports detected
[   15.266632] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   15.273498] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.280761] usb usb1: Product: OMAP-EHCI Host Controller
[   15.286132] usb usb1: Manufacturer: Linux 2.6.27.46-omap1 ehci_hcd
[   15.292388] usb usb1: SerialNumber: ehci-omap.0
[   15.297210] Initializing USB Mass Storage driver...
[   15.302368] usbcore: registered new interface driver usb-storage
[   15.308471] USB Mass Storage support registered.
[   15.313415] usbcore: registered new interface driver libusual
[   15.319793] mice: PS/2 mouse device common for all mice
[   15.344512] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[   15.414794] input: keypad as /devices/platform/i2c_omap.1/i2c-adapter/i2c-1/1-004a/twl4030_keypad/input/input2
[   15.478363] input: nub0 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0066/input/input3
[   15.539642] input: nub1 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0067/input/input4
[   15.602294] twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
[   15.613433] bq27x00-battery 3-0055: support ver. 1.1.0 enabled
[   15.619689] Bluetooth: HCI UART driver ver 2.2
[   15.624145] Bluetooth: HCI H4 protocol initialized
[   15.629028] Bluetooth: HCILL protocol initialized
[   15.633850] hci_h4p hci_h4p: Registering HCI H4P device
[   15.789825] mmci-omap mmci-omap.0: Failed to get debounce clock
[   15.906127] mmci-omap mmci-omap.1: Failed to get debounce clock
[   15.913085] mmci-omap mmci-omap.2: Failed to get debounce clock
[   15.919952] Registered led device: pandora::sd1
[   15.924865] Registered led device: pandora::sd2
[   15.929718] Registered led device: pandora::bluetooth
[   15.935119] Registered led device: pandora::wifi
[   15.940521] Registered led device: pandora::keypad_bl
[   15.945983] Registered led device: pandora::power
[   15.951385] Registered led device: pandora::charger
[   15.956817] usbcore: registered new interface driver usbhid
[   15.962524] usbhid: v2.6:USB HID core driver
[   15.967132] Advanced Linux Sound Architecture Driver Version 1.0.17.
[   15.974029] ASoC version 0.13.2
[   15.977539] OMAP3 Pandora SoC init
[   15.981262] TWL4030 Audio Codec init 
[   15.986480] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[   15.993438] asoc: twl4030 <-> omap-mcbsp-dai-1 mapping ok
[   16.007812] ALSA device list:
[   16.010803]   #0: omap3pandora (twl4030)
[   16.015014] TCP cubic registered
[   16.018310] NET: Registered protocol family 17
[   16.022827] NET: Registered protocol family 15
[   16.027343] Bluetooth: L2CAP ver 2.11
[   16.031066] Bluetooth: L2CAP socket layer initialized
[   16.036163] Bluetooth: SCO (Voice Link) ver 0.6
[   16.040740] Bluetooth: SCO socket layer initialized
[   16.045806] Bluetooth: RFCOMM socket layer initialized
[   16.051055] Bluetooth: RFCOMM TTY layer initialized
[   16.056030] Bluetooth: RFCOMM ver 1.10
[   16.059783] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.065185] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   16.071655] RPC: Registered udp transport module.
[   16.076416] RPC: Registered tcp transport module.
[   16.081237] ThumbEE CPU extension supported.
[   16.085540] Disabling unused clock "sr2_fck"
[   16.089843] Disabling unused clock "sr1_fck"
[   16.094177] Disabling unused clock "mcbsp_fck"
[   16.098663] Disabling unused clock "mcbsp_fck"
[   16.103149] Disabling unused clock "mcbsp_fck"
[   16.107604] Disabling unused clock "mcbsp_ick"
[   16.112121] Disabling unused clock "mcbsp_ick"
[   16.116577] Disabling unused clock "mcbsp_ick"
[   16.121063] Disabling unused clock "gpt2_ick"
[   16.125488] Disabling unused clock "gpt3_ick"
[   16.129852] Disabling unused clock "gpt4_ick"
[   16.134277] Disabling unused clock "gpt5_ick"
[   16.138641] Disabling unused clock "gpt6_ick"
[   16.143035] Disabling unused clock "gpt7_ick"
[   16.147430] Disabling unused clock "gpt8_ick"
[   16.151824] Disabling unused clock "gpt9_ick"
[   16.156250] Disabling unused clock "wdt3_ick"
[   16.160614] Disabling unused clock "wdt3_fck"
[   16.165039] Disabling unused clock "gpio2_dbck"
[   16.169586] Disabling unused clock "gpio3_dbck"
[   16.174163] Disabling unused clock "gpio5_dbck"
[   16.178741] Disabling unused clock "gpt9_fck"
[   16.183135] Disabling unused clock "gpt8_fck"
[   16.187530] Disabling unused clock "gpt7_fck"
[   16.191925] Disabling unused clock "gpt6_fck"
[   16.196319] Disabling unused clock "gpt5_fck"
[   16.200714] Disabling unused clock "gpt4_fck"
[   16.205108] Disabling unused clock "gpt3_fck"
[   16.209503] Disabling unused clock "gpt2_fck"
[   16.213897] Disabling unused clock "gpt1_ick"
[   16.218292] Disabling unused clock "wdt1_ick"
[   16.222686] Disabling unused clock "wdt2_ick"
[   16.227081] Disabling unused clock "wdt2_fck"
[   16.231475] Disabling unused clock "gpio1_dbck"
[   16.236053] Disabling unused clock "gpt1_fck"
[   16.240447] Disabling unused clock "cam_ick"
[   16.244750] Disabling unused clock "cam_mclk"
[   16.249145] Disabling unused clock "des1_ick"
[   16.253540] Disabling unused clock "sha11_ick"
[   16.258056] Disabling unused clock "rng_ick"
[   16.262329] Disabling unused clock "aes1_ick"
[   16.266754] Disabling unused clock "ssi_ick"
[   16.271026] Disabling unused clock "mailboxes_ick"
[   16.275878] Disabling unused clock "mcbsp_ick"
[   16.280334] Disabling unused clock "mcbsp_ick"
[   16.284851] Disabling unused clock "gpt10_ick"
[   16.289337] Disabling unused clock "gpt11_ick"
[   16.293792] Disabling unused clock "uart2_ick"
[   16.298309] Disabling unused clock "i2c_ick"
[   16.302581] Disabling unused clock "hdq_ick"
[   16.306915] Disabling unused clock "mspro_ick"
[   16.311370] Disabling unused clock "des2_ick"
[   16.315795] Disabling unused clock "sha12_ick"
[   16.320281] Disabling unused clock "aes2_ick"
[   16.324676] Disabling unused clock "icr_ick"
[   16.328979] Disabling unused clock "pka_ick"
[   16.333282] Disabling unused clock "ssi_ssr_fck"
[   16.337951] Disabling unused clock "hdq_fck"
[   16.342254] Disabling unused clock "uart2_fck"
[   16.346740] Disabling unused clock "mcbsp_fck"
[   16.351196] Disabling unused clock "mcbsp_fck"
[   16.355712] Disabling unused clock "i2c_fck"
[   16.360015] Disabling unused clock "mspro_fck"
[   16.364501] Disabling unused clock "gpt11_fck"
[   16.368988] Disabling unused clock "gpt10_fck"
[   16.373443] Disabling unused clock "iva2_ck"
[   16.377777] Disabling unused clock "dpll4_m6x2_ck"
[   16.382629] Disabling unused clock "dpll4_m5x2_ck"
[   16.387451] Disabling unused clock "dpll3_m3x2_ck"
[   16.392303] Disabling unused clock "sys_clkout1"
[   16.396942] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[   16.436676] Console: switching to colour frame buffer device 100x30
[   16.619323] twl4030_rtc twl4030_rtc: setting system clock to 2010-07-30 20:39:16 UTC (1280522356)
[   16.628417] Waiting 2sec before mounting root device...
[   16.687286] mmc0: host does not support reading read-only switch. assuming write-enable.
[   16.695465] mmc0: new high speed SDHC card at address aaaa
[   16.701538] mmcblk0: mmc0:aaaa SU04G 3872256KiB 
[   16.706481]  mmcblk0: p1
[   17.539367] mmc1: host does not support reading read-only switch. assuming write-enable.
[   17.547546] mmc1: new high speed SDHC card at address 1234
[   17.553588] mmcblk1: mmc1:1234 SA08G 7766016KiB 
[   17.558502]  mmcblk1: p1
[   18.647430] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
[   18.655059] VFS: Mounted root (ext2 filesystem).
[   18.659912] Freeing init memory: 148K
[   18.667449] Warning: unable to open an initial console.
[   21.531677] ads7846 spi1.0: touchscreen, irq 254
[   21.536956] input: touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input5
[   23.634094] FAT: bogus number of reserved sectors
[   23.638854] VFS: Can't find a valid FAT filesystem on dev mmcblk1.
[   24.136840] FAT: bogus number of reserved sectors
[   24.141662] VFS: Can't find a valid FAT filesystem on dev mmcblk1.
[   28.986633] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
[   29.198669] Generic kernel compatibility enabled based on linux-next next-20100113
[   29.390563] cfg80211: Calling CRDA to update world regulatory domain
[   29.640655] lib80211: common routines for IEEE802.11 drivers
[   29.646362] lib80211_crypt: registered algorithm 'NULL'
[   29.673126] lib80211_crypt: registered algorithm 'TKIP'
[   29.699096] lib80211_crypt: registered algorithm 'WEP'
[   29.724792] lib80211_crypt: registered algorithm 'CCMP'
[   29.820739] Pandora WiFi: Probe started
[   29.851318] Sending insert event for MMC3...
[   29.855651] Pandora WiFi: Probe done
[   29.917968] mmc2: card claims to support voltages below the defined range. These will be ignored.
[   29.926971] mmc2: SDIO card claims to support the incompletely defined 'low voltage range'. This will be ignored.
[   29.976501] mmc2: new SDIO card at address 0001
[   30.015808] wl1251: using dedicated interrupt line
[   30.160827] phy0: Selected rate control algorithm 'minstrel'
[   30.167297] wl1251: loaded
[   30.170043] wl1251: initialized
[   30.810058] fuse init (API version 7.9)
[   90.351318] sdio_reset_comm():
[   90.375091] wl1251_sdio mmc2:0001:1: firmware: requesting wl1251-fw.bin
[  150.374969] wl1251: ERROR could not get firmware: -2

All tips are welcome,
Having fun,
Chero.
 
I guess you need to add udev rule. Here is my Gentoo manual, which might help you: http://vminko.org/pandora/wifi
 
Vitel said:
I guess you need to add udev rule. Here is my Gentoo manual, which might help you: http://vminko.org/pandora/wifi

Thanks,
That was the one I needed !

Have fun,
Chero.
 
Last edited by a moderator:
Back
Top