Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Resetting...
- U-Boot 1.1.4 (Dec 7 2009 - 03:52:14)
- AP99 (ar7240 - Python) U-boot
- DRAM:
- sri
- #### TAP VALUE 1 = 0x8, 2 = 0x8 [0x805021e0: 0x80503050]
- 32 MB
- Top of RAM usable for U-Boot at: 82000000
- Reserving 244k for U-Boot at: 81fc0000
- Reserving 192k for malloc() at: 81f90000
- Reserving 44 Bytes for Board Info at: 81f8ffd4
- Reserving 36 Bytes for Global Data at: 81f8ffb0
- Reserving 128k for boot params() at: 81f6ffb0
- Stack Pointer at: 81f6ff98
- Now running in RAM - U-Boot at: 81fc0000
- id read 0x100000ff
- flash size 4194304, sector count = 64
- Flash: 4 MB
- *** Warning - bad CRC, using default environment
- In: serial
- Out: serial
- Err: serial
- Net: ag7240_enet_initialize...
- Fetching MAC Address from 0x81fe7340
- : cfg1 0xf cfg2 0x7014
- eth0: 00:18:e7:e0:03:31
- eth0 up
- No valid address in Flash. Using fixed address
- : cfg1 0xf cfg2 0x7214
- eth1: 00:03:7f:09:0b:ad
- ATHRS26: resetting s26
- ATHRS26: s26 reset done
- eth1 up
- eth0, eth1
- Hit any key to stop autoboot: 0
- ar7240> pri
- bootargs=console=ttyS0,115200 root=31:03 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ar7240-nor0:192k(u-boot),64k(nvram),960k(linux),2560k(rootfs),64k(MAC),192k(LP),64k(ART)
- bootcmd=bootm 0xbf040000
- bootdelay=1
- baudrate=115200
- ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
- ipaddr=192.168.1.10
- serverip=192.168.1.27
- stdin=serial
- stdout=serial
- stderr=serial
- ethact=eth0
- Environment size: 367/65532 bytes
- ar7240> bootm 0xbf040000
- ## Booting image at bf040000 ...
- Image Name: FreeBSD Kernel Image
- Created: 2012-01-09 0:04:14 UTC
- Image Type: MIPS Linux Kernel Image (lzma compressed)
- Data Size: 1112577 Bytes = 1.1 MB
- Load Address: 80001000
- Entry Point: 80001000
- Verifying Checksum ... OK
- LZMA Umcompressing Kernel Image ... Image loaded from 80001000-803ea884
- OK
- No initrd
- ## Transferring control to Linux (at address 80001000) ...
- ## Giving linux memsize in bytes, 33554432
- Starting kernel ...
- CPU platform: Atheros AR7240 rev 2
- CPU Frequency=400 MHz
- CPU DDR Frequency=400 MHz
- CPU AHB Frequency=200 MHz
- platform frequency: 400000000
- arguments:
- a0 = 00000007
- a1 = a1f6ffb0
- a2 = a1f70470
- a3 = 00000004
- Cmd line: (null) console=ttyS0,115200 root=31:03 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ar7240-nor0:192k(u-boot),64k(nvram),960k(linux),2560k(rootfs),64k(MAC),192k(LP),64k(ART) mem=32M
- Environment:
- envp skiped
- Cache info:
- picache_stride = 4096
- picache_loopcount = 16
- pdcache_stride = 4096
- pdcache_loopcount = 8
- cpu0: MIPS Technologies processor v116.147
- MMU: Standard TLB, 16 entries
- L1 i-cache: 4 ways of 512 sets, 32 bytes per line
- L1 d-cache: 4 ways of 256 sets, 32 bytes per line
- Config1=0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
- Config3=0x20
- KDB: debugger backends: ddb
- KDB: current backend: ddb
- Copyright (c) 1992-2012 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 10.0-CURRENT #21 r0:229577M: Mon Jan 9 02:03:04 EET 2012
- ray@terran.dlink.ua:/usr/obj/usr/home/ray/work/DDTeam.net/ZRouter/zrouter/tmp/mips.mipseb/usr/1/MIPS_FreeBSD/HEAD/head/sys/usr/obj/usr/home/ray/work/DDTeam.net/ZRouter/zrouter/conf/D-Link_DIR-615-E4 mips
- real memory = 33554432 (32768K bytes)
- avail memory = 27303936 (26MB)
- nexus0: <MIPS32 root nexus>
- clock0: <Generic MIPS32 ticker> on nexus0
- Timecounter "MIPS32" frequency 200000000 Hz quality 800
- Event timer "MIPS32" frequency 200000000 Hz quality 800
- apb0 at irq 4 on nexus0
- uart0: <16550 or compatible> on apb0
- uart0: console (115200,n,8,1)
- gpio0: <Atheros AR71XX GPIO driver> on apb0
- gpio0: [GIANT-LOCKED]
- gpio0: gpio pinmask=0x0
- gpiobus0: <GPIO bus> on gpio0
- gpiobus0: GPIO device with 18 pins
- gpioc0: <GPIO controller> at pin(s) 0-17 on gpiobus0
- gpioled0: <GPIO led> at pin(s) 0 on gpiobus0
- gpioled0: /dev/led/wps flags=0102
- gpioled1: <GPIO led> at pin(s) 1 on gpiobus0
- gpioled1: /dev/led/status flags=0102
- gpioled2: <GPIO led> at pin(s) 11 on gpiobus0
- gpioled2: /dev/led/usb flags=0102
- pcib0 at irq 0 on nexus0
- pcib0: Loading the eeprom fixup data from 0x1fff1000
- 00006000: 002d168c
- 00006008: 02800001
- 0000602c: a199168c
- 00005000: 002e168c
- 00005008: 02800001
- 0000502c: a199168c
- 00005064: 05048cc0
- 0000570c: 22003f01
- 0000506c: 00033c11
- 00004004: 004a050b
- 00004074: 00000003
- 00004000: 01c25001
- 00006034: 00000044
- 0000510c: 00062010
- 00005164: ff241412
- 00005168: 001517ff
- 00005068: 00192010
- pci0: <PCI bus> on pcib0
- ath0: <Atheros 9287> at device 0.0 on pci0
- ath0: unable to attach hardware; HAL status 4
- device_attach: ath0 attach returned 6
- arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0
- arge0: Overriding MAC from EEPROM
- arge_attach:463: call arge_set_pll(sc, media=00000006, duplex=00000000)
- miibus0: attached floatphy0 PHYno=0 0000/0000 cpamask=ffffffff
- miibus0: attached switch0 PHYno=1 0000/0000 cpamask=ffffffff
- miibus0: <MII bus> on arge0
- floatphy0 PHY 0 on miibus0
- floatphy0: none, 100baseTX-FDX
- switch0 PHY 1 on miibus0
- switch0: 100baseTX, 100baseTX-FDX, 1000baseSX, 1000baseSX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master
- ar8x16_switch0: <AR8216.2 Ethernet switch> on switch0
- arge0: Ethernet address: 00:18:e7:e0:03:31
- arge1: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1a000fff irq 3 on nexus0
- arge_attach:463: call arge_set_pll(sc, media=00000010, duplex=00000000)
- miibus1: attached floatphy1 PHYno=0 0000/0000 cpamask=ffffffff
- miibus1: <MII bus> on arge1
- floatphy1 PHY 0 on miibus1
- floatphy1: none, 1000baseT-FDX, 1000baseT-FDX-master
- arge1: Ethernet address: 00:18:e7:e0:03:32
- spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
- spibus0: <spibus bus> on spi0
- mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0
- mx25l0: mx25ll32, sector 65536 bytes, 64 sectors
- ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0
- ar71xx_wdog0: Previous reset was due to watchdog timeout
- Timecounters tick every 10.000 msec
- map/rootfs.uncompress: GEOM_ULZMA image found
- map/rootfs.uncompress: 81 x 131072 blocks
- Trying to mount root from cd9660:/dev/map/rootfs.uncompress []...
- g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
- RRIP without PX field?
- g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
- warning: no time-of-day clock registered, system time will not be set accurately
- g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
- 0/IN
- 1/II
- 2/PU
- 3/INT
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- ioctl(GPIOSETCONFIG): Invalid argument
- arge0: changing name to 'wan0'
- arge1: changing name to 'lan0'
- kenv: unable to get HostName
- kern.coredump: 1 -> 0
- net.inet.ip.forwarding: 0 -> 1
- g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10127360, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- eval: syslogd: Input/output error
- dd: /dev/map/config: g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- Invalid argument
- 0+0 records in
- 0+0 records out
- 0 bytes transferred in 0.343295 secs (0 bytes/sec)
- Shared object "libcrypto.so.6" not found, required by "tar"ipfw2 initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to accept, logging disabled
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- 65000 allow ip from any to any
- eval: mpd: not found
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- Thu Jan 1 00:01:07 UTC 1970
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- Jan 1 00:01:09 getty[50]: open /dev/ttyu1: No such file or directory
- login: root
- Password:
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- FreeBSD 9.0-CURRENT / ZRouter project
- Developed by Aleksandr Rybalko <ray@ddteam.net>
- under sponsorship from N Possible (npossible.net)
- and D-Link International Pte Ltd Ukraine.
- Welcome to FreeBSD!
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
- Cannot read termcap database;
- using dumb terminal settings.
- # ifconfig wan0
- wan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
- options=80000<LINKSTATE>
- l ether 00f:18:e7:e0:03:31
- oatphy_service: found master switch0
- SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
- wan0: link state changed to UP
- SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
- media: Ethernet none (100baseTX <full-duplex>)
- status: active
- SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- # ifconfig wan0
- Tan0: flags=8802S<BROADCAST,SIMPLWEX,MULTICAST> meItric 0 mtu 1500
- optionsC=80000<LINKSTATEH>
- etherP 00:18:e7:e0:03:U31
- B_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
- media: ESthernet none (10W0baseTX <full-duIplex>)
- Tstatus: active
- CHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
- # ifconfig wan0
- Tan0: flags=8802S<BROADCAST,SIMPLWEX,MULTICAST> meItric 0 mtu 1500
- optionsC=80000<LINKSTATEH>
- etherP 00:18:e7:e0:03:U31
- B_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
- media: ESthernet none (10W0baseTX <full-duIplex>)
- Tstatus: active
- CHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
- #
- #
- #
- #
- #
- #
- #
- # ifconfig lan0
- aan0: flags=8802f<BROADCAST,SIMPLlEX,MULTICAST> meotric 0 mtu 1500
- optionst=80000<LINKSTATEp>
- etherh 00:18:e7:e0:03:y32
- _service: found master switch0
- SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = ffff
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- lan0: link state changed to UP
- SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = ffff
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- media: ESthernet none
- W status: acItive
- TCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = ffff
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 0000
- #
- #
- #
- #
- #
- # switchctl /dev/switch0 get reg 0x80000008
- Reg 0x80000008 Value = 0x01261be2
- #
- #
- #
- # switchctl /dev/switch0 set reg 0x80000008 0x01260be2
- Reg 0x80000008 Value = 0x01260be2 (Old value = 0x01261be2)
- #
- #
- # ifconfig lan0
- Tan0: flags=8802S<BROADCAST,SIMPLWEX,MULTICAST> meItric 0 mtu 1500
- optionsC=80000<LINKSTATEH>
- etherP 00:18:e7:e0:03:U32
- B_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- media: ESthernet none
- W status: acItive
- TCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 0000
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- # switchctl /dev/switch0 set reg 0x80000008 0x012603e2
- Reg 0x80000008 Value = 0x012603e2 (Old value = 0x01260be2)
- # ifconfig lan0
- Tan0: flags=8802S<BROADCAST,SIMPLWEX,MULTICAST> meItric 0 mtu 1500
- optionsC=80000<LINKSTATEH>
- etherP 00:18:e7:e0:03:U32
- B_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- media: ESthernet none
- W status: acItive
- TCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- #
- #
- #
- #
- #
- #
- #
- # ifconfig lan0
- Ian0: flags=8802<BROADCAST,SIMPLSEX,MULTICAST> meWtric 0 mtu 1500
- optionsT=80000<LINKSTATEC>
- etherH 00:18:e7:e0:03:P32
- UB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
- media: ESthernet none
- W status: acItive
- TCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
- SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
- SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement