Devuan Chimaera + error: wl1251: ERROR could not get firmware: -2


openbsd98324

Still Fresh
Joined
Jan 7, 2022
Messages
55
Hello,

I try to get wifi on devuan chimaera no systemd.
my rootfs is here: https://gitlab.com/openbsd98324/arm...otstrap-rootfs-wpasupplicant-nomodules.tar.gz
(devuan chimaera)

My kernel is thedefault delivered from NAND:
I use usbiattach and copied uImage-3

I installed wl1251 with apt-get ... ti connectivity.

Error is:
"wl1251: ERROR could not get firmware: -2"


Any ideas

Code:
[    0.000000] Linux version 3.2.57 (notaz@pixelinis) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) #982 Sun Apr 20 20:33:11 EEST 2014
[    0.000000] CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: Pandora Handheld Console
[    0.000000] cma: CMA: reserved 4 MiB at 86000000
[    0.000000] Initialized persistent memory from 80fe0000-80ffffff
[    0.000000] cma: CMA: reserved 64 MiB at 8c000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c05bab84, node_mem_map c05ed000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65024 pages, LIFO batch:15
[    0.000000] OMAP3430/3530 ES2.1 (l2cache iva sgx neon isp )
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rw rootwait vram=6272K omapfb.vram=0:3000K mmc_core.removable=0 video=/dev/fb0
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 183892k/183892k available, 78252k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc054ab88   (5387 kB)
[    0.000000]       .init : 0xc054b000 - 0xc057d000   ( 200 kB)
[    0.000000]       .data : 0xc057e000 - 0xc05bb300   ( 245 kB)
[    0.000000]        .bss : 0xc05bb324 - 0xc05ec624   ( 197 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:410
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Total of 96 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled
[    0.000671] Calibrating delay loop... 497.82 BogoMIPS (lpj=1941504)
[    0.039154] pid_max: default: 32768 minimum: 301
[    0.039459] Mount-cache hash table entries: 512
[    0.040008] Initializing cgroup subsys devices
[    0.040100] CPU: Testing write buffer coherency: ok
[    0.040405] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.040588] Setting up static identity map for 0x803ecea8 - 0x803ecf00
[    0.041503] devtmpfs: initialized
[    0.064544] print_constraints: dummy:
[    0.070465] NET: Registered protocol family 16
[    0.073303] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.073852] GPMC revision 5.0
[    0.078063] OMAP GPIO hardware version 2.5
[    0.082672] omap_mux_init: Add partition: #1: core, flags: 0
[    0.091247] Reprogramming SDRC clock to 332000000 Hz
[    0.094360] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.103912]  omap-mcbsp.2: alias fck already exists
[    0.104370]  omap-mcbsp.3: alias fck already exists
[    0.106292] OMAP DMA hardware revision 4.0
[    0.127685] bio: create slab <bio-0> at 0
[    0.129241] print_constraints: vwlan: 1800 mV
[    0.131408] SCSI subsystem initialized
[    0.134643] usbcore: registered new interface driver usbfs
[    0.135009] usbcore: registered new interface driver hub
[    0.135345] usbcore: registered new device driver usb
[    0.137176] omap_i2c omap_i2c.1: bus 1 rev1.3.12 at 2600 kHz
[    0.142669] twl4030: PIH (irq 7) chaining IRQs 368..375
[    0.142822] twl4030: power (irq 373) chaining IRQs 376..383
[    0.143554] twl4030: gpio (irq 368) chaining IRQs 384..401
[    0.144165] _omap_mux_init_gpio: Could not set gpio192
[    0.145599] _omap_mux_init_gpio: Could not set gpio193
[    0.149139] print_constraints: VUSB1V5: 1500 mV normal standby
[    0.150024] print_constraints: VUSB1V8: 1800 mV normal standby
[    0.150878] print_constraints: VUSB3V1: 3100 mV normal standby
[    0.211059] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[    0.212890] print_constraints: vdd_mpu_iva: 600 <--> 1450 mV normal
[    0.213775] print_constraints: vdd_core: 600 <--> 1450 mV normal
[    0.214721] print_constraints: VMMC1: 1850 <--> 3150 mV at 3150 mV normal standby
[    0.215667] print_constraints: VDAC: 1800 mV normal standby
[    0.216583] print_constraints: VAUX2: 1800 mV normal standby
[    0.217498] print_constraints: VPLL2: 1800 mV normal standby
[    0.218505] print_constraints: VMMC2: 1850 <--> 3150 mV at 3150 mV normal standby
[    0.219451] print_constraints: VSIM: 2800 mV normal standby
[    0.220336] print_constraints: VAUX1: 3000 mV normal standby
[    0.221221] print_constraints: VAUX4: 3000 mV normal standby
[    0.234527] omap_i2c omap_i2c.3: bus 3 rev1.3.12 at 100 kHz
[    0.237579] omap-iommu omap-iommu.0: isp registered
[    0.238403] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.239501] Switching to clocksource 32k_counter
[    0.269561] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.275299] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[    0.275329] musb-hdrc: MHDRC RTL version 1.400
[    0.275360] musb-hdrc: setup fifo_mode 4
[    0.275390] musb-hdrc: 28/31 max ep, 16384/16384 memory
[    0.276031] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[    0.277160] NET: Registered protocol family 2
[    0.277404] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.277801] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.278076] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.278228] TCP: Hash tables configured (established 8192 bind 8192)
[    0.278259] TCP reno registered
[    0.278289] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.278350] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.278656] NET: Registered protocol family 1
[    0.279205] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.286132] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.306640] VFS: Disk quotas dquot_6.5.2
[    0.307189] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.313598] msgmni has been set to 495
[    0.316162] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.316223] io scheduler noop registered
[    0.316253] io scheduler deadline registered
[    0.316314] io scheduler cfq registered (default)
[    0.331512] OMAP DSS rev 2.0
[    0.335693] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.338500] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    0.339080] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    0.339660] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    0.355499] brd: module loaded
[    0.363464] loop: module loaded
[    0.363891] platform iva.0: IVA freq set to 400MHz
[    0.363983] OMAP overclocker loaded.
[    0.367065] omap2-nand driver initializing
[    0.367279] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
[    0.367889] Creating 5 MTD partitions on "omap2-nand.0":
[    0.367919] 0x000000000000-0x000000080000 : "xloader"
[    0.368988] 0x000000080000-0x000000260000 : "uboot"
[    0.370178] 0x000000260000-0x000000280000 : "uboot-env"
[    0.371002] 0x000000280000-0x000000c80000 : "boot"
[    0.373870] 0x000000c80000-0x000020000000 : "rootfs"
[    0.475372] usbcore: registered new interface driver libusual
[    0.476226] mousedev: PS/2 mouse device common for all mice
[    0.476989] input: keypad as /devices/platform/omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input0
[    0.480010] input: power-button as /devices/platform/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[    0.481689] input: nub0 as /devices/platform/omap_i2c.3/i2c-3/3-0066/input/input2
[    0.483551] input: nub1 as /devices/platform/omap_i2c.3/i2c-3/3-0067/input/input3
[    0.488189] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[    0.488891] i2c /dev entries driver
[    0.493591] bq27x00-battery 3-0055: support ver. 1.2.0 enabled
[    0.513763] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    0.514343] twl4030_wdt twl4030_wdt: Failed to register misc device
[    0.514404] twl4030_wdt: probe of twl4030_wdt failed with error -16
[    0.515045] voltdm_scale: No voltage scale API registered for vdd_mpu_iva
[    0.515075] platform mpu.0: omap_target: unable to scale voltage up.
[    0.515533] cpuidle: using governor ladder
[    0.515563] cpuidle: using governor menu
[    0.516204] omap_hsmmc omap_hsmmc.0: multiblock reads disabled due to 35xx erratum 2.1.1.128; MMC read performance may suffer
[    0.743316] Registered led device: pandora::sd1
[    0.743621] Registered led device: pandora::sd2
[    0.743865] Registered led device: pandora::bluetooth
[    0.744140] Registered led device: pandora::wifi
[    0.745422] Registered led device: pandora::keypad_bl
[    0.746520] Registered led device: pandora::power
[    0.749328] Registered led device: pandora::charger
[    0.750793] usbcore: registered new interface driver usbhid
[    0.750854] usbhid: USB HID core driver
[    0.751129] persistent_ram: uncorrectable error in header
[    0.751159] persistent_ram: no valid data in buffer (sig = 0x191002c8)
[    0.773223] console [ram-1] enabled
[    0.776062] OMAP3 Pandora SoC init
[    0.853240] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[    0.855407] asoc: twl4030-hifi <-> omap-mcbsp-dai.3 mapping ok
[    0.858581] ALSA device list:
[    0.858734]   #0: omap3pandora
[    0.859069] TCP cubic registered
[    0.859191] NET: Registered protocol family 17
[    0.859497] NET: Registered protocol family 15
[    0.859619] Registering the dns_resolver key type
[    0.859924] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[    0.860168] ThumbEE CPU extension supported.
[    0.860443] Registering SWP/SWPB emulation handler
[    0.864196] PM: no software I/O chain control; some wakeups may be lost
[    0.868682] clock: disabling unused clocks to save power
[    0.870269] registered taskstats version 1
[    0.894012] Console: switching to colour frame buffer device 100x30
[    0.994903] mmc0: host does not support reading read-only switch. assuming write-enable.
[    1.000396] mmc0: new high speed SDHC card at address 0007
[    1.004302] mmcblk0: mmc0:0007 SL16G 14.4 GiB
[    1.009826]  mmcblk0: p1 p2
[    1.078216] regulator_init_complete: VAUX2: incomplete constraints, leaving on
[    1.081787] regulator_init_complete: VDAC: incomplete constraints, leaving on
[    1.087677] input: gpio-keys as /devices/platform/gpio-keys/input/input4
[    1.092742] twl_rtc twl_rtc: setting system clock to 2022-10-29 12:58:50 UTC (1667048330)
[    1.103088] kjournald starting.  Commit interval 5 seconds
[    1.223205] mmc1: host does not support reading read-only switch. assuming write-enable.
[    1.229888] mmc1: new high speed SDHC card at address aaaa
[    1.234252] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
[    1.245880]  mmcblk1: p1 p2
[    1.346893] mmc2: card claims to support voltages below the defined range. These will be ignored.
[    1.352661] mmc2: new SDIO card at address 0001
[    2.532958] EXT3-fs (mmcblk0p2): using internal journal
[    2.537017] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    2.541046] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    2.548126] devtmpfs: mounted
[    2.552551] Freeing init memory: 200K
[   68.573303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   69.583404] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[   69.586730] sched: RT throttling activated
[   69.590087] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[   69.595397] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[   69.607116] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[   69.610504] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   69.613739] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   69.616882] usb usb1: Product: OMAP-EHCI Host Controller
[   69.620086] usb usb1: Manufacturer: Linux 3.2.57 ehci_hcd
[   69.623107] usb usb1: SerialNumber: ehci-omap.0
[   69.627593] hub 1-0:1.0: USB hub found
[   69.630828] hub 1-0:1.0: 3 ports detected
[   69.730773] cfg80211: Calling CRDA to update world regulatory domain
[   69.943786] wl1251: using dedicated interrupt line
[   70.037506] ieee80211 phy0: Selected rate control algorithm 'pid'
[   70.038452] wl1251: loaded
[   70.042053] wl1251: initialized
[  141.131042] wl1251: ERROR could not get firmware: -2
[  202.131042] wl1251: ERROR could not get firmware: -2

Post automatically merged:

(note I also copied /lib/modules <--- of course)
 

Letalis Sonus

Advanced Member
Joined
Mar 5, 2009
Messages
1,514
Not sure about Devuan, but AFAIK Debian used to avoid shipping any binary firmwares etc until recently, so you may need to manually add the repository containing the non-free packages and install the necessary firmware package. Error code -2 should be "No such file or directory".
 

Linux-SWAT

Forum Addict!
Joined
Feb 13, 2010
Messages
9,048
Get /lib/firmware/wl1251-fw.bin from the OP rootfs then copy it on Devuan ?

What happens when doing "sudo modprobe wl1251" ?
 
Top