#17896: rtl8367rb not detected by swconfig
-----------------------+------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: kernel | Version: Trunk
Keywords: ramips |
-----------------------+------------------------
Hello I'm trying to get openwrt running on a Sitecom WLR-4100 router. The
router has a RT3352F chip. It has also a rtl8367rb switch. Swconfig is
supposed to support this switch. It however does not detect the switch. I
have compiled openwrt from trunk and am sending commands over serial.
dmesg:
{{{
[ 0.000000] Linux version 3.14.16 (xxx@xxx) (gcc version 4.8.3
(OpenWrt/Linaro GCC 4.8-2014.04 r42462) ) #59 Wed Sep 17 xxx CEST 2014
[ 0.000000] SoC Type: Ralink RT3352 id:1 rev:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] MIPS: machine is Sitecom WLR-4100 v1001
[ 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 802b6400, node_mem_map
81003640
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 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
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] Writing ErrCtl register=000464fa
[ 0.000000] Readback ErrCtl register=000464fa
[ 0.000000] Memory: 27172K/32768K available (2284K kernel code, 119K
rwdata, 456K rodata, 2188K init, 180K bss, 5596K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 400MHz
[ 0.000000] clocksource_of_init: no matching clocksources found
[ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.090000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.100000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.110000] pinctrl core: initialized pinctrl subsystem
[ 0.120000] NET: Registered protocol family 16
[ 0.140000] rt2880-pinmux pinctrl.1: found group selector 5 for mdio
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 1 (io1) for pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 2 (io2) for pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 17 (io17) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 18 (io18) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 19 (io19) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 20 (io20) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 21 (io21) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 7 (io7) for pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 8 (io8) for pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 9 (io9) for pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 10 (io10) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 11 (io11) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 12 (io12) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 13 (io13) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 14 (io14) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 24 (io24) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 25 (io25) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 26 (io26) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 27 (io27) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 28 (io28) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 29 (io29) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 30 (io30) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 31 (io31) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 32 (io32) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 33 (io33) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 34 (io34) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 35 (io35) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 22 (io22) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: request pin 23 (io23) for
pinctrl.1
[ 0.140000] rt2880-pinmux pinctrl.1: failed to lookup the sleep state
[ 0.170000] bio: create slab <bio-0> at 0
[ 0.180000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.190000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.200000] Switched to clocksource MIPS
[ 0.210000] NET: Registered protocol family 2
[ 0.220000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.240000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.250000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.260000] TCP: reno registered
[ 0.270000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.280000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.290000] NET: Registered protocol family 1
[ 4.460000] rt-timer 10000100.timer: maximum frequency is 8138Hz
[ 4.480000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[ 4.480000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 4.530000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 4.540000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 4.570000] msgmni has been set to 53
[ 4.580000] io scheduler noop registered
[ 4.590000] io scheduler deadline registered (default)
[ 4.600000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 4.610000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[ 4.610000] pinctrl core: add 1 pinmux maps
[ 4.610000] rt2880-pinmux pinctrl.1: found group selector 3 for
uartlite
[ 4.610000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for
10000c00.uartlite
[ 4.620000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20,
base_baud = 2500000) is a 16550A
[ 4.630000] console [ttyS0] enabled
[ 4.650000] bootconsole [early0] disabled
[ 4.670000] pinctrl core: add 1 pinmux maps
[ 4.670000] rt2880-pinmux pinctrl.1: found group selector 1 for spi
[ 4.670000] rt2880-pinmux pinctrl.1: request pin 3 (io3) for
10000b00.spi
[ 4.670000] rt2880-pinmux pinctrl.1: request pin 4 (io4) for
10000b00.spi
[ 4.670000] rt2880-pinmux pinctrl.1: request pin 5 (io5) for
10000b00.spi
[ 4.670000] rt2880-pinmux pinctrl.1: request pin 6 (io6) for
10000b00.spi
[ 4.690000] eth0: done loading
[ 4.690000] rt3xxx-usbphy usbphy.3: loaded
[ 4.700000] rt2880_wdt 10000120.watchdog: Initialized
[ 4.720000] TCP: cubic registered
[ 4.720000] NET: Registered protocol family 17
[ 4.730000] 8021q: 802.1Q VLAN Support v1.8
[ 4.760000] Freeing unused kernel memory: 2188K (802cd000 - 804f0000)
[ 4.850000] usbcore: registered new interface driver usbfs
[ 4.860000] usbcore: registered new interface driver hub
[ 4.870000] usbcore: registered new device driver usb
[ 5.160000] random: mktemp urandom read with 8 bits of entropy
available
[ 10.060000] NET: Registered protocol family 10
[ 10.080000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[ 10.100000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.130000] Loading modules backported from Linux version
master-2014-05-22-0-gf2032ea
[ 10.150000] Backport generated by backports.git
backports-20140320-37-g5c33da0
[ 10.170000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.250000] xt_time: kernel timezone is -0000
[ 10.300000] cfg80211: Calling CRDA to update world regulatory domain
[ 10.320000] cfg80211: World regulatory domain updated:
[ 10.330000] cfg80211: DFS Master region: unset
[ 10.330000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 10.350000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 10.370000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 10.390000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
2000 mBm), (N/A)
[ 10.400000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A,
2000 mBm), (N/A)
[ 10.420000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A,
2000 mBm), (0 s)
[ 10.430000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
2000 mBm), (0 s)
[ 10.450000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 10.470000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0 mBm), (N/A)
[ 10.570000] PPP generic driver version 2.4.2
[ 10.580000] NET: Registered protocol family 24
[ 10.640000] rt2800_wmac 10180000.wmac: failed to get mtd device
"factory"
[ 10.660000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info -
Loading EEPROM data from 'soc_wmac.eeprom'.
[ 10.680000] rt2800_wmac 10180000.wmac: Direct firmware load failed with
error -2
[ 10.690000] rt2800_wmac 10180000.wmac: Falling back to user helper
[ 10.760000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error -
Failed to request EEPROM.
[ 10.780000] rt2800_wmac: probe of 10180000.wmac failed with error -2
[ 21.300000] device eth0.1 entered promiscuous mode
[ 21.310000] device eth0 entered promiscuous mode
[ 21.330000] br-lan: port 1(eth0.1) entered forwarding state
[ 21.340000] br-lan: port 1(eth0.1) entered forwarding state
[ 23.340000] br-lan: port 1(eth0.1) entered forwarding state
[ 79.680000] random: nonblocking pool is initialized
}}}
the last errors are due to flash not being found. That is a different
problem. I don't see any related messages here.
{{{
root@OpenWrt:/# swconfig list
Found: switch0 - rt305x
}}}
As can be seen here, swconfig does not detect the switch.
Hope someone can help.
Thanks!
--
Ticket URL: <https://dev.openwrt.org/ticket/17896>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets