[LEDE-DEV] o2 box 6431 / VGV7510KW22 - WLAN did not work

Daniel Golle daniel at makrotopia.org
Fri Sep 23 13:20:48 PDT 2016


Hi Dennis,

[   10.350649] rt2800pci 0000:00:0e.0: Direct firmware load for RT3062.eeprom failed with error -2
you are lacking the EEPROM which is supposedly stored in some awkward
place (like the stock-firmware's rootfs).
it might also be an *actual* eerpom on the wifi-module, i saw that
before after hexdump-walking through the stock firmware for ages...
easiest thing you can to: try removing these line
        ralink_eep {
                compatible = "ralink,eeprom";
                ralink,eeprom = "RT3062.eeprom";
        };

from target/linux/ramips/dts/VGV7510KW22.dtsi and see what happends.
if the wifi interface comes up, probably you got a 'real' eeprom rather
than software emulation.
if that doesn't help, try extracting some other device's eeprom -- but
be warned: the callibration data stored then doesn't match the
properties of the device you got! (ie. test it briefly inside your
home's basement or something like that, do NOT use an eeprom belonging
to some other device, you may break laws and fry your brains when doing
so!)
the best would be to recovert the eeprom from the stock firmware...
(feel free to share a full flash dump, i'll try my best then)

Cheers

Daniel

PS: please do not send attachments or HTML formatted emails to the
mailing list in future! use plain text only!


On Fri, Sep 23, 2016 at 09:57:07PM +0200, Dennis Schneck wrote:
> 
> Hi Daniel,
> please see the attached files.
> 
> Thanks
> Dennis
>  
>  
> 
> Gesendet: Freitag, 23. September 2016 um 21:49 Uhr
> Von: "Daniel Golle" <daniel at makrotopia.org>
> An: "Dennis Schneck" <dennisschneck at web.de>
> Cc: lede-dev at lists.infradead.org
> Betreff: Re: [LEDE-DEV] o2 box 6431 / VGV7510KW22 - WLAN did not work
> On Fri, Sep 23, 2016 at 08:14:03PM +0200, Dennis Schneck wrote:
> >
> >
> > Hello,
> > i use the o2 box 6431 / VGV7510KW22 with LEDE r1640.
> > But the wireless did not work.
> >  
> > The Kernel Module: rt2800.... is loaded
> > but there is no wlan interface.
> 
> weird. please post your kernel log and the output of
> cat /proc/bus/pci/devices
> it should actually work and i got a similar device here
> working well with rt2800pci... maybe the eeprom is missing or we
> haven't found a method to extract it from the original fw...?
> 
> >  
> > How to fix this ?
> >  
> > Thanks
> > Dennis
> >
> > _______________________________________________
> > Lede-dev mailing list
> > Lede-dev at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/lede-dev

> root at lede:~# cat /proc/bus/pci/devices
> 0070	18143592	1e	        18000000	               0	               0	               0	               0	               0	               0	           10001	               0	               0	               0	               0	               0	               0	

> root at lede:~# dmesg 
> [    0.000000] Linux version 4.4.21 (buildbot at builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1422) ) #0 Wed Sep 21 12:20:20 2016
> [    0.000000] SoC: xRX200 rev 1.2
> [    0.000000] bootconsole [early0] enabled
> [    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
> [    0.000000] MIPS: machine is VGV7510KW22 - o2 Box 6431
> [    0.000000] Determined physical RAM map:
> [    0.000000]  memory: 04000000 @ 00000000 (usable)
> [    0.000000] Initrd not found or empty - disabling initrd
> [    0.000000] Zone ranges:
> [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
> [    0.000000] Movable zone start for each node
> [    0.000000] Early memory node ranges
> [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
> [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
> [    0.000000] On node 0 totalpages: 16384
> [    0.000000] free_area_init_node: node 0, pgdat 805144b0, node_mem_map 810089e0
> [    0.000000]   Normal zone: 128 pages used for memmap
> [    0.000000]   Normal zone: 0 pages reserved
> [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
> [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
> [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
> [    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: 16256
> [    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
> [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
> [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> [    0.000000] Writing ErrCtl register=00075940
> [    0.000000] Readback ErrCtl register=00075940
> [    0.000000] Memory: 58136K/65536K available (3901K kernel code, 170K rwdata, 1252K rodata, 1188K init, 212K bss, 7400K reserved, 0K cma-reserved)
> [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> [    0.000000] NR_IRQS:256
> [    0.000000] CPU Clock: 500MHz
> [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
> [    0.000010] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
> [    0.007854] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
> [    0.042317] pid_max: default: 32768 minimum: 301
> [    0.047155] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.053726] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.066783] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
> [    0.076601] pinctrl core: initialized pinctrl subsystem
> [    0.083088] NET: Registered protocol family 16
> [    0.092239] pinctrl-xway 1e100b10.pinmux: Init done
> [    0.097774] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
> [    0.207853] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
> [    0.222964] PCI host bridge /fpi at 10000000/pci at E105400 ranges:
> [    0.228608]  MEM 0x0000000018000000..0x0000000019ffffff
> [    0.233863]   IO 0x000000001ae00000..0x000000001affffff
> [    0.254700] usbcore: registered new interface driver usbfs
> [    0.260190] usbcore: registered new interface driver hub
> [    0.265549] usbcore: registered new device driver usb
> [    0.271062] PCI host bridge to bus 0000:00
> [    0.275058] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
> [    0.281966] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
> [    0.288911] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
> [    0.295767] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
> [    0.303815] pci 0000:00:0e.0: [1814:3592] type 00 class 0x028000
> [    0.303871] pci 0000:00:0e.0: reg 0x10: [mem 0xffff0000-0xffffffff]
> [    0.303970] pci 0000:00:0e.0: PME# supported from D0 D3hot D3cold
> [    0.304270] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
> [    0.304311] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
> [    0.312139] clocksource: Switched to clocksource MIPS
> [    0.318735] NET: Registered protocol family 2
> [    0.324041] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.330935] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.337311] TCP: Hash tables configured (established 1024 bind 1024)
> [    0.343826] UDP hash table entries: 256 (order: 0, 4096 bytes)
> [    0.349663] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> [    0.356284] NET: Registered protocol family 1
> [    0.360623] PCI: CLS 0 bytes, default 32
> [    0.367534] gptu: totally 6 16-bit timers/counters
> [    0.372374] gptu: misc_register on minor 63
> [    0.376473] gptu: succeeded to request irq 126
> [    0.380960] gptu: succeeded to request irq 127
> [    0.385473] gptu: succeeded to request irq 128
> [    0.389987] gptu: succeeded to request irq 129
> [    0.394501] gptu: succeeded to request irq 130
> [    0.399014] gptu: succeeded to request irq 131
> [    0.403881] ralink,eeprom ralink_eep: using RT3062.eeprom as eeprom
> [    0.410272] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy22f_a2x.bin
> [    0.417569] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 3980000
> [    0.423894] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 3980000
> [    0.531429] futex hash table entries: 256 (order: -1, 3072 bytes)
> [    0.537531] Crashlog allocated RAM at address 0x3f00000
> [    0.563437] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    0.569188] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
> [    0.583123] io scheduler noop registered
> [    0.586946] io scheduler deadline registered (default)
> [    0.592882] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
> [    0.601780] console [ttyLTQ0] enabled
> [    0.609105] bootconsole [early0] disabled
> [    0.618170] lantiq nor flash device: 01000000 at 10000000
> [    0.622289] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
> [    0.631729] Amd/Fujitsu Extended Query Table at 0x0040
> [    0.636865]   Amd/Fujitsu Extended Query version 1.3.
> [    0.641897] number of CFI chips: 1
> [    0.645328] 4 ofpart partitions found on MTD device ltq_nor
> [    0.650861] Creating 4 MTD partitions on "ltq_nor":
> [    0.655740] 0x000000fe0000-0x000001000000 : "board_config"
> [    0.664811] 0x000000000000-0x000000060000 : "uboot"
> [    0.670393] 0x000000060000-0x000000080000 : "uboot-env"
> [    0.676372] 0x000000080000-0x000000fe0000 : "firmware"
> [    0.692578] 2 uimage-fw partitions found on MTD device firmware
> [    0.697110] 0x000000080000-0x00000022665f : "kernel"
> [    0.703797] 0x00000022665f-0x000000fe0000 : "rootfs"
> [    0.709532] mtd: device 5 (rootfs) set to be root filesystem
> [    0.713833] 1 squashfs-split partitions found on MTD device rootfs
> [    0.719950] 0x000000500000-0x000000fe0000 : "rootfs_data"
> [    0.830841] libphy: lantiq,xrx200-mdio: probed
> [    0.904843] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:11, irq=-1)
> [    0.972831] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:12, irq=-1)
> [    1.040830] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:13, irq=-1)
> [    1.108831] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:14, irq=-1)
> [    1.180312] eth1: attached PHY [ICPlus IP101A/G] (phy_addr=0:01, irq=-1)
> [    1.187183] ltq-cputemp cputemp at 0: Current CPU die temperature: 96 ??C
> [    1.192547] wdt 1f8803f0.watchdog: Init done
> [    1.200052] NET: Registered protocol family 10
> [    1.210049] NET: Registered protocol family 17
> [    1.213210] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
> [    1.225721] 8021q: 802.1Q VLAN Support v1.8
> [    1.240695] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
> [    1.250297] Freeing unused kernel memory: 1188K (80537000 - 80660000)
> [    2.362913] init: Console is alive
> [    2.365209] init: - watchdog -
> [    3.172727] eth0: port 3 got link
> [    3.629892] dwc2 1e101000.ifxhcd: requested GPIO 509
> [    3.633496] dwc2 1e101000.ifxhcd: Configuration mismatch. Forcing host mode
> [    4.496337] dwc2 1e101000.ifxhcd: DWC OTG Controller
> [    4.499931] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
> [    4.507243] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
> [    4.512771] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
> [    4.520216] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
> [    4.527775] hub 1-0:1.0: USB hub found
> [    4.530656] hub 1-0:1.0: 1 port detected
> [    4.536943] init: - preinit -
> [    5.281436] random: procd: uninitialized urandom read (4 bytes read, 22 bits of entropy available)
> [    8.622292] jffs2: notice: (393) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
> [    8.639259] mount_root: switching to jffs2 overlay
> [    8.651749] urandom-seed: Seeding with /etc/urandom.seed
> [    8.826043] procd: - early -
> [    8.827653] procd: - watchdog -
> [    9.172179] eth0: port 3 lost link
> [    9.483734] procd: - ubus -
> [    9.496908] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
> [    9.536765] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
> [    9.544913] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
> [    9.553399] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
> [    9.563302] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
> [    9.571323] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
> [    9.580581] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
> [    9.589558] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
> [    9.598801] procd: - init -
> [    9.991373] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
> [   10.003774] NET: Registered protocol family 8
> [   10.006740] NET: Registered protocol family 20
> [   10.018456] PPP generic driver version 2.4.2
> [   10.029628] ip6_tables: (C) 2000-2006 Netfilter Core Team
> [   10.058364] Lantiq (VRX) DSL CPE MEI driver, version 1.5.17.6, (c) 2007-2015 Lantiq Beteiligungs-GmbH & Co. KG
> [   10.058364] 
> [   10.058364] Lantiq CPE API Driver version: DSL CPE API V4.17.18.6
> [   10.083030] 
> [   10.083030] Predefined debug level: 3
> [   10.095496] Loading modules backported from Linux version wt-2016-06-20-0-gbc17424
> [   10.101681] Backport generated by backports.git backports-20160216-7-g5735958
> [   10.113947] ip_tables: (C) 2000-2006 Netfilter Core Team
> [   10.126082] Infineon Technologies DEU driver version 2.0.0 
> [   10.132188] IFX DEU DES initialized (multiblock).
> [   10.136522] IFX DEU AES initialized (multiblock).
> [   10.140612] IFX DEU ARC4 initialized (multiblock).
> [   10.145232] IFX DEU SHA1 initialized.
> [   10.148830] IFX DEU MD5 initialized.
> [   10.152492] IFX DEU SHA1_HMAC initialized.
> [   10.156493] IFX DEU MD5_HMAC initialized.
> [   10.168502] nf_conntrack version 0.5.0 (926 buckets, 3704 max)
> [   10.198280] NET: Registered protocol family 24
> [   10.228504] xt_time: kernel timezone is -0000
> [   10.330250] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
> [   10.334709] rt2800pci 0000:00:0e.0: failed to load eeprom property
> [   10.340701] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
> [   10.350649] rt2800pci 0000:00:0e.0: Direct firmware load for RT3062.eeprom failed with error -2
> [   10.359155] rt2800pci 0000:00:0e.0: Falling back to user helper
> [   10.597927] firmware RT3062.eeprom: firmware_loading_store: map pages failed
> [   10.603810] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
> [   10.612118] rt2800pci: probe of 0000:00:0e.0 failed with error -11
> [   12.687465] random: jshn: uninitialized urandom read (4 bytes read, 52 bits of entropy available)
> [   17.176693] PTM 1.0.27    PTM (E1) firmware version 0.30
> [   17.180613] ifxmips_ptm: PTM init succeed
> [   22.128236] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   22.147146] device eth0.1 entered promiscuous mode
> [   22.150562] device eth0 entered promiscuous mode
> [   22.169785] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
> [   22.239503] IPv6: ADDRCONF(NETDEV_UP): ptm0: link is not ready
> [   22.256388] eth0: port 3 got link
> [   22.258460] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [   22.284308] br-lan: port 1(eth0.1) entered forwarding state
> [   22.288565] br-lan: port 1(eth0.1) entered forwarding state
> [   22.396886] IPv6: ADDRCONF(NETDEV_UP): ptm0.232: link is not ready
> [   22.401769] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
> [   22.419524] IPv6: ADDRCONF(NETDEV_UP): ptm0.132: link is not ready
> [   24.292156] br-lan: port 1(eth0.1) entered forwarding state
> [   31.468199] random: nonblocking pool is initialized
> [   55.267648] enter showtime
> [   55.269145] IPv6: ADDRCONF(NETDEV_CHANGE): ptm0: link becomes ready
> [   55.280000] enter showtime
> [   55.283485] IPv6: ADDRCONF(NETDEV_CHANGE): ptm0.132: link becomes ready
> [   55.289241] IPv6: ADDRCONF(NETDEV_CHANGE): ptm0.232: link becomes ready

> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev




More information about the Lede-dev mailing list