You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When 18.06-rc2 is flashed on a Linksys E3000 and some other BRCM47xx routers (another user reported an Asus RT-N16 (I think) in IRC), the router is bricked immediately and will not boot. I made a custom build off the 18.06 branch with early printk turned on and the following is printed before the router hangs:
Starting program at 0x80001000
[ 0.000000] Linux version 4.14.54 (michael@mamarley-desktop.lan) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7161-b84a1c56f3)) #0 Sat Jul 21 18:53:43 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[ 0.000000] bcm47xx: Using bcma bus
[ 0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] 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] random: get_random_bytes called from start_kernel+0x80/0x480 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: noinitrd console=ttyS0,115200
[ 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=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 59872K/65536K available (3571K kernel code, 150K rwdata, 796K rodata, 208K init, 281K bss, 5664K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 128
[ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[ 0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[ 0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[ 0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0)
[ 0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[ 0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[ 0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[ 0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[ 0.000000] bcma: bus0: Early bus registered
[ 0.000000] MIPS: machine is Linksys E3000 V1
[ 0.000000] bcm47xx: Setting up vectored interrupts
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7963585194 ns
[ 0.000016] sched_clock: 32 bits at 240MHz, resolution 4ns, wraps every 8947848189ns
[ 0.008683] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[ 0.085571] pid_max: default: 32768 minimum: 301
[ 0.091091] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.098369] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.109870] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.120799] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.129753] NET: Registered protocol family 16
[ 0.166526] clocksource: Switched to clocksource MIPS
[ 0.174366] NET: Registered protocol family 2
[ 0.180623] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.188407] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.195394] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.202728] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.209252] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.216642] NET: Registered protocol family 1
The text was updated successfully, but these errors were encountered:
This is a regression caused by
[[https://patchwork.linux-mips.org/patch/19461/|[PATCH v5 1/1] MIPS: BCM47XX: Enable MIPS32 74K Core ExternalSync for BCM47XX PCIe erratum]]
A reverting patch has been sent upstream:
[[https://patchwork.linux-mips.org/patch/20032/|[PATCH] Revert "MIPS: BCM47XX: Enable 74K Core ExternalSync for PCIe
erratum"]]
mamarley:
When 18.06-rc2 is flashed on a Linksys E3000 and some other BRCM47xx routers (another user reported an Asus RT-N16 (I think) in IRC), the router is bricked immediately and will not boot. I made a custom build off the 18.06 branch with early printk turned on and the following is printed before the router hangs:
Starting program at 0x80001000
[ 0.000000] Linux version 4.14.54 (michael@mamarley-desktop.lan) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7161-b84a1c56f3)) #0 Sat Jul 21 18:53:43 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[ 0.000000] bcm47xx: Using bcma bus
[ 0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] 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] random: get_random_bytes called from start_kernel+0x80/0x480 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: noinitrd console=ttyS0,115200
[ 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=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 59872K/65536K available (3571K kernel code, 150K rwdata, 796K rodata, 208K init, 281K bss, 5664K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 128
[ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[ 0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[ 0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[ 0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0)
[ 0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[ 0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[ 0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[ 0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[ 0.000000] bcma: bus0: Early bus registered
[ 0.000000] MIPS: machine is Linksys E3000 V1
[ 0.000000] bcm47xx: Setting up vectored interrupts
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7963585194 ns
[ 0.000016] sched_clock: 32 bits at 240MHz, resolution 4ns, wraps every 8947848189ns
[ 0.008683] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[ 0.085571] pid_max: default: 32768 minimum: 301
[ 0.091091] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.098369] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.109870] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.120799] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.129753] NET: Registered protocol family 16
[ 0.166526] clocksource: Switched to clocksource MIPS
[ 0.174366] NET: Registered protocol family 2
[ 0.180623] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.188407] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.195394] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.202728] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.209252] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.216642] NET: Registered protocol family 1
The text was updated successfully, but these errors were encountered: