Re: BCM4704 stopped booting with 4.4 (due to vmlinux size?)
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: 2016-06-30 21:57:33
On 06/16/2016 08:17 AM, Rafał Miłecki wrote:
Hello, From time to time I test new kernels with ancient Linksys WRT300N v1.0 device based on BCM4704 SoC. I noticed that after updating kernel from 4.3 to 4.4 it doen't boot anymore. All I can see is the last CFE's (bootloader's) message:quoted
Starting program at 0x80001000Enabling CONFIG_EARLY_PRINTK doesn't help.
Hi, I just tested this on two of my older bcm47xx devices and I had no
problem with kernel 4.4.14 from LEDE with all the LEDE patches:
Asus WL500GP V1:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: �| 10�� 12 22:21:19 CST 2006 (root@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.7.0
rndis0: Broadcom USB RNDIS Network Adapter (P-t-P)
CPU type 0x29006: 264MHz
Total memory: 33554432 KBytes
Total memory used by CFE: 0x80800000 - 0x8089AF40 (634688)
Initialized Data: 0x808313D0 - 0x80833790 (9152)
BSS Area: 0x80833790 - 0x80834F40 (6064)
Local Heap: 0x80834F40 - 0x80898F40 (409600)
Stack Area: 0x80898F40 - 0x8089AF40 (8192)
Text (code) segment: 0x80800000 - 0x808313D0 (201680)
Boot area (physical): 0x0089B000 - 0x008DB000
Relocation Factor: I:00000000 - D:00000000
Device eth0: hwaddr 00-1A-92-EA-73-12, ipaddr 192.168.1.3, mask
255.255.255.0
gateway not set, nameserver not set
Null Rescue Flag.
Reading :: TFTP Server.
Failed.: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3800 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
[ 0.000000] Linux version 4.4.14 (hauke@hauke-desktop) (gcc version
5.3.0 (LEDE GCC 5.3.0 r829) ) #1 Thu Jun 30 20:49:41 UTC 2016
[ 0.000000] CPU0 revision is: 00029006 (Broadcom BMIPS3300)
[ 0.000000] bcm47xx: Using ssb bus
[ 0.000000] ssb: Found chip with id 0x4704, rev 0x09 and package 0x00
Linksys WRT54G/GS/GL:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Jun 25 15:49:22 CST 2004 (root@Amin)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.60.13.0
rndis0: Broadcom USB RNDIS Network Adapter (P-t-P)
CPU type 0x29007: 200MHz
Total memory: 0x2000000 bytes (32MB)
Total memory used by CFE: 0x80300000 - 0x8043DF30 (1302320)
Initialized Data: 0x803381A0 - 0x8033A550 (9136)
BSS Area: 0x8033A550 - 0x8033BF30 (6624)
Local Heap: 0x8033BF30 - 0x8043BF30 (1048576)
Stack Area: 0x8043BF30 - 0x8043DF30 (8192)
Text (code) segment: 0x80300000 - 0x803381A0 (229792)
Boot area (physical): 0x0043E000 - 0x0047E000
Relocation Factor: I:00000000 - D:00000000
Boot version: v3.2
The boot is CFE
mac_init(): Find mac [00:0F:66:D3:94:95] in location 1
Nothing...
No eou key find
Device eth0: hwaddr 00-0F-66-D3-94-95, ipaddr 192.168.1.1, mask
255.255.255.0
gateway not set, nameserver not set
Reading :: Failed.: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3800 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
[ 0.000000] Linux version 4.4.14 (hauke@hauke-desktop) (gcc version
5.3.0 (LEDE GCC 5.3.0 r829) ) #1 Thu Jun 30 20:49:41 UTC 2016
[ 0.000000] CPU0 revision is: 00029007 (Broadcom BMIPS3300)
[ 0.000000] bcm47xx: Using ssb bus
[ 0.000000] ssb: Found chip with id 0x4712, rev 0x01 and package 0x00