Modify

Opened 5 years ago

Last modified 4 years ago

#13332 assigned defect

r36276-RT3052 the router(f5d8235 v2) have no network connections even wifi and ethernet

Reported by: anonymous Owned by: blogic
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: rt3052 Cc:

Description

Hi everyone!
I am able to successfully to build the newest ROM(base on trunk r36276) that can boot on f5d8235 v2.
However, the end result is the router will NOT have any network connections. In fact, both WIFI and Ethernet are absent.
The following is the start inforamation FYI

U-Boot 1.1.3 (Nov  7 2008 - 00:24:27)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fa0000
=====config_usbotg =====
flash_protect ON: from 0xBF000000 to 0xBF02F0F7
protect on 0
protect on 1
protect on 2
protect on 3
protect on 4
protect on 5
protect on 6
protect on 7
protect on 8
protect on 9
flash_protect ON: from 0xBF030000 to 0xBF03FFFF
protect on 10
============================================ 
Ralink UBoot Version: 3.2
-------------------------------------------- 
ASIC 3052_MP2 (Port5<->GigaSW)
DRAM COMPONENT: 128Mbits 
DRAM BUS: 32BIT 
Total memory: 32 MBytes
Date:Nov  7 2008  Time:00:24:27
============================================ 
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384 

 ##### The CPU freq = 384 MHZ #### 

 SDRAM bus set to 32 bit 
 SDRAM size =32 Mbytes

Please choose the operation: 
   1: Load system code to SDRAM via TFTP. 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   9: Load Boot Loader code then write to Flash via TFTP. 
 0 
   
