|
本帖最后由 qwea 于 2010-4-12 19:11 编辑
这2天研究cfe 放一个刚出炉的固化64m的wzr-g300的cfe。 已经固化了64m。修正了eth0和eth1 同mac。改默认ip为192.168.1.1
ps:此版本为sdram内存版。
Decompressing..........done
CFE version 1.0.37-1.07 for BCM947XX (32bit,SP,LE)
Build Date: Tue Apr 4 19:26:41 JST 2006 (root@satoh-debuan)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x20000)
* cmdset: AMD Standard
* Insaner_1 = (0x7e)
* flashutl_cmd: type (0004), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0003), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0002), read_id (0090)
-> vendid (0000), devid (3C08), devid2 (0000)
* Flash Info. -> manufacturer (00), device (00)
* Flash Info. -> manufacturer2 (0000), device2 (0000)
* Insaner_2 = (0x7e)
* cmdset: AMD Standard
* Insaner_1 = (0x7e)
* flashutl_cmd: type (0004), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0003), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0002), read_id (0090)
-> vendid (0000), devid (3C08), devid2 (0000)
* Flash Info. -> manufacturer (00), device (00)
* Flash Info. -> manufacturer2 (0000), device2 (0000)
* Insaner_2 = (0x7e)
* cmdset: AMD Standard
* Insaner_1 = (0x7e)
* flashutl_cmd: type (0004), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0003), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0002), read_id (0090)
-> vendid (0000), devid (3C08), devid2 (0000)
* Flash Info. -> manufacturer (00), device (00)
* Flash Info. -> manufacturer2 (0000), device2 (0000)
* Insaner_2 = (0x7e)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.39.0
et1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.39.0
* memc_config: (00068008)
CPU type 0x29006: 200MHz
Total memory: 65536 KBytes
Total memory used by CFE: 0x80400000 - 0x80498660 (624224)
Initialized Data: 0x8042E3C0 - 0x80430EB0 (10992)
BSS Area: 0x80430EB0 - 0x80432660 (6064)
Local Heap: 0x80432660 - 0x80496660 (409600)
Stack Area: 0x80496660 - 0x80498660 (8192)
Text (code) segment: 0x80400000 - 0x8042E3C0 (189376)
Boot area (physical): 0x00499000 - 0x004D9000
Relocation Factor: I:00000000 - D:00000000
pmon_ver(old)=[] --> pmon_ver=[CFE 1.0.37-1.07]
pmon_date(old)=[] --> pmon_date=[Apr 4 2006 19:26:45]
Committing NVRAM...pmon_nvram_get:[sdram_init]=[0x8]
pmon_nvram_get:[sdram_config]=[0x0032]
pmon_nvram_get:[sdram_refresh]=[0x0000]
pmon_nvram_get:[sdram_ncdl]=[0]
#### pmon_sdram_init is [0x8]
#### pmon_sdram_config is [0x0032]
#### pmon_sdram_refresh is [0x0000]
#### pmon_sdram_ncdl is [0]
done
Waiting for reset button release...donDecompressing..........done
Decompressing..........done
CFE version 1.0.37-1.07 for BCM947XX (32bit,SP,LE)
Build Date: Tue Apr 4 19:26:41 JST 2006 (root@satoh-debuan)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x20000)
* cmdset: AMD Standard
* Insaner_1 = (0x7e)
* flashutl_cmd: type (0004), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0003), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0002), read_id (0090)
-> vendid (0000), devid (3C08), devid2 (0000)
* Flash Info. -> manufacturer (00), device (00)
* Flash Info. -> manufacturer2 (0000), device2 (0000)
* Insaner_2 = (0x7e)
* cmdset: AMD Standard
* Insaner_1 = (0x7e)
* flashutl_cmd: type (0004), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0003), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0002), read_id (0090)
-> vendid (0000), devid (3C08), devid2 (0000)
* Flash Info. -> manufacturer (00), device (00)
* Flash Info. -> manufacturer2 (0000), device2 (0000)
* Insaner_2 = (0x7e)
* cmdset: AMD Standard
* Insaner_1 = (0x7e)
* flashutl_cmd: type (0004), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0003), read_id (0090)
-> vendid (0001), devid (227E), devid2 (2200)
* flashutl_cmd: type (0002), read_id (0090)
-> vendid (0000), devid (3C08), devid2 (0000)
* Flash Info. -> manufacturer (00), device (00)
* Flash Info. -> manufacturer2 (0000), device2 (0000)
* Insaner_2 = (0x7e)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.39.0
et1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.39.0
* memc_config: (00068008)
CPU type 0x29006: 264MHz
Total memory: 65536 KBytes
Total memory used by CFE: 0x80400000 - 0x80498660 (624224)
Initialized Data: 0x8042E3C0 - 0x80430EB0 (10992)
BSS Area: 0x80430EB0 - 0x80432660 (6064)
Local Heap: 0x80432660 - 0x80496660 (409600)
Stack Area: 0x80496660 - 0x80498660 (8192)
Text (code) segment: 0x80400000 - 0x8042E3C0 (189376)
Boot area (physical): 0x00499000 - 0x004D9000
Relocation Factor: I:00000000 - D:00000000
Device eth0: hwaddr 00-16-01-1A-6A-D5, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Wait a few seconds for an image
Reading :: Failed.: Timeout occured
>>> boot -raw -z -addr=0x80001000 -max=0x3a0000 flash0.os:
Loader:raw Filesys:raw Dev:flash0.os File: Optionsnull)
Loading: .. 3856 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU ProcId is: 0x00029006, options: 0x0000004d
Linux version 2.4.37 (eko@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #4164 Wed Sep 30 09:47:28 CEST 2009
Setting the PFC to its default value
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM4704 rev 9 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 263.78 BogoMIPS
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:02.0 to 64
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x2420b9
partition size = 2412544
Creating 5 MTD partitions on "hysically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x007f0000 : "linux"
0x00103000-0x00350000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x00350000-0x007f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
starting Architecture code for broadcom
Booting device: Buffalo WZR-G300N
get_wl_instance doesnt return the right value 0
No such device |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|