Skip to content

Instantly share code, notes, and snippets.

@Python1320
Last active January 5, 2017 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Python1320/833fcfa62fc386c7e37a to your computer and use it in GitHub Desktop.
Save Python1320/833fcfa62fc386c7e37a to your computer and use it in GitHub Desktop.
arv7510pw / ARV4510PW openwrt trunk linux kernel 4 pci troubles notes
--- a/arch/mips/lantiq/irq.c
+++ b/arch/mips/lantiq/irq.c
@@ -127,8 +127,8 @@ static int ltq_eiu_settype(struct irq_da
{
int i;
- for (i = 0; i < MAX_EIU; i++) {
- if (d->hwirq == ltq_eiu_irq[i]) {
+ for (i = 0; i < exin_avail; i++) {
+ if (d->irq == ltq_eiu_irq[i]) {
int val = 0;
int edge = 0;
@@ -154,16 +154,18 @@ static int ltq_eiu_settype(struct irq_da
val = 6;
break;
default:
- pr_err("invalid type %d for irq %ld\n",
- type, d->hwirq);
+ pr_err("invalid type %d for irq %u\n",
+ type, d->irq);
return -EINVAL;
}
if (edge)
- irq_set_handler(d->hwirq, handle_edge_irq);
+ irq_set_handler(d->irq, handle_edge_irq);
ltq_eiu_w32(ltq_eiu_r32(LTQ_EIU_EXIN_C) |
(val << (i * 4)), LTQ_EIU_EXIN_C);
+
+ break;
}
}
@@ -175,8 +177,8 @@ static unsigned int ltq_startup_eiu_irq(
int i;
ltq_enable_irq(d);
- for (i = 0; i < MAX_EIU; i++) {
- if (d->hwirq == ltq_eiu_irq[i]) {
+ for (i = 0; i < exin_avail; i++) {
+ if (d->irq == ltq_eiu_irq[i]) {
/* by default we are low level triggered */
ltq_eiu_settype(d, IRQF_TRIGGER_LOW);
/* clear all pending */
@@ -197,8 +199,8 @@ static void ltq_shutdown_eiu_irq(struct
int i;
ltq_disable_irq(d);
- for (i = 0; i < MAX_EIU; i++) {
- if (d->hwirq == ltq_eiu_irq[i]) {
+ for (i = 0; i < exin_avail; i++) {
+ if (d->irq == ltq_eiu_irq[i]) {
/* disable */
ltq_eiu_w32(ltq_eiu_r32(LTQ_EIU_EXIN_INEN) & ~BIT(i),
LTQ_EIU_EXIN_INEN);
@@ -342,10 +344,12 @@ static int icu_map(struct irq_domain *d,
if (hw < MIPS_CPU_IRQ_CASCADE)
return 0;
- for (i = 0; i < exin_avail; i++)
- if (hw == ltq_eiu_irq[i])
+ for (i = 0; i < exin_avail; i++) {
+ if (irq == ltq_eiu_irq[i]) {
chip = &ltq_eiu_type;
-
+ break;
+ }
+ }
irq_set_chip_and_handler(irq, chip, handle_level_irq);
return 0;
@@ -367,6 +371,9 @@ int __init icu_of_init(struct device_nod
struct resource res;
int i, ret;
+ exin_avail = 0;
+ memset(ltq_eiu_irq, 0, sizeof(ltq_eiu_irq));
+
for (i = 0; i < MAX_IM; i++) {
if (of_address_to_resource(node, i, &res))
panic("Failed to get icu memory range");
@@ -451,6 +458,18 @@ int __init icu_of_init(struct device_nod
if (ret)
panic("failed to load external irq resources");
+ /*
+ * FIX :
+ * If icu_map() is called during execution of function
+ * of_irq_to_resource_table() above, as ltq_eiu_irq[] is not set,
+ * icu_map() calls irq_set_chip_and_handler() with wrong chip.
+ * We set the correct chip now.
+ */
+ for (i = 0; (i < exin_avail); i += 1) {
+ irq_set_chip(ltq_eiu_irq[i], &ltq_eiu_type);
+ }
+
+
if (!request_mem_region(res.start, resource_size(&res),
res.name))
pr_err("Failed to request eiu memory");

http://wiki.openwrt.org/toh/arcadyan/arv7510wp

USB/WiFi Problem seems to be PCI IO initialization somehow. In the kernel the PCI offsets have not changed though.

Working dmesg:

[    0.040000] Mount-cache hash table entries: 512
[    0.048000] pinctrl core: initialized pinctrl subsystem
[    0.052000] NET: Registered protocol family 16
[    0.072000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.076000] dma-xway 1e104100.dma: Init done - hw rev: 3, ports: 5, channels: 20
[    0.088000] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.092000]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.096000]   IO 0x000000001ae00000..0x000000001affffff
[    0.120000] bio: create slab <bio-0> at 0
[    0.124000] gpio-stp-xway 1e100bb0.stp: Init done
[    0.132000] usbcore: registered new interface driver usbfs
[    0.136000] usbcore: registered new interface driver hub
[    0.140000] usbcore: registered new device driver usb
[    0.144000] PCI host bridge to bus 0000:00
[    0.148000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.152000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.156000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.164000] pci 0000:00:0c.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.168000] pci 0000:00:0f.2: BAR 0: assigned [mem 0x18010000-0x180100ff]
[    0.172000] pci 0000:00:0f.0: BAR 4: assigned [io  0x1ae00000-0x1ae0001f]
[    0.176000] pci 0000:00:0f.1: BAR 4: assigned [io  0x1ae00020-0x1ae0003f]
[    0.180000] pci 0000:00:0c.0: SLOT:12 PIN:1 IRQ:135
[    0.184000] pci 0000:00:0f.0: SLOT:15 PIN:1 IRQ:66
[    0.188000] pci 0000:00:0f.1: SLOT:15 PIN:2 IRQ:66
[    0.192000] pci 0000:00:0f.2: SLOT:15 PIN:3 IRQ:66
[    0.196000] Switching to clocksource MIPS
[    0.204000] NET: Registered protocol family 2

broken dmesg:

[    0.116307] dma-xway 1e104100.dma: Init done - hw rev: 3, ports: 5, channels: 20
[    0.128869] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.134564]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.139833]   IO 0x000000001ae00000..0x000000001affffff
[    0.188121] gpio-stp-xway 1e100bb0.stp: Init done
[    0.194497] usbcore: registered new interface driver usbfs
[    0.200136] usbcore: registered new interface driver hub
[    0.205569] usbcore: registered new device driver usb
[    0.211342] PCI host bridge to bus 0000:00
[    0.215383] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.222305] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.228293] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.235145] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.246177] pci 0000:00:0c.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.252924] pci 0000:00:0f.2: BAR 0: assigned [mem 0x18010000-0x180100ff]
[    0.259765] pci 0000:00:0f.0: BAR 4: no space for [io  size 0x0020]
[    0.266077] pci 0000:00:0f.0: BAR 4: failed to assign [io  size 0x0020]
[    0.272767] pci 0000:00:0f.1: BAR 4: no space for [io  size 0x0020]
[    0.279094] pci 0000:00:0f.1: BAR 4: failed to assign [io  size 0x0020]
[    0.287480] Switched to clocksource MIPS
[    0.294781] NET: Registered protocol family 2
[    0.301015] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.307979] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.314361] TCP: Hash tables configured (established 1024 bind 1024)
[    0.321045] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.326870] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.333779] NET: Registered protocol family 1
[    0.338326] PCI: Enabling device 0000:00:0f.2 (0000 -> 0002)
[    0.344673] gptu: totally 6 16-bit timers/counters
[    0.349632] gptu: misc_register on minor 63
[    0.353761] gptu: succeeded to request irq 126
[    0.358259] gptu: succeeded to request irq 127
[    0.362772] gptu: succeeded to request irq 128
[    0.367286] gptu: succeeded to request irq 129
[    0.371804] gptu: succeeded to request irq 130
[    0.376340] gptu: succeeded to request irq 131
[    0.384258] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.410305] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.416117] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.429410] io scheduler noop registered
[    0.433328] io scheduler deadline registered (default)
[    0.439765] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.448718] console [ttyLTQ0] enabled
[    0.448718] console [ttyLTQ0] enabled
[    0.455838] bootconsole [early0] disabled
[    0.455838] bootconsole [early0] disabled
[    0.465412] lantiq nor flash device: 01000000 at 10000000
[    0.469646] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x000018
[    0.478654] Intel/Sharp Extended Query Table at 0x0031
[    0.483662] Intel/Sharp Extended Query Table at 0x0031
[    0.488633] cfi_cmdset_0001: Erase suspend on write enabled
[    0.494075] 3 ofpart partitions found on MTD device ltq_nor
[    0.499410] Creating 3 MTD partitions on "ltq_nor":
[    0.504150] 0x000000000000-0x000000040000 : "uboot"
[    0.510840] 0x000000040000-0x000000060000 : "uboot_env"
[    0.516510] 0x000000060000-0x000001000000 : "firmware"
[    0.558442] 2 uimage-fw partitions found on MTD device firmware
[    0.562890] 0x000000060000-0x0000001e8a55 : "kernel"
[    0.569579] 0x0000001e8a55-0x000001000000 : "rootfs"
[    0.574985] mtd: device 4 (rootfs) set to be root filesystem
[    0.579265] 1 squashfs-split partitions found on MTD device rootfs
[    0.585179] 0x000000a20000-0x000001000000 : "rootfs_data"
[    0.643391] etop: invalid MAC, using random
[    0.709639] libphy: ltq_mii: probed
[    0.712177] adm6996: eth0: ADM6996M model PHY found.
[    0.720423] eth0: attached PHY [Infineon ADM6996] (phy_addr=1e180000.etop-ff:00, irq=-1)
[    0.729146] wdt 1f8803f0.watchdog: Init done
[    0.738733] NET: Registered protocol family 10
[    0.754415] NET: Registered protocol family 17
[    0.757566] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.769685] 8021q: 802.1Q VLAN Support v1.8
[    0.782190] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19
[    0.796905] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.804054] Freeing unused kernel memory: 196K (8047f000 - 804b0000)
[    3.372026] init: Console is alive
[    3.374390] init: - watchdog -
[    9.302381] SCSI subsystem initialized
[    9.315176] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.322962] ehci-platform: EHCI generic platform driver
[    9.329904] ehci-pci: EHCI PCI platform driver
[    9.333139] ehci-pci 0000:00:0f.2: EHCI Host Controller
[    9.338051] ehci-pci 0000:00:0f.2: new USB bus registered, assigned bus number 1
[    9.345396] ehci-pci 0000:00:0f.2: irq 66, io mem 0x18010000
[    9.359561] ehci-pci 0000:00:0f.2: USB 2.0 started, EHCI 1.00
[    9.365882] hub 1-0:1.0: USB hub found
[    9.368983] hub 1-0:1.0: 4 ports detected
[    9.377013] uhci_hcd: USB Universal Host Controller Interface driver
[    9.382091] uhci_hcd 0000:00:0f.0: init 0000:00:0f.0 fail, -16
[    9.387604] uhci_hcd: probe of 0000:00:0f.0 failed with error -16
[    9.393580] uhci_hcd 0000:00:0f.1: init 0000:00:0f.1 fail, -16
[    9.399138] uhci_hcd: probe of 0000:00:0f.1 failed with error -16
[    9.412486] usbcore: registered new interface driver usb-storage
[    9.544975] init: - preinit -
[    9.902529] usb 1-1: new high-speed USB device number 2 using ehci-pci
[   10.213996] random: procd urandom read with 40 bits of entropy available