3: System Boot system code via Flash.
## Booting image at bf050000 ...
   Image Name:   MIPS OpenWrt Linux-3.8.6
   Created:      2013-04-09   8:36:58 UTC

 System Control Status = 0x10440000 
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    943812 Bytes = 921.7 kB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[    0.000000] Linux version 3.8.6 (david@david) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r36211) ) #1 Tue Apr 9 16:36:38 CST 2013
[    0.000000] SoC Type: Ralink RT3052 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] memory window: 0x0, min: 2MB, max: 64MB
[    0.000000] memory detected: 32MB
[    0.000000] MIPS: machine is Belkin F5D8235 v2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 mtdparts=1f000000.cfi:320k(u-boot)ro,7744k(firmware),64k(nvram),64k(factory) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=0002bc20
[    0.000000] Readback ErrCtl register=0002bc20
[    0.000000] Memory: 29496k/32768k available (2057k kernel code, 3272k reserved, 503k data, 188k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] CPU Clock: 384MHz
[    0.000000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.120000] bio: create slab <bio-0> at 0
[    0.130000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.140000] Switching to clocksource MIPS
[    0.150000] NET: Registered protocol family 2
[    0.160000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.170000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.190000] TCP: Hash tables configured (established 512 bind 512)
[    0.200000] TCP: reno registered
[    0.210000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.230000] NET: Registered protocol family 1
[    0.240000] rt-timer 10000100.timer: maximum frequncy is 7812Hz
[    0.280000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.290000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.310000] msgmni has been set to 57
[    0.320000] io scheduler noop registered
[    0.330000] io scheduler deadline registered (default)
[    0.340000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.350000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.370000] console [ttyS0] enabled, bootconsole disabled
[    0.370000] console [ttyS0] enabled, bootconsole disabled
[    0.390000] 1f000000.cfi: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.410000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.420000]   Amd/Fujitsu Extended Query version 1.1.
[    0.430000] number of CFI chips: 1
[    0.440000] 4 cmdlinepart partitions found on MTD device 1f000000.cfi
[    0.450000] Creating 4 MTD partitions on "1f000000.cfi":
[    0.460000] 0x000000000000-0x000000050000 : "u-boot"
[    0.480000] 0x000000050000-0x0000007e0000 : "firmware"
[    0.490000] found squashfs behind kernel
[    0.500000] Creating 2 MTD partitions on "1f000000.cfi":
[    0.510000] 0x000000050000-0x000000136704 : "kernel"
[    0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] 0x000000136704-0x0000007e0000 : "rootfs"
[    0.560000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.580000] mtd: partition "rootfs" set to be root filesystem
[    0.600000] mtd: partition "rootfs_data" created automatically, ofs=410000, len=3D0000 
[    0.610000] 0x000000410000-0x0000007e0000 : "rootfs_data"
[    0.620000] 0x0000007e0000-0x0000007f0000 : "nvram"
[    0.640000] 0x0000007f0000-0x000000800000 : "factory"
[    0.650000] rt305x-esw 10110000.esw: link changed 0x00
[    0.670000] eth0: done loading
[    0.680000] TCP: cubic registered
[    0.680000] NET: Registered protocol family 17
[    0.690000] 8021q: 802.1Q VLAN Support v1.8
[    0.710000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.720000] Freeing unused kernel memory: 188k freed
[    3.320000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    6.740000] jffs2: notice: (386) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 14 of xref (0 dead, 2 orphan) found.
[    7.550000] SCSI subsystem initialized
[    7.710000] usbcore: registered new interface driver usbfs
[    7.720000] usbcore: registered new interface driver hub
[    7.740000] usbcore: registered new device driver usb
[    7.880000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.900000] ehci-platform: EHCI generic platform driver
[    8.020000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.050000] dwc_otg: version 2.72a 24-JUN-2008
[    8.060000] dwc_otg: Core Release: 2.66a
[    8.260000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[    8.280000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[    8.290000] dwc_otg: Using DMA mode
[    8.300000] dwc_otg: Device using Buffer DMA mode
[    8.310000] dwc_otg 101c0000.otg: DWC OTG Controller
[    8.320000] dwc_otg 101c0000.otg: new USB bus registered, assigned bus number 1
[    8.330000] dwc_otg 101c0000.otg: irq 26, io mem 0x101c0000
[    8.340000] dwc_otg: Init: Port Power? op_state=1
[    8.350000] dwc_otg: Init: Power Port (0)
[    8.360000] hub 1-0:1.0: USB hub found
[    8.370000] hub 1-0:1.0: 1 port detected
[    8.400000] Initializing USB Mass Storage driver...
[    8.410000] usbcore: registered new interface driver usb-storage
[    8.420000] USB Mass Storage support registered.
[   15.950000] rt305x-esw 10110000.esw: link changed 0x08
switching to jffs2
- init -

Please press Enter to activate this console. [   30.700000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[   30.710000] Backport based on wireless-testing.git master-2013-02-22
[   30.720000] compat.git: wireless-testing.git
[   30.890000] cfg80211: Calling CRDA to update world regulatory domain
[   30.900000] cfg80211: World regulatory domain updated:
[   30.910000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   30.920000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.940000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   30.960000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   30.970000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.990000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   31.920000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[   31.930000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[   31.950000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 2872, rf: 0008, rev: 0200.
[   32.030000] PPP generic driver version 2.4.2
[   32.440000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   32.720000] NET: Registered protocol family 24
[   32.800000] nf_conntrack version 0.5.0 (463 buckets, 1852 max)
[   33.680000] xt_time: kernel timezone is -0000
[   34.150000] usbcore: registered new interface driver usblp
[   34.310000] usbcore: registered new interface driver ums-alauda
[   34.340000] usbcore: registered new interface driver ums-cypress
[   34.370000] usbcore: registered new interface driver ums-datafab
[   34.400000] usbcore: registered new interface driver ums-freecom
[   34.430000] usbcore: registered new interface driver ums-isd200
[   34.460000] usbcore: registered new interface driver ums-jumpshot
[   34.490000] usbcore: registered new interface driver ums-karma
[   34.530000] usbcore: registered new interface driver ums-sddr09
[   34.560000] usbcore: registered new interface driver ums-sddr55
[   34.590000] usbcore: registered new interface driver ums-usbat
[   34.960000] u32 classifier
[   34.970000]     Performance counters on
[   34.970000]     input device check on
[   34.980000]     Actions configured
[   35.180000] Mirror/redirect action on
[   40.270000] device eth0.1 entered promiscuous mode
[   40.280000] device eth0 entered promiscuous mode
[   40.290000] br-lan: port 1(eth0.1) entered forwarding state
[   40.300000] br-lan: port 1(eth0.1) entered forwarding state
[   42.300000] br-lan: port 1(eth0.1) entered forwarding state
[   42.800000] ralink-wdt: timeout value 60 must be 0 < timeout <= 33, using 30

The router will stop at "ralink-wdt: timeout value 60 must be 0 < timeout <= 33, using 30"

If i press"ENTER", it will show like the below

BusyBox v1.19.4 (2013-04-06 11:53:35 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r36276)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------

run "uname -a",feedback as below

Linux OpenWrt 3.8.6 #1 Tue Apr 9 16:36:38 CST 2013 mips GNU/Linux

run "etc/init.d/network restart" feed back as below

root@OpenWrt:/# /etc/init.d/network restart
[  878.860000] br-lan: port 1(eth0.1) entered disabled state
[  878.880000] device eth0.1 left promiscuous mode
[  878.880000] br-lan: port 1(eth0.1) entered disabled state
[  879.150000] device eth0 left promiscuous mode
[  880.920000] device eth0.1 entered promiscuous mode
[  880.930000] device eth0 entered promiscuous mode
[  880.960000] br-lan: port 1(eth0.1) entered forwarding state
[  880.970000] br-lan: port 1(eth0.1) entered forwarding state
[  882.970000] br-lan: port 1(eth0.1) entered forwarding state
'radio0' is disabled
'radio0' is disabled
'radio0' is disabled

Run “logcat” and "dmesg"

root@OpenWrt:/# logcat
/bin/ash: logcat: not found
root@OpenWrt:/# dmesg
[    0.000000] Linux version 3.8.6 (david@david) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r36211) ) #1 Tue Apr 9 16:36:38 CST 2013
[    0.000000] SoC Type: Ralink RT3052 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] memory window: 0x0, min: 2MB, max: 64MB
[    0.000000] memory detected: 32MB
[    0.000000] MIPS: machine is Belkin F5D8235 v2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80270470, node_mem_map 81002a80
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no 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: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 mtdparts=1f000000.cfi:320k(u-boot)ro,7744k(firmware),64k(nvram),64k(factory) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00009c20
[    0.000000] Readback ErrCtl register=00009c20
[    0.000000] Memory: 29496k/32768k available (2057k kernel code, 3272k reserved, 503k data, 188k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] CPU Clock: 384MHz
[    0.070000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.120000] bio: create slab <bio-0> at 0
[    0.130000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.140000] Switching to clocksource MIPS
[    0.150000] NET: Registered protocol family 2
[    0.160000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.170000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.190000] TCP: Hash tables configured (established 512 bind 512)
[    0.200000] TCP: reno registered
[    0.200000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.230000] NET: Registered protocol family 1
[    0.240000] rt-timer 10000100.timer: maximum frequncy is 7812Hz
[    0.280000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.290000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.310000] msgmni has been set to 57
[    0.320000] io scheduler noop registered
[    0.320000] io scheduler deadline registered (default)
[    0.340000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.350000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.370000] console [ttyS0] enabled, bootconsole disabled
[    0.390000] 1f000000.cfi: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.410000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.420000]   Amd/Fujitsu Extended Query version 1.1.
[    0.430000] number of CFI chips: 1
[    0.440000] 4 cmdlinepart partitions found on MTD device 1f000000.cfi
[    0.450000] Creating 4 MTD partitions on "1f000000.cfi":
[    0.460000] 0x000000000000-0x000000050000 : "u-boot"
[    0.480000] 0x000000050000-0x0000007e0000 : "firmware"
[    0.490000] found squashfs behind kernel
[    0.500000] Creating 2 MTD partitions on "1f000000.cfi":
[    0.510000] 0x000000050000-0x000000136704 : "kernel"
[    0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] 0x000000136704-0x0000007e0000 : "rootfs"
[    0.560000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.580000] mtd: partition "rootfs" set to be root filesystem
[    0.600000] mtd: partition "rootfs_data" created automatically, ofs=410000, len=3D0000 
[    0.610000] 0x000000410000-0x0000007e0000 : "rootfs_data"
[    0.630000] 0x0000007e0000-0x0000007f0000 : "nvram"
[    0.640000] 0x0000007f0000-0x000000800000 : "factory"
[    0.650000] rt305x-esw 10110000.esw: link changed 0x00
[    0.670000] eth0: done loading
[    0.680000] TCP: cubic registered
[    0.680000] NET: Registered protocol family 17
[    0.690000] 8021q: 802.1Q VLAN Support v1.8
[    0.710000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.720000] Freeing unused kernel memory: 188k freed
[    3.320000] Button Hotplug driver version 0.4.1
[    6.720000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x30000
[    6.740000] jffs2_build_filesystem(): unlocking the mtd device... done.
[    6.750000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[   39.100000] jffs2: notice: (386) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   39.910000] SCSI subsystem initialized
[   40.070000] usbcore: registered new interface driver usbfs
[   40.080000] usbcore: registered new interface driver hub
[   40.090000] usbcore: registered new device driver usb
[   40.230000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   40.250000] ehci-platform: EHCI generic platform driver
[   40.370000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   40.400000] dwc_otg: version 2.72a 24-JUN-2008
[   40.410000] dwc_otg: Core Release: 2.66a
[   40.610000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[   40.630000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[   40.640000] dwc_otg: Using DMA mode
[   40.650000] dwc_otg: Device using Buffer DMA mode
[   40.660000] dwc_otg 101c0000.otg: DWC OTG Controller
[   40.670000] dwc_otg 101c0000.otg: new USB bus registered, assigned bus number 1
[   40.680000] dwc_otg 101c0000.otg: irq 26, io mem 0x101c0000
[   40.690000] dwc_otg: Init: Port Power? op_state=1
[   40.700000] dwc_otg: Init: Power Port (0)
[   40.710000] hub 1-0:1.0: USB hub found
[   40.720000] hub 1-0:1.0: 1 port detected
[   40.740000] Initializing USB Mass Storage driver...
[   40.760000] usbcore: registered new interface driver usb-storage
[   40.770000] USB Mass Storage support registered.
[   63.030000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[   63.040000] Backport based on wireless-testing.git master-2013-02-22
[   63.050000] compat.git: wireless-testing.git
[   63.220000] cfg80211: Calling CRDA to update world regulatory domain
[   63.230000] cfg80211: World regulatory domain updated:
[   63.240000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   63.250000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   63.270000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   63.290000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   63.300000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   63.320000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   64.240000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[   64.260000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[   65.830000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 2872, rf: 0008, rev: 0200.
[   65.850000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   66.120000] PPP generic driver version 2.4.2
[   66.530000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   66.800000] NET: Registered protocol family 24
[   66.880000] nf_conntrack version 0.5.0 (463 buckets, 1852 max)
[   67.760000] xt_time: kernel timezone is -0000
[   68.230000] usbcore: registered new interface driver usblp
[   68.380000] usbcore: registered new interface driver ums-alauda
[   68.410000] usbcore: registered new interface driver ums-cypress
[   68.450000] usbcore: registered new interface driver ums-datafab
[   68.480000] usbcore: registered new interface driver ums-freecom
[   68.510000] usbcore: registered new interface driver ums-isd200
[   68.540000] usbcore: registered new interface driver ums-jumpshot
[   68.570000] usbcore: registered new interface driver ums-karma
[   68.600000] usbcore: registered new interface driver ums-sddr09
[   68.630000] usbcore: registered new interface driver ums-sddr55
[   68.670000] usbcore: registered new interface driver ums-usbat
[   69.040000] u32 classifier
[   69.040000]     Performance counters on
[   69.050000]     input device check on
[   69.060000]     Actions configured
[   69.260000] Mirror/redirect action on
[   75.310000] device eth0.1 entered promiscuous mode
[   75.320000] device eth0 entered promiscuous mode
[   75.330000] br-lan: port 1(eth0.1) entered forwarding state
[   75.340000] br-lan: port 1(eth0.1) entered forwarding state
[   77.340000] br-lan: port 1(eth0.1) entered forwarding state
[   77.740000] ralink-wdt: timeout value 60 must be 0 < timeout <= 33, using 30
[  878.860000] br-lan: port 1(eth0.1) entered disabled state
[  878.880000] device eth0.1 left promiscuous mode
[  878.880000] br-lan: port 1(eth0.1) entered disabled state
[  879.150000] device eth0 left promiscuous mode
[  880.920000] device eth0.1 entered promiscuous mode
[  880.930000] device eth0 entered promiscuous mode
[  880.960000] br-lan: port 1(eth0.1) entered forwarding state
[  880.970000] br-lan: port 1(eth0.1) entered forwarding state
[  882.970000] br-lan: port 1(eth0.1) entered forwarding state
root@OpenWrt:/# 

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by thehogs

Firstly I'm a newbie here but experienced SW engineer. So not sure how to fix / patch back this stuff but maybe this will help somebody else diagnose the problems.

Two problems I can see, that I've looked into are:

1) ralink-wdt: timeout value 60 must be 0 < timeout <= 33, using 30

a) Timer is out of range (not sure where to correct that)
b) Handler code says it is using existing value (30) but actually returns EINVAL

in \target\linux\ramips\files-3.7\drivers\watchdog

This should fix the problem:

static int ramips_wdt_set_timeout(int val)
{

if (val < 1
val > ramips_wdt_max_timeout) {

pr_warn(DRIVER_NAME

": timeout value %d must be 0 < timeout <= %d, using %d\n",
val, ramips_wdt_max_timeout, ramips_wdt_timeout);

}
else
{

/* Only use new value if valid */
ramips_wdt_timeout = val;

}
ramips_wdt_keepalive();

return 0;

}

2) rt2800_wmac 10180000.wmac: failed to load eeprom property

After looking into the build I can see that (in drivers\net\wireless) no driver is not built for this configuration. It looks like the correct configurations are set during make menuconfig (for f5d8235 v2) but the code in the drivers\net\wireless\rt2x00 is not being built. Actually none of these varaint seems to be build.

I experimented by chaning the build_dir.....drivers\net\wireless\Makefile and it appears that CONFIG_RT2X00 is not set when building so never compile the code. Maybe I have misunderstood what is happening. HOWEVER during the final staages of the build it is finding a driver from somewhere as it shows:

Generating index for package ./kmod-rt2800-lib_3.8.11+2013-04-16-1_ramips_24kec.ipk
Generating index for package ./kmod-rt2800-pci_3.8.11+2013-04-16-1_ramips_24kec.ipk
Generating index for package ./kmod-rt2800-usb_3.8.11+2013-04-16-1_ramips_24kec.ipk
Generating index for package ./kmod-rt2x00-lib_3.8.11+2013-04-16-1_ramips_24kec.ipk
Generating index for package ./kmod-rt2x00-pci_3.8.11+2013-04-16-1_ramips_24kec.ipk
Generating index for package ./kmod-rt2x00-soc_3.8.11+2013-04-16-1_ramips_24kec.ipk
Generating index for package ./kmod-rt2x00-usb_3.8.11+2013-04-16-1_ramips_24kec.ipk

comment:2 Changed 5 years ago by blogic

  • Owner changed from developers to blogic
  • Status changed from new to assigned

comment:3 Changed 5 years ago by thehogs

I have found a fix, that works for attitude and Barrier.
The location of the files varies between the releases, and I don't know how to patch.

1) FPA2 value needs to be set up (./target/linux/ramips/files/arch/mips/ralink/rt305x/mach-f5d8535-v2.c) same as mach-w1351.c

rt305x_esw_data.reg_initval_fpa2 = 0x1f003fff;

2) Switch settings switch0 should be switch1 (./target/linux/ramips/base-files/etc/uci-defaults/network)

f5d8235-v2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch1" "1" "1"
ucidef_add_switch_vlan "switch1" "1" "1 2 3 4 5t"
ucidef_add_switch_vlan "switch1" "2" "0 5t"
;;

Note. 2) could also be fixed if switch1 and switch0 were swapped in which is initialized first.

comment:4 Changed 4 years ago by kangxn@…

@thehogs, which revision are you using? I've tried several revisions in different branches. Non of them worked.

With some revision I've succeeded in making the external switch detectable, as you've stated, but the ethernet driver doesn't see any packets coming in. Also, the integrated switch0 was also detectable.

The only revision that ethernet worked is the original one that Roman posted in mailing list, but on my router it would enter a reboot loop after firstboot. not sure what happened.

It seems there were a lot of changes in ramips driver sometime between AA release and head. Not sure whether it has something to do with the breakage.

Thanks

comment:5 Changed 4 years ago by cnlohr

Has any progress been made on this? I think I am experiencing a similar problem with my RT5350 in a new device It could be that something else is wrong, since I am porting it.

I can configure a wireless device in luCi, however, the network doesn't show up. This new device has a very different switch configuration, but I do have ethernet working. With this bug, does the wifi network at least show up, even if it cannot connect?

P.S. Ethernet only works after modifying the switch configuration for me.

[   15.700000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[   15.710000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[   15.730000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[   15.750000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[   20.120000] rt305x-esw 10110000.esw: link changed 0x00
[   21.700000] rt305x-esw 10110000.esw: link changed 0x10
procd: - init complete -
[   28.300000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   32.330000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   32.350000] device wlan0 entered promiscuous mode
[   32.400000] br-lan: port 1(wlan0) entered forwarding state
[   32.410000] br-lan: port 1(wlan0) entered forwarding state
[   32.420000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   32.440000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   34.410000] br-lan: port 1(wlan0) entered forwarding state

Add Comment

Modify Ticket

Action
as assigned .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.