|
楼主 |
发表于 2008-12-16 20:53
|
显示全部楼层
没得,自己通过TTL接口研究了,原厂的系统就是LINUX的,TTL启动过程如下:
CFE version 1.0.37-5.4 for BCM96358 (32bit,SP,BE)
Build Date: 浜?11鏈? 7 17:06:48 CST 2006 (wanles@localhost.localdomain)
Copyright (C) 2000-2005 Broadcom Corporation.
Boot Address 0xbf800000
Initializing Arena.
Initializing Devices.
Parallel flash device: name EON FLASH, id 0x0000, size 8192KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 33554432 bytes (32MB)
Total memory used by CFE: 0x80401000 - 0x80527450 (1205328)
Initialized Data: 0x8041D1C0 - 0x8041EBD0 (6672)
BSS Area: 0x8041EBD0 - 0x80425450 (26752)
Local Heap: 0x80425450 - 0x80525450 (1048576)
Stack Area: 0x80525450 - 0x80527450 (8192)
Text (code) segment: 0x80401000 - 0x8041D1BC (115132)
Boot area (physical): 0x00528000 - 0x00568000
Relocation Factor: I:00000000 - D:00000000
Board IP address : 192.168.1.1
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Board Id Name : 96358GW
Psi size in KB : 24
Number of MAC Addresses (1-32) : 10
Base MAC Address : 00:18:39:aa:e7:cd
Ethernet PHY Type : Internal
Memory size in MB : 32
CMT Thread Number : 0
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Code Address: 0x80010000, Entry Address: 0x80230018
Decompression OK!
Entry at 0x80230018
Closing network.
Starting program at 0x80230018
Linux version 2.6.8.1 (root@SBU-II-1) (gcc version 3.4.2) #1 Fri Jan 25 10:55:19 CST 2008
Parallel flash device: name EON FLASH, id 0x0000, size 8192KB
96358GW prom init
CPU revision is: 0002a010
Determined physical RAM map:
memory: 01fa0000 @ 00000000 (usable)
On node 0 totalpages: 8096
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 4000 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200
brcm mips: enabling icache and dcache...
Primary instruction cache 32kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB 2-way, linesize 16 bytes.
PID hash table entries: 128 (order 7: 1024 bytes)
Using 150.000 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29276k/32384k available (1894k kernel code, 3064k reserved, 277k data, 92k init, 0k highmem)
Calibrating delay loop... 299.82 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction... unavailable.
NET: Registered protocol family 16
Total Flash size: 8192K with 128 sectors
File system address: 0xbfc10100
Scratch pad is not used for this flash part.
Can't analyze prologue code at 801e804c
Initializing Cryptographic API
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Using noop io scheduler
bcm963xx_mtd driver v1.0
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Physically mapped flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
mymtd = 81f82600
Creating 7 MTD partitions on "Physically mapped flash":
0x00410100-0x006ad100 : "fs"
mtd: partition "fs" doesn't start on an erase block boundary -- force read-only
0x00410000-0x007f0000 : "tag+fs+kernel"
0x00400000-0x00410000 : "bootloader"
0x007f0000-0x00800000 : "nvram"
0x00010000-0x003f0000 : "tag1+fs1"
0x00010100-0x00090100 : "fs1"
mtd: partition "fs1" doesn't start on an erase block boundary -- force read-only
0x007b0000-0x007f0000 : "lang"
brcmboard: brcm_board_init entry
Serial: BCM63XX driver $Revision: 1.1.1.1 $
ttyS0 at MMIO 0xfffe0100 (irq = 10) is a BCM63XX
ttyS1 at MMIO 0xfffe0120 (irq = 11) is a BCM63XX
blaadd: blaa_detect entry
adsl: adsl_init entry
Broadcom BCMPROCFS v1.0 initialized
u32 classifier
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (253 buckets, 0 max) - 400 bytes per conntrack
ip_ct_h323: init success
ip_conntrack_pptp version 2.1 loaded
ip_conntrack_rtsp v0.01 loading
ip_nat_h323: init success
ip_nat_pptp version 2.0 loaded
ip_nat_rtsp v0.01 loading
ip_tables: (C) 2000-2002 Netfilter core team
netfilter PSD loaded - (c) astaro AG
ipt_random match loaded
NET: Registered protocol family 1
NET: Registered protocol family 17
Ebtables v2.0 registered
NET: Registered protocol family 8
NET: Registered protocol family 20
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.
Freeing unused kernel memory: 92k freed
init started: BusyBox v1.00 (2008.01.17-06:09+0000) multi-call binary
init started: BusyBox v1.00 (2008.01.17-06:09+0000) multi-call binary
Starting pid 49, console /dev/ttyS0: '/usr/etc/rcS'
Algorithmics/MIPS FPU Emulator v1.5
bcm_enet: module license 'Proprietary' taints kernel.
Broadcom BCM6358A1 Ethernet Network Device v0.3 Jan 25 2008 10:54:07
Config Ethernet Switch Through MDIO Pseudo PHY Interface
dgasp: kerSysRegisterDyingGaspHandler: eth0 registered
eth0: MAC Address: 00:18:39:AA:E7:CD
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=adsl action=start
/bin/cp /proc/uptime /tmp//var/run/rc.adsl.run
/usr/sbin/adslctl start --up
BcmAdsl_Initialize=0x8011D568, g_pFnNotifyCallback=0x80221864
AnnexCParam=0x7FFF7ED8 AnnexAParam=0x00000980 adsl2=0x00000000
pSdramPHY=0xA1FFFFF8, 0x6C7C8 0xDEADBEEF
AdslCoreHwReset: AdslOemDataAddr = 0xA1FFD3D4
AnnexCParam=0x7FFF7ED8 AnnexAParam=0x00000980 adsl2=0x00000000
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
/usr/sbin/adslctl configure --mod a
AnnexCParam=0x7FFF7EC8 AnnexAParam=0x00000980 adsl2=0x00000000
/usr/sbin/atmctl start
ATM proc init !!!
device eth0 entered promiscuous mode
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=printk action=start
/bin/cp /proc/uptime /tmp//var/run/rc.printk.run
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=lan action=start
/bin/cp /proc/uptime /tmp//var/run/rc.lan.run
/sbin/ifconfig br0 192.168.2.254 netmask 255.255.255.0 broadcast 192.168.2.255
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=wlan action=create
/bin/cp /proc/uptime /tmp//var/run/rc.wlan.run
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=wlan action=start
/bin/cp /proc/uptime /tmp//var/run/rc.wlan.run
start wifi
ath0
Interface doesn't accept private ioctl...
maccmd (8BE0): Invalid argument
wlan up!!
start wifi return 0
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=syslogd action=start
/bin/cp /proc/uptime /tmp//var/run/rc.syslogd.run
/usr/bin/killall -SIGUSR2 syslogd
killall: syslogd: no process killed
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=httpd action=start
/bin/cp /proc/uptime /tmp//var/run/rc.httpd.run
tar: Short read
/bin/ln -sf /www.eng /tmp/www
/usr/sbin/mini_httpd -d /tmp/www -r "Linksys WAG325N " -c '*.cgi' -t 300 -i /var/run/mini_httpd.pid -S -E /usr/sbin/certSrv.pem &
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=dhcpd action=start
/bin/cp /proc/uptime /tmp//var/run/rc.dhcpd.run
/usr/sbin/udhcpd /etc/udhcpd.conf&
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=ntp action=start
/bin/cp /proc/uptime /tmp//var/run/rc.ntp.run
/usr/sbin/ntp -z GMT+8 1&
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=route action=start
/bin/cp /proc/uptime /tmp//var/run/rc.route.run
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=ripd action=start
/bin/cp /proc/uptime /tmp//var/run/rc.ripd.run
/usr/sbin/iptables -D INPUT -p udp --dport 520 -j ACCEPT
iptables: Bad rule (does a matching rule exist in that chain?)
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=snmp action=start
/bin/cp /proc/uptime /tmp//var/run/rc.snmp.run
/usr/bin/killall snmp
killall: snmp: no process killed
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=radvd action=start
/bin/cp /proc/uptime /tmp//var/run/rc.radvd.run
/bin/cp /proc/uptime /tmp//var/run/rc.radvd.run
can't find this application
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=dhcp6s action=start
/bin/cp /proc/uptime /tmp//var/run/rc.dhcp6s.run
/bin/cp /proc/uptime /tmp//var/run/rc.dhcp6s.run
can't find this application
/usr/etc/rcS: 96: /usr/sbin/lld2: not found
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=upnp action=start
/bin/cp /proc/uptime /tmp//var/run/rc.upnp.run
/usr/bin/killall -9 upnpd
killall: upnpd: no process killed
route add -net 239.0.0.0 netmask 255.0.0.0 br0
/usr/sbin/upnpd ppp0 br0 30 4&
UPnP Initialized
Intialized UPnP
with fullurl=http://192.168.2.254:49152/gateway.xml
ipaddress=192.168.2.254 port=49152
web_dir_path=/usr/upnp/
desc_doc_url=http://192.168.2.254:49152
Specifying the webserver root directory -- /usr/upnp/
Registering the RootDevice
RootDevice Registered
Initializing State Table
fullurl http://192.168.2.254:49152/gateway.xml
Advertisements Sent
* *
* * * *
* {~._.~} *
* ( Y ) *
* ()~*~() *
* (_)-(_) *
* *
* *
*
ap_name=wscupnp action=start
/bin/cp /proc/uptime /tmp//var/run/rc.wscupnp.run
/bin/cp /proc/uptime /tmp//var/run/rc.wscupnp.run
can't find this application
Please press Enter to activate this console. |
|