ARV7510PW # reset▒
ROM VER: 1.0.3
CFG 01
Read EEPROMX
X
U-Boot 2013.10-openwrt4 (Dec 15 2015 - 18:57:36) ARV7510PW
Board: Arcadyan ARV7510PW
SoC: Lantiq Danube-S v1.3
CPU: 333.333 MHz
IO: 166.667 MHz
BUS: 83.333 MHz
BOOT: NOR
DRAM: 32 MiB
Flash: 16 MiB
In: serial
Out: serial
Err: serial
Net: ltq-eth
Hit any key to stop autoboot: 0
## Booting kernel from Legacy Image at b0060000 ...
Image Name: MIPS OpenWrt Linux-4.1.13
Created: 2015-12-17 14:57:16 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1616230 Bytes = 1.5 MiB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.1.13 (openwrt@debian) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47894) ) #5 Thu Dec 17 14:56:44 UTC 2015
[ 0.000000] SoC: Danube rev 1.3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019641 (MIPS 24KEc)
[ 0.000000] MIPS: machine is ARV4510PW - Wippies, Elisa
[ 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 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Primary instruction cache 16kB, 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=ttyLTQ0,115200 init=/etc/preinit
[ 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=00048e30
[ 0.000000] Readback ErrCtl register=00048e30
[ 0.000000] Memory: 27404K/32768K available (3743K kernel code, 147K rwdata, 728K rodata, 160K init, 195K bss, 5364K reserved, 0K cma-reserved)
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 333MHz
[ 0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[ 0.000019] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[ 0.008496] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[ 0.054591] pid_max: default: 32768 minimum: 301
[ 0.059917] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.066463] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.084545] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.094430] pinctrl core: initialized pinctrl subsystem
[ 0.100904] NET: Registered protocol family 16
[ 0.114470] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.120622] dma-xway 1e104100.dma: Init done - hw rev: 3, ports: 5, channels: 20
[ 0.133287] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[ 0.138987] MEM 0x0000000018000000..0x0000000019ffffff
[ 0.144254] IO 0x000000001ae00000..0x000000001affffff
[ 0.192466] gpio-stp-xway 1e100bb0.stp: Init done
[ 0.198753] usbcore: registered new interface driver usbfs
[ 0.204397] usbcore: registered new interface driver hub
[ 0.209841] usbcore: registered new device driver usb
[ 0.215498] PCI host bridge to bus 0000:00
[ 0.219543] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 0.226461] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff]
[ 0.233404] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.240256] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.251444] pci 0000:00:0c.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 0.258194] pci 0000:00:0f.2: BAR 0: assigned [mem 0x18010000-0x180100ff]
[ 0.265036] pci 0000:00:0f.0: BAR 4: assigned [io 0x1ae00000-0x1ae0001f]
[ 0.271893] pci 0000:00:0f.1: BAR 4: assigned [io 0x1ae00020-0x1ae0003f]
[ 0.280566] Switched to clocksource MIPS
[ 0.287893] NET: Registered protocol family 2
[ 0.294137] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.301101] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.307481] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.314155] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.319979] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.326895] NET: Registered protocol family 1
[ 0.331392] PCI: Enabling device 0000:00:0f.0 (0000 -> 0001)
[ 0.337049] PCI: Enabling device 0000:00:0f.1 (0000 -> 0001)
[ 0.342763] PCI: Enabling device 0000:00:0f.2 (0000 -> 0002)
[ 0.349245] gptu: totally 6 16-bit timers/counters
[ 0.354201] gptu: misc_register on minor 63
[ 0.358338] gptu: succeeded to request irq 126
[ 0.362837] gptu: succeeded to request irq 127
[ 0.367350] gptu: succeeded to request irq 128
[ 0.371864] gptu: succeeded to request irq 129
[ 0.376377] gptu: succeeded to request irq 130
[ 0.380893] gptu: succeeded to request irq 131
[ 0.388856] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.414520] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.420315] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.435581] io scheduler noop registered
[ 0.439475] io scheduler deadline registered (default)
[ 0.445850] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 0.454807] console [ttyLTQ0] enabled
[ 0.454807] console [ttyLTQ0] enabled
[ 0.461923] bootconsole [early0] disabled
[ 0.461923] bootconsole [early0] disabled
[ 0.471589] lantiq nor flash device: 01000000 at 10000000
[ 0.475816] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x000018
[ 0.484825] Intel/Sharp Extended Query Table at 0x0031
[ 0.489828] Intel/Sharp Extended Query Table at 0x0031
[ 0.494803] cfi_cmdset_0001: Erase suspend on write enabled
[ 0.500250] 3 ofpart partitions found on MTD device ltq_nor
[ 0.505580] Creating 3 MTD partitions on "ltq_nor":
[ 0.510315] 0x000000000000-0x000000040000 : "uboot"
[ 0.517248] 0x000000040000-0x000000060000 : "uboot_env"
[ 0.522917] 0x000000060000-0x000001000000 : "firmware"
[ 0.564950] 2 uimage-fw partitions found on MTD device firmware
[ 0.569398] 0x000000060000-0x0000001ea9a6 : "kernel"
[ 0.576231] 0x0000001ea9a6-0x000001000000 : "rootfs"
[ 0.581812] mtd: device 4 (rootfs) set to be root filesystem
[ 0.586094] 1 squashfs-split partitions found on MTD device rootfs
[ 0.592003] 0x0000006a0000-0x000001000000 : "rootfs_data"
[ 0.650530] etop: invalid MAC, using random
[ 0.716461] libphy: ltq_mii: probed
[ 0.719001] adm6996: eth0: ADM6996M model PHY found.
[ 0.727221] eth0: attached PHY [Infineon ADM6996] (phy_addr=1e180000.etop-ff:00, irq=-1)
[ 0.735978] wdt 1f8803f0.watchdog: Init done
[ 0.745819] NET: Registered protocol family 10
[ 0.761455] NET: Registered protocol family 17
[ 0.764503] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.776736] 8021q: 802.1Q VLAN Support v1.8
[ 0.789361] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19
[ 0.804223] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.811022] Freeing unused kernel memory: 160K (80488000 - 804b0000)
[ 2.987150] init: Console is alive
[ 2.989635] init: - watchdog -
[ 5.956497] SCSI subsystem initialized
[ 5.969412] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.977236] ehci-platform: EHCI generic platform driver
[ 5.984019] ehci-pci: EHCI PCI platform driver
[ 5.987262] ehci-pci 0000:00:0f.2: EHCI Host Controller
[ 5.992164] ehci-pci 0000:00:0f.2: new USB bus registered, assigned bus number 1
[ 5.999522] ehci-pci 0000:00:0f.2: irq 66, io mem 0x18010000
[ 6.016649] ehci-pci 0000:00:0f.2: USB 2.0 started, EHCI 1.00
[ 6.023063] hub 1-0:1.0: USB hub found
[ 6.026161] hub 1-0:1.0: 4 ports detected
[ 6.034067] uhci_hcd: USB Universal Host Controller Interface driver
[ 6.039152] uhci_hcd 0000:00:0f.0: UHCI Host Controller
[ 6.044090] uhci_hcd 0000:00:0f.0: new USB bus registered, assigned bus number 2
[ 6.051252] uhci_hcd 0000:00:0f.0: irq 66, io base 0x1ae00000
[ 6.059896] hub 2-0:1.0: USB hub found
[ 6.062991] hub 2-0:1.0: 2 ports detected
[ 6.067179] uhci_hcd 0000:00:0f.1: UHCI Host Controller
[ 6.071259] uhci_hcd 0000:00:0f.1: new USB bus registered, assigned bus number 3
[ 6.078467] uhci_hcd 0000:00:0f.1: irq 66, io base 0x1ae00020
[ 6.086510] hub 3-0:1.0: USB hub found
[ 6.089600] hub 3-0:1.0: 2 ports detected
[ 6.100457] usbcore: registered new interface driver usb-storage
[ 6.111476] init: - preinit -
[ 6.869438] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 6.968238] random: procd urandom read with 27 bits of entropy available
[ 7.011687] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 7.025474] scsi host0: usb-storage 1-1:1.0
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 8.029976] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 5.00 PQ: 0 ANSI: 0 CCS
[ 8.042415] sd 0:0:0:0: [sda] 2013184 512-byte logical blocks: (1.03 GB/983 MiB)
[ 8.049565] sd 0:0:0:0: [sda] Write Protect is off
[ 8.053952] sd 0:0:0:0: [sda] No Caching mode page found
[ 8.058116] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 8.071701] sda: sda1
[ 8.081617] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 29.656651] random: nonblocking pool is initialized
[ 42.184074] jffs2: notice: (414) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 42.201320] mount_root: switching to jffs2 overlay
[ 42.241133] procd: - early -
[ 42.242790] procd: - watchdog -
[ 43.423586] procd: - ubus -
[ 44.444791] procd: - init -
Please press Enter to activate this console.
[ 45.921778] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 45.942337] Lantiq TAPI device driver, version 3.13.0.2, (c) 2001-2010 Lantiq Deutschland GmbH
[ 45.957338] NET: Registered protocol family 8
[ 45.960185] NET: Registered protocol family 20
[ 45.975341] PPP generic driver version 2.4.2
[ 45.991439] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 46.018916] IFX MEI Version 5.00.00
[ 46.035498] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[ 46.061128] u32 classifier
[ 46.062368] input device check on
[ 46.065978] Actions configured
[ 46.073560] Mirror/redirect action on
[ 46.086853] Loading modules backported from Linux version master-2015-12-03-0-g1677f62
[ 46.093249] Backport generated by backports.git backports-20151120-0-g906a6b3
[ 46.118988] Lantiq MIPS24KEc MPS driver, version 2.2.2.5, (c) 2006-2010 Lantiq Deutschland GmbH
[ 46.126182] request_timer(3, 0x000001AE, 1)...successful!
[ 46.131655] Lantiq VMMC device driver, version 1.9.0.3, (c) 2006-2010 Lantiq Deutschland GmbH
[ 46.143783] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 46.162217] ATM1.0.26 ATM (A1) firmware version 0.17
[ 46.165988] ifxmips_atm: ATM init succeed
[ 46.200062] nf_conntrack version 0.5.0 (430 buckets, 1720 max)
[ 46.279375] NET: Registered protocol family 24
[ 46.295040] usbcore: registered new interface driver usbserial
[ 46.299669] usbcore: registered new interface driver usbserial_generic
[ 46.305988] usbserial: USB Serial support registered for generic
[ 46.397198] xt_time: kernel timezone is -0000
[ 46.479879] cfg80211: World regulatory domain updated:
[ 46.483564] cfg80211: DFS Master region: unset
[ 46.487758] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 46.497239] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 46.505009] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 46.512792] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 46.520602] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 46.529766] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 46.538973] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 46.546833] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 46.554601] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 46.752461] PCI: Enabling device 0000:00:0c.0 (0000 -> 0002)
[ 46.756912] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2860, rev 0103 detected
[ 46.780975] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
[ 64.031674] device eth0 entered promiscuous mode
[ 64.051316] br-lan: port 1(eth0) entered forwarding state
[ 64.055336] br-lan: port 1(eth0) entered forwarding state
[ 66.056629] br-lan: port 1(eth0) entered forwarding state
[ 75.034799] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[ 75.064933] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34
[ 75.120112] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 75.145150] device wlan0 entered promiscuous mode
[ 76.236979] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 76.242329] br-lan: port 2(wlan0) entered forwarding state
[ 76.247246] br-lan: port 2(wlan0) entered forwarding state
[ 78.248646] br-lan: port 2(wlan0) entered forwarding state
BusyBox v1.24.1 (2015-12-15 16:03:50 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, r47894)
-----------------------------------------------------
* 2 oz. Orange Juice Combine all juices in a
* 2 oz. Pineapple Juice tall glass filled with
* 2 oz. Grapefruit Juice ice, stir well.
* 2 oz. Cranberry Juice
-----------------------------------------------------
root@gw6:/# lspci -vv
00:0c.0 Network controller: Ralink corp. RT2800 802.11n PCI
Subsystem: Ralink corp. Device 2860
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 135
Region 0: Memory at 18000000 (32-bit, non-prefetchable) [size=64K]
Region 1: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Region 2: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Region 3: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Region 4: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Region 5: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Expansion ROM at <unassigned> [disabled] [size=2]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: rt2800pci
lspci: Unable to load libkmod resources: error -12
00:0f.0 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 62) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 22
Interrupt: pin A routed to IRQ 66
Region 0: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Region 1: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Region 2: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Region 3: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Region 4: I/O ports at 1ae00000 [size=33]
Region 5: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Expansion ROM at <unassigned> [disabled] [size=2]
Capabilities: [80] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: uhci_hcd
00:0f.1 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 62) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 22
Interrupt: pin B routed to IRQ 66
Region 0: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Region 1: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Region 2: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Region 3: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Region 4: I/O ports at 1ae00020 [size=33]
Region 5: Memory at <unassigned> (32-bit, non-prefetchable) [disabled] [size=2]
Expansion ROM at <unassigned> [disabled] [size=2]
Capabilities: [80] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: uhci_hcd
00:0f.2 USB controller: VIA Technologies, Inc. USB 2.0 (rev 65) (prog-if 20 [EHCI])
Subsystem: VIA Technologies, Inc. USB 2.0 Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 22, Cache Line Size: 32 bytes
Interrupt: pin C routed to IRQ 66
Region 0: Memory at 18010000 (32-bit, non-prefetchable) [size=257]
Region 1: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Region 2: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Region 3: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Region 4: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Region 5: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
Expansion ROM at <unassigned> [disabled] [size=2]
Capabilities: [80] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: ehci-pci
root@gw6:/# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0930:653d Toshiba Corp. Kingston DataTraveler 2.0 Stick (1GB)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@gw6:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment