Image for Linksys E4200v1

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions
Author Message
ddwrtuser2019141
DD-WRT Novice


Joined: 02 Dec 2019
Posts: 1

PostPosted: Mon Dec 02, 2019 7:50    Post subject: Image for Linksys E4200v1 Reply with quote
Hi,
I'm trying to make my own image for Linksys E4200 v1. Sources is a mess, but after a few hours it worked out. After uploading to the router, it does not detect nvram and switch. Someone can say why?


Code:
CFE version 2010.09.20.0 based on BBP 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Nov 12 11:01:26 CST 2010 (lzh@team2-complier)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.

No DPN
This is a Serial Flash
Boot partition size = 262144(0x40000)
Found an ST compatible serial flash with 256 64KB blocks; total size 16MB
sflash_cfe_probe: flash type ST, nparts 4
sflash_cfe_probe: idx 0, name boot, descr ST Serial flash offset 00000000 size 256KB
sflash_cfe_probe: idx 1, name trx, descr ST Serial flash offset 00040000 size 1KB
sflash_cfe_probe: idx 2, name os, descr ST Serial flash offset 0004001C size 16068KB
sflash_cfe_probe: idx 3, name nvram, descr ST Serial flash offset 00FF1000 size 60KB
sflash_cfe_probe: flash type ST, nparts 3
sflash_cfe_probe: idx 0, name boot, descr ST Serial flash offset 00000000 size 256KB
sflash_cfe_probe: idx 1, name trx, descr ST Serial flash offset 00040000 size 16068KB
sflash_cfe_probe: idx 2, name nvram, descr ST Serial flash offset 00FF1000 size 60KB
sflash_cfe_probe: flash type ST, nparts 0
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 2010.09.20.0
CPU type 0x19740: 480MHz
Tot mem: 65536 KBytes

CFE mem:    0x80700000 - 0x8079EA40 (649792)
Data:       0x80734000 - 0x80737FE0 (16352)
BSS:        0x80737FE0 - 0x80738A40 (2656)
Heap:       0x80738A40 - 0x8079CA40 (409600)
Stack:      0x8079CA40 - 0x8079EA40 (8192)
Text:       0x80700000 - 0x80734000 (212992)

board_final_init: commit=0, restore_defaults=0Boot version: v5.2
The boot is CFE

mac_init(): Find mac [58:6D:8F:20:8E:E9] in location 0
Nothing...
country_init(): Find country code in location 0
The country is same
Device eth0:  hwaddr 58-6D-8F-20-8E-E9, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
cfe_led_init: start to set power LED and switch LEDs.
Check CRC of image1
  Header CRC:    0xB99687ED
  Calculate CRC: 0xB99687ED
Image 1 is OK
Try to load image 1.
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3916 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
Linux version 3.10.108-d8 (compiler@compiler) (gcc version 8.2.0 (OpenWrt GCC 8.2.0 r7577-d14647dd59) ) #1 Wed Oct 30 11:04:45 CET 2019
prom_init:194
CPU0 revision is: 00019740 (MIPS 74Kc)
init SB_CC
Found ST compatible serial flash with 256 64KB blocks; total size 16MB
found nvram at FE0000
map 60K cfe nvram at 1001000
copy 61440 bytes as cfe nvram
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Zone ranges:
  Normal   [mem 0x00000000-0x03ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x03ffffff]
Primary instruction cache 32kB, 4-way, VIPT, I-cache aliases, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 root=1f05 rootfstype=squashfs noinitrd init=/bin/sh
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 60496k/65536k available (3041k kernel code, 5040k reserved, 549k data, 308k init, 0k highmem)
NR_IRQS:128
CPU: BCM4716 rev 1 at 480 MHz
bcm947xx_clockevent_set_mode: 1
bcm947xx_clockevent_set_mode: 3
console [ttyS0] enabled
Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Can't analyze schedule() prologue at 80009298
bio: create slab <bio-0> at 0
PCI: Using membase 8000000
PCI: Initializing host
PCI: Reset RC
PCI: no core
PCI: scanning bus 0
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: Fixing up bus 0
pci 0000:00:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI/PCIe coreunit 0 is set to bus 1.
PCI: Fixing up bridge
cmd 6 new_cmd 6
PCI: Fixing up bridge
cmd 6 new_cmd 4
PCI: Enabling device 0000:01:00.1 (0004 -> 0006)
PCI: Fixing up bus 1
Switching to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
E4200 GPIO Init
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 118
io scheduler noop registered (default)
HDLC line discipline maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 8) is a U6_16550A
brd: module loaded
pflash: found no supported devices
try to find cfe size up to 16777216
bootloader size: 262144
nvram size: 65536
bcmsflash: Filesystem type: squashfs, size=0x764866
partition size = 7782400
Creating 5 MTD partitions on "bcmsflash":
0x000000000000-0x000000040000 : "cfe"
0x000000040000-0x000000fe0000 : "linux"
0x000000174000-0x0000008e0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: partition "rootfs" set to be root filesystem
0x000000fe0000-0x000000ff0000 : "nvram"
0x0000008e0000-0x000000fe0000 : "ddwrt"
brcmnand: found no supported devices
nflash: found no supported devices
Creating 1 MTD partitions on "bcmsflash":
0x000000ff0000-0x000001000000 : "nvram_cfe"
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
Broadcom Watchdog Timer: 0.07 initialized.
GACT probability NOT on
Mirror/redirect action on
Failed to load ipt action
Simple TC action Loaded
netem: version 1.3
u32 classifier
    Performance counters on
    input device check on
    Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (945 buckets, 3780 max)
nf_conntrack_rtsp v0.7 loading
xt_time: kernel timezone is -0000
ip_set: protocol 6
gre: GRE over IPv4 demultiplexor driver
nf_nat_rtsp v0.7 loading
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: bic registered
TCP: cubic registered
TCP: westwood registered
TCP: highspeed registered
TCP: hybla registered
TCP: htcp registered
TCP: vegas registered
TCP: veno registered
TCP: scalable registered
TCP: lp registered
TCP: yeah registered
TCP: illinois registered
NET: Registered protocol family 17
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
startup nvram driver
found nvram
found cfe nvram
check if nvram copy is required CFE Size is 61440
nvram copy magic is 48534C46
max nvram space = 65536
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 308K
start service
starting Architecture code for broadcom
cannot open /dev/nvram
cannot open /dev/nvram
boardnum 42
boardtype 0xF52C
boardrev 0x1101
nvram invalid, erase
Booting device: Linksys E4200
get_wl_instance doesnt return the right value 0
No such device
roboswitch: Probing device 'eth0'
roboswitch: No such device
roboswitch: Probing device 'eth1'
roboswitch: No such device
roboswitch: Probing device 'eth2'
roboswitch: No such device
roboswitch: Probing device 'eth3'
roboswitch: No such device
wl: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
wl: Unknown symbol __mips_test_and_set_bit (err 0)
wl: Unknown symbol __mips_set_bit (err 0)
wl: Unknown symbol __mips_test_and_clear_bit (err 0)
cannot open /proc/switch/eth0/reset
cannot open /proc/switch/eth0/enable_vlan
cannot open /proc/switch/eth0/vlan/0/ports
cannot open /proc/switch/eth0/vlan/1/ports
cannot open /proc/switch/eth0/vlan/2/ports
[USB] checking...
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum