Created
December 3, 2017 14:43
-
-
Save mizhka/625d9f5d21bdb553157d16fc83208074 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFE version 5.70.55.33 @VERSION_TYPE@ based on BBP 1.0.37 for BCM947XX (32bit,SP,LE) | |
Build Date: 三 1月 2 13:05:22 CST 2013 (root@raymonddev-vm) | |
Copyright (C) 2000-2008 Broadcom Corporation. | |
Init Arena | |
Init Devs. | |
Boot partition size = 131072(0x20000) | |
Found a 8MB ST compatible serial flash | |
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.70.55.33 @VERSION_TYPE@ | |
CPU type 0x19749: 500MHz | |
Tot mem: 32768 KBytes | |
CFE mem: 0x80700000 - 0x8079FDE0 (654816) | |
Data: 0x80735C30 - 0x80738E60 (12848) | |
BSS: 0x80738E60 - 0x80739DE0 (3968) | |
Heap: 0x80739DE0 - 0x8079DDE0 (409600) | |
Stack: 0x8079DDE0 - 0x8079FDE0 (8192) | |
Text: 0x80700000 - 0x80735C2C (220204) | |
Device eth0: hwaddr BC-EE-7B-71-97-8B, ipaddr 192.168.1.1, mask 255.255.255.0 | |
gateway not set, nameserver not set | |
Startup canceled | |
CFE> boot -tftp 192.168.1.2:/kernel.BCM.tramp.bin -raw -max=0x700000 -addr=0x80900000 | |
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.2:/kernel.BCM.tramp.bin Options:(null) | |
Loading: CFE works as TFTP Client. | |
.......TFTP_BLKLEN!! | |
break!! last block!! | |
.. 5419812 bytes read | |
Entry at 0x80900000 | |
Closing network. | |
Starting program at 0x80900000 | |
entry: mips_init() | |
Cache info: | |
picache_stride = 4096 | |
picache_loopcount = 8 | |
pdcache_stride = 4096 | |
pdcache_loopcount = 8 | |
max line size = 32 | |
cpu0: MIPS Technologies processor v73.151 | |
MMU: Standard TLB, 64 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes) | |
L1 i-cache: 4 ways of 256 sets, 32 bytes per line | |
L1 d-cache: 4 ways of 256 sets, 32 bytes per line | |
L2 cache: disabled | |
Config1=0xfea3519e<PerfCount,WatchRegs,MIPS16,EJTAG> | |
Config2=0x80000000 | |
Config3=0x2c20<ULRI> | |
Config7=0xa0000800<WII> | |
KDB: debugger backends: ddb | |
KDB: current backend: ddb | |
Copyright (c) 1992-2017 The FreeBSD Project. | |
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 | |
The Regents of the University of California. All rights reserved. | |
FreeBSD is a registered trademark of The FreeBSD Foundation. | |
FreeBSD 12.0-CURRENT #45 7cf1f4b027f(user/mizhka/bcm-r326479)-dirty: Sun Dec 3 17:41:04 MSK 2017 | |
mizhka@halloween:/repo/onion/obj/mipsel/repo/onion/src/mips.mipsel/sys/BCM mips | |
gcc version 4.2.1 20070831 patched [FreeBSD] | |
real memory = 32899072 (32128K bytes) | |
avail memory = 25907200 (24MB) | |
arc4random: no preloaded entropy cache | |
random: entropy device external interface | |
nexus0: <MIPS32 root nexus> | |
bhnd_nvram0: <Broadcom> on nexus0 | |
bhnd0: <BCM5357 BCMA bus> at mem 0x18000000-0x180fffff on nexus0 | |
bhnd0: core 5: can't find RID by port number: 0 | |
bhnd0: core 7: can't find RID by port number: 0 | |
bhnd0: core 10: can't find RID by port number: 0 | |
bhnd0: core 11: can't find RID by port number: 0 | |
bhnd0: core 12: can't find RID by port number: 0 | |
bhnd_chipc0: <Broadcom ChipCommon I/O Controller, rev 38> mem 0x18000000-0x18000fff,0x1fc00000-0x1fffffff,0x1c000000-0x1dffffff,0x18100000-0x18100fff,0x18108000-0x18108fff irq 8 at core 0 on bhnd0 | |
gpio0: <Broadcom ChipCommon GPIO> mem 0x18000000-0x18000fff on bhnd_chipc0 | |
gpiobus0: <GPIO bus> on gpio0 | |
cpupic0: <MIPS32 Interrupt Controller> on nexus0 | |
bcm_mips0: <MIPS MIPS74k CPU, rev 4> mem 0x18003000-0x18003fff,0x18103000-0x18103fff irq 11 at core 3 on bhnd0 | |
bhnd_pmu0: <Broadcom ChipCommon PMU, rev 9> on bhnd_chipc0 | |
clock0: <Generic MIPS32 ticker> on nexus0 | |
Timecounter "MIPS32" frequency 250000000 Hz quality 800 | |
Event timer "MIPS32" frequency 250000000 Hz quality 800 | |
gpioc0: <GPIO controller> on gpio0 | |
uart0: <16750 or compatible> mem 0x18000300-0x180003ff irq 14 on bhnd_chipc0 | |
uart0: console (115200,n,8,1) | |
spi0: <Broadcom ChipCommon SPI> mem 0x1c000000-0x1dffffff,0x18000040-0x1800004b on bhnd_chipc0 | |
spibus0: <spibus bus> on spi0 | |
nvram2env0: Found NVRAM at 0x803f4e14 | |
nvram2env0: <NVRAM to ENV pseudo-device> on spi0 | |
nvram2env0: sig = 0x48534c46 | |
nvram2env0: size = 0xfdc | |
mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0 | |
mx25l0: mx25ll64, sector 65536 bytes, 128 sectors | |
bhnd0: <Broadcom 802.11 MAC/PHY/Radio, rev 28> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 9 at core 1 (no driver attached) | |
bhnd0: <Broadcom Gigabit MAC core, rev 3> mem 0x18002000-0x18002fff,0x18008000-0x18008fff,0x18102000-0x18102fff irq 10 at core 2 (no driver attached) | |
bhnd_usb0: <USB2.0 Host core> mem 0x18004000-0x18004fff,0x18009000-0x18009fff,0x18104000-0x18104fff irq 12 at core 4 on bhnd0 | |
bhnd_usb0: bhnd: USB HOST 2.0 setup for rev 5 | |
bhnd_usb0: bhnd: ehci: irq=15 maddr=0x18004000 | |
bhnd_usb0: bhnd: ohci: irq=16 maddr=0x18004000 | |
ehci0: <Broadcom EHCI> at mem 18004000-18004fff irq -2142130220 on bhnd_usb0 | |
bhnd_usb0: bhnd: trying allocate def 3 - 0 for ehci0 | |
bhnd_usb0: bhnd: trying allocate def 1 - 0 for ehci0 | |
usbus0: EHCI version 1.0 | |
usbus0 on ehci0 | |
bhnd0: <Broadcom DDR1/DDR2 Memory Controller, rev 2> mem 0x18005000-0x18005fff,0-0x7ffffff,0x10000000-0x17ffffff,0x80000000-0xbfffffff,0x18105000-0x18105fff at core 5 (no driver attached) | |
bhnd0: <Broadcom I2S Digital Audio Interface, rev 2> mem 0x18006000-0x18006fff,0x18106000-0x18106fff irq 13 at core 6 (no driver attached) | |
bhnd0: <Broadcom Internal Memory, rev 11> mem 0x18007000-0x18007fff,0x1e000000-0x1e01ffff,0x18107000-0x18107fff at core 7 (no driver attached) | |
Timecounters tick every 10.000 msec | |
usbus0: 480Mbps High Speed USB v2.0 | |
Trying to mount root from ufs:ufs/FBSD []... | |
mx25l0: bhnd: Firmware image [0x30524448]: 0x20000 - 0x7f8000 | |
ugen0.1: <Broadcom EHCI root HUB> at usbus0 | |
uhub0: <Broadcom EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0 | |
Warning: no time-of-day clock registered, system time will not be set accurately | |
uhub0: 2 ports with 2 removable, self powered | |
ugen0.2: <Broadcom Remote Download Wireless Adapter> at usbus0 | |
Dec 2 22:42:55 init: login_getclass: unknown class 'daemon' | |
*** Mounting /tmp, /var, /etc ... | |
random: unblocking device. | |
*** Copying /c/etc -> /etc ... | |
*** Starting rc2 ... | |
*** Populating /var .. | |
ls: /dev/cfi*.cfg: No such file or directory | |
*** Loading configuration files .. | |
ls: /dev/cfi*.cfg: No such file or directory | |
*** Restoring from /dev/flash/spi0s.cfg .. | |
gunzip: invalid compressed data--crc error | |
1+0 records in | |
1+0 records out | |
etc/cfg/manifest | |
etc/master.passwd | |
etc/group | |
65536 bytes transferred in 1.302719 secs (50307 bytes/sec) | |
etc/cfg/rc.conf | |
etc/profile | |
10 blocks | |
*** Completed. | |
*** setting up hostname | |
*** Load kernel modules | |
.. bgmac | |
bgmac0: <BHND Gigabit MAC> mem 0x18002000-0x18002fff,0x18008000-0x18008fff,0x18102000-0x18102fff irq 10 at core 2 on bhnd0 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_TX_CTRL =00000000 (OFF,DMA,,,PARITYCHK,off:00000000,ext:00000000) | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_TX_INDEX =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_TX_RINGLOW =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_TX_RINGHIGH =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_TX_STATE =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_TX_ERROR =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_RX_CTRL =00000008 (OFF,DMA,,,PARITYCHK,off:00000008,ext:00000000) | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_RX_INDEX =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_RX_RINGLOW =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_RX_RINGHIGH =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_RX_STATE =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DMA_RX_ERROR =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_CMD_CFG =01800054 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_RX_MAX_LEN =000005ee | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DEVICE_CONTROL =00300011 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_DEVICE_STATUS =04110100 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_BIST_STATUS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_INTR_STATUS =00000010 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_INTERRUPT_MASK =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_GP_TIMER =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_INTR_RECV_LAZY =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_PWR_CTL =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_CLOCK_CONTROL_ST =030b0100 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_FLOW_CTL_THRESH =026602cc | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_PAUSE_CTL =0002ffff | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_TXQ_CTL =00000200 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_REG_RXQ_CTL =06000001 | |
bgmac0: [BHND info] bgmac_print_debug:147 => BGMAC_CLOCK_CONTROL_ST =030b0100 | |
bgmac0: [BHND info] bgmac_print_debug:148 => BGMAC_MIB_TX_BYTES =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:148 => BGMAC_MIB_TX_PCKTS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:148 => BGMAC_MIB_TX_DEFERED =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:148 => BGMAC_MIB_TX_Q0_PKTS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:148 => BGMAC_MIB_TX_Q0_OCTETS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:148 => BGMAC_MIB_RX_GOOD_BYTES =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:148 => BGMAC_MIB_RX_GOOD_PCKTS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:148 => BGMAC_MIB_RX_BYTES =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:148 => BGMAC_MIB_RX_PCKTS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_TX_ERR_JABBER_PKTS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_TX_ERR_OVERSIZE_PKTS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_TX_ERR_UNDERRUNS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_TX_ERR_EXCESSIVE_COLS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_TX_ERR_LATE_COLS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_RX_ERR_JABBER_PCKTS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_RX_ERR_OVERSIZE_PCKTS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_RX_ERR_MISSED_PCKTS =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_RX_ERR_CRC_ALIGN =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_RX_ERR_UNDERSIZE =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_RX_ERR_CRC =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_RX_ERR_ALIGN =00000000 | |
bgmac0: [BHND info] bgmac_print_debug:149 => BGMAC_MIB_RX_ERR_SYMBOL =00000000 | |
bgmac0: Ethernet address: bc:ee:7b:71:97:8b | |
mdio0: <MDIO> on bgmac0 | |
.. bridgestp | |
kldload: can't load bridgestp: No such file or directory | |
.. if_bridge | |
kldload: can't load if_bridge: No such file or directory | |
.. random | |
kldload: can't load random: No such file or directory | |
*** Setting kern.random.harvest.mask=511 | |
kern.random.harvest.mask: 2047 -> 511 | |
*** bringing up loopback .. | |
*** Default password/login databases .. | |
*** Customising sysctl .. | |
*** Starting networking via /etc/rc.d/base/net | |
*** Interface: bgmac0: start | |
bgmac0: [BHND info] bgmac_chip_start_txrx:396 => starting TX / RX | |
*** Interface: bgmac0: done | |
/etc/rc.d/base/net: /etc/rc.d/net/: Permission denied | |
/etc/rc.d/base/net: /etc/rc.d/net/: Permission denied | |
/etc/rc.d/base/net: /etc/rc.d/net/: Permission denied | |
*** Interface: bridge0: start | |
ifconfig: SIOCIFCREATE2: Invalid argument | |
ifconfig: interface bridge0 does not exist | |
ifconfig: interface bridge0 does not exist | |
ifconfig: interface bridge0 does not exist | |
*** Interface: bridge0: done | |
ipfw: setsockopt(IP_FW_XDEL): Protocol not available | |
*** Done! | |
FreeBSD/mips (RT-N53) (ttyu0) | |
login: root | |
[RT-N53:/root]$ ifconfig | |
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 | |
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> | |
inet 127.0.0.1 netmask 0xff000000 | |
groups: lo | |
bgmac0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 | |
options=3<RXCSUM,TXCSUM> | |
ether bc:ee:7b:71:97:8b | |
inet 192.168.1.53 netmask 0xffffff00 broadcast 192.168.1.255 | |
media: Ethernet 1000baseT <full-duplex> | |
status: active | |
[RT-N53:/root]$ ping 192.168.1.2 | |
PING 192.168.1.2 (192.168.1.2): 56 data bytes | |
64 bytes from 192.168.1.2: icmp_seq=0 ttl=64 time=0.774 ms | |
64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=1.902 ms | |
^C | |
--- 192.168.1.2 ping statistics --- | |
2 packets transmitted, 2 packets received, 0.0% packet loss | |
round-trip min/avg/max/stddev = 0.774/1.338/1.902/0.564 ms | |
[RT-N53:/root]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment