Advertisement
rayddteam

Untitled

Jan 8th, 2012
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.80 KB | None | 0 0
  1. Resetting...
  2.  
  3. U-Boot 1.1.4 (Dec 7 2009 - 03:52:14)
  4.  
  5. AP99 (ar7240 - Python) U-boot
  6. DRAM:
  7. sri
  8. #### TAP VALUE 1 = 0x8, 2 = 0x8 [0x805021e0: 0x80503050]
  9. 32 MB
  10. Top of RAM usable for U-Boot at: 82000000
  11. Reserving 244k for U-Boot at: 81fc0000
  12. Reserving 192k for malloc() at: 81f90000
  13. Reserving 44 Bytes for Board Info at: 81f8ffd4
  14. Reserving 36 Bytes for Global Data at: 81f8ffb0
  15. Reserving 128k for boot params() at: 81f6ffb0
  16. Stack Pointer at: 81f6ff98
  17. Now running in RAM - U-Boot at: 81fc0000
  18. id read 0x100000ff
  19. flash size 4194304, sector count = 64
  20. Flash: 4 MB
  21. *** Warning - bad CRC, using default environment
  22.  
  23. In: serial
  24. Out: serial
  25. Err: serial
  26. Net: ag7240_enet_initialize...
  27. Fetching MAC Address from 0x81fe7340
  28. : cfg1 0xf cfg2 0x7014
  29. eth0: 00:18:e7:e0:03:31
  30. eth0 up
  31. No valid address in Flash. Using fixed address
  32. : cfg1 0xf cfg2 0x7214
  33. eth1: 00:03:7f:09:0b:ad
  34. ATHRS26: resetting s26
  35. ATHRS26: s26 reset done
  36. eth1 up
  37. eth0, eth1
  38. Hit any key to stop autoboot: 0
  39. ar7240> pri
  40. 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)
  41. bootcmd=bootm 0xbf040000
  42. bootdelay=1
  43. baudrate=115200
  44. ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
  45. ipaddr=192.168.1.10
  46. serverip=192.168.1.27
  47. stdin=serial
  48. stdout=serial
  49. stderr=serial
  50. ethact=eth0
  51.  
  52. Environment size: 367/65532 bytes
  53. ar7240> bootm 0xbf040000
  54. ## Booting image at bf040000 ...
  55. Image Name: FreeBSD Kernel Image
  56. Created: 2012-01-09 0:04:14 UTC
  57. Image Type: MIPS Linux Kernel Image (lzma compressed)
  58. Data Size: 1112577 Bytes = 1.1 MB
  59. Load Address: 80001000
  60. Entry Point: 80001000
  61. Verifying Checksum ... OK
  62. LZMA Umcompressing Kernel Image ... Image loaded from 80001000-803ea884
  63. OK
  64. No initrd
  65. ## Transferring control to Linux (at address 80001000) ...
  66. ## Giving linux memsize in bytes, 33554432
  67.  
  68. Starting kernel ...
  69.  
  70. CPU platform: Atheros AR7240 rev 2
  71. CPU Frequency=400 MHz
  72. CPU DDR Frequency=400 MHz
  73. CPU AHB Frequency=200 MHz
  74. platform frequency: 400000000
  75. arguments:
  76. a0 = 00000007
  77. a1 = a1f6ffb0
  78. a2 = a1f70470
  79. a3 = 00000004
  80. 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
  81. Environment:
  82. envp skiped
  83. Cache info:
  84. picache_stride = 4096
  85. picache_loopcount = 16
  86. pdcache_stride = 4096
  87. pdcache_loopcount = 8
  88. cpu0: MIPS Technologies processor v116.147
  89. MMU: Standard TLB, 16 entries
  90. L1 i-cache: 4 ways of 512 sets, 32 bytes per line
  91. L1 d-cache: 4 ways of 256 sets, 32 bytes per line
  92. Config1=0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
  93. Config3=0x20
  94. KDB: debugger backends: ddb
  95. KDB: current backend: ddb
  96. Copyright (c) 1992-2012 The FreeBSD Project.
  97. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  98. The Regents of the University of California. All rights reserved.
  99. FreeBSD is a registered trademark of The FreeBSD Foundation.
  100. FreeBSD 10.0-CURRENT #21 r0:229577M: Mon Jan 9 02:03:04 EET 2012
  101. 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
  102. real memory = 33554432 (32768K bytes)
  103. avail memory = 27303936 (26MB)
  104. nexus0: <MIPS32 root nexus>
  105. clock0: <Generic MIPS32 ticker> on nexus0
  106. Timecounter "MIPS32" frequency 200000000 Hz quality 800
  107. Event timer "MIPS32" frequency 200000000 Hz quality 800
  108. apb0 at irq 4 on nexus0
  109. uart0: <16550 or compatible> on apb0
  110. uart0: console (115200,n,8,1)
  111. gpio0: <Atheros AR71XX GPIO driver> on apb0
  112. gpio0: [GIANT-LOCKED]
  113. gpio0: gpio pinmask=0x0
  114. gpiobus0: <GPIO bus> on gpio0
  115. gpiobus0: GPIO device with 18 pins
  116. gpioc0: <GPIO controller> at pin(s) 0-17 on gpiobus0
  117. gpioled0: <GPIO led> at pin(s) 0 on gpiobus0
  118. gpioled0: /dev/led/wps flags=0102
  119. gpioled1: <GPIO led> at pin(s) 1 on gpiobus0
  120. gpioled1: /dev/led/status flags=0102
  121. gpioled2: <GPIO led> at pin(s) 11 on gpiobus0
  122. gpioled2: /dev/led/usb flags=0102
  123. pcib0 at irq 0 on nexus0
  124. pcib0: Loading the eeprom fixup data from 0x1fff1000
  125. 00006000: 002d168c
  126. 00006008: 02800001
  127. 0000602c: a199168c
  128. 00005000: 002e168c
  129. 00005008: 02800001
  130. 0000502c: a199168c
  131. 00005064: 05048cc0
  132. 0000570c: 22003f01
  133. 0000506c: 00033c11
  134. 00004004: 004a050b
  135. 00004074: 00000003
  136. 00004000: 01c25001
  137. 00006034: 00000044
  138. 0000510c: 00062010
  139. 00005164: ff241412
  140. 00005168: 001517ff
  141. 00005068: 00192010
  142. pci0: <PCI bus> on pcib0
  143. ath0: <Atheros 9287> at device 0.0 on pci0
  144. ath0: unable to attach hardware; HAL status 4
  145. device_attach: ath0 attach returned 6
  146. arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0
  147. arge0: Overriding MAC from EEPROM
  148. arge_attach:463: call arge_set_pll(sc, media=00000006, duplex=00000000)
  149. miibus0: attached floatphy0 PHYno=0 0000/0000 cpamask=ffffffff
  150. miibus0: attached switch0 PHYno=1 0000/0000 cpamask=ffffffff
  151. miibus0: <MII bus> on arge0
  152. floatphy0 PHY 0 on miibus0
  153. floatphy0: none, 100baseTX-FDX
  154. switch0 PHY 1 on miibus0
  155. switch0: 100baseTX, 100baseTX-FDX, 1000baseSX, 1000baseSX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master
  156. ar8x16_switch0: <AR8216.2 Ethernet switch> on switch0
  157. arge0: Ethernet address: 00:18:e7:e0:03:31
  158. arge1: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1a000fff irq 3 on nexus0
  159. arge_attach:463: call arge_set_pll(sc, media=00000010, duplex=00000000)
  160. miibus1: attached floatphy1 PHYno=0 0000/0000 cpamask=ffffffff
  161. miibus1: <MII bus> on arge1
  162. floatphy1 PHY 0 on miibus1
  163. floatphy1: none, 1000baseT-FDX, 1000baseT-FDX-master
  164. arge1: Ethernet address: 00:18:e7:e0:03:32
  165. spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
  166. spibus0: <spibus bus> on spi0
  167. mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0
  168. mx25l0: mx25ll32, sector 65536 bytes, 64 sectors
  169. ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0
  170. ar71xx_wdog0: Previous reset was due to watchdog timeout
  171. Timecounters tick every 10.000 msec
  172. map/rootfs.uncompress: GEOM_ULZMA image found
  173. map/rootfs.uncompress: 81 x 131072 blocks
  174. Trying to mount root from cd9660:/dev/map/rootfs.uncompress []...
  175. g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
  176. RRIP without PX field?
  177. g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
  178. g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
  179. warning: no time-of-day clock registered, system time will not be set accurately
  180. g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
  181. 0/IN
  182. 1/II
  183. 2/PU
  184. 3/INT
  185. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  186. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  187. ioctl(GPIOSETCONFIG): Invalid argument
  188. arge0: changing name to 'wan0'
  189. arge1: changing name to 'lan0'
  190. kenv: unable to get HostName
  191.  
  192. kern.coredump: 1 -> 0
  193. net.inet.ip.forwarding: 0 -> 1
  194. g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
  195. g_vfs_done():map/rootfs.uncompress[READ(offset=10207232, length=2048)]error = 5
  196. g_vfs_done():map/rootfs.uncompress[READ(offset=10127360, length=2048)]error = 5
  197. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  198. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  199. eval: syslogd: Input/output error
  200. dd: /dev/map/config: g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  201. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  202. Invalid argument
  203. 0+0 records in
  204. 0+0 records out
  205. 0 bytes transferred in 0.343295 secs (0 bytes/sec)
  206. 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
  207. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  208. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  209. 65000 allow ip from any to any
  210. eval: mpd: not found
  211.  
  212. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  213. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  214. Thu Jan 1 00:01:07 UTC 1970
  215. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  216. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  217. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  218. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  219. Jan 1 00:01:09 getty[50]: open /dev/ttyu1: No such file or directory
  220. login: root
  221. Password:
  222. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  223. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  224. FreeBSD 9.0-CURRENT / ZRouter project
  225. Developed by Aleksandr Rybalko <ray@ddteam.net>
  226. under sponsorship from N Possible (npossible.net)
  227. and D-Link International Pte Ltd Ukraine.
  228.  
  229. Welcome to FreeBSD!
  230.  
  231. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  232. g_vfs_done():map/rootfs.uncompress[READ(offset=10172416, length=2048)]error = 5
  233. Cannot read termcap database;
  234. using dumb terminal settings.
  235. # ifconfig wan0
  236. wan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
  237. options=80000<LINKSTATE>
  238. l ether 00f:18:e7:e0:03:31
  239. oatphy_service: found master switch0
  240. SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
  241. wan0: link state changed to UP
  242. SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
  243. media: Ethernet none (100baseTX <full-duplex>)
  244. status: active
  245. SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
  246. #
  247. #
  248. #
  249. #
  250. #
  251. #
  252. #
  253. #
  254. #
  255. #
  256. #
  257. #
  258. # ifconfig wan0
  259. Tan0: flags=8802S<BROADCAST,SIMPLWEX,MULTICAST> meItric 0 mtu 1500
  260. optionsC=80000<LINKSTATEH>
  261. etherP 00:18:e7:e0:03:U31
  262. B_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
  263. SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
  264. media: ESthernet none (10W0baseTX <full-duIplex>)
  265. Tstatus: active
  266. CHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
  267. # ifconfig wan0
  268. Tan0: flags=8802S<BROADCAST,SIMPLWEX,MULTICAST> meItric 0 mtu 1500
  269. optionsC=80000<LINKSTATEH>
  270. etherP 00:18:e7:e0:03:U31
  271. B_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
  272. SWITCHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
  273. media: ESthernet none (10W0baseTX <full-duIplex>)
  274. Tstatus: active
  275. CHPUB_GET_REG(sc->master, 0x40000401, &value) return (0) and value = 796d
  276. #
  277. #
  278. #
  279. #
  280. #
  281. #
  282. #
  283. # ifconfig lan0
  284. aan0: flags=8802f<BROADCAST,SIMPLlEX,MULTICAST> meotric 0 mtu 1500
  285. optionst=80000<LINKSTATEp>
  286. etherh 00:18:e7:e0:03:y32
  287. _service: found master switch0
  288. SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  289. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
  290. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = ffff
  291. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  292. lan0: link state changed to UP
  293. SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  294. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
  295. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = ffff
  296. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  297. media: ESthernet none
  298. W status: acItive
  299. TCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  300. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
  301. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = ffff
  302. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 0000
  303. #
  304. #
  305. #
  306. #
  307. #
  308. # switchctl /dev/switch0 get reg 0x80000008
  309. Reg 0x80000008 Value = 0x01261be2
  310. #
  311. #
  312. #
  313. # switchctl /dev/switch0 set reg 0x80000008 0x01260be2
  314. Reg 0x80000008 Value = 0x01260be2 (Old value = 0x01261be2)
  315. #
  316. #
  317. # ifconfig lan0
  318. Tan0: flags=8802S<BROADCAST,SIMPLWEX,MULTICAST> meItric 0 mtu 1500
  319. optionsC=80000<LINKSTATEH>
  320. etherP 00:18:e7:e0:03:U32
  321. B_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  322. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
  323. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
  324. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  325. SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  326. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
  327. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
  328. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  329. media: ESthernet none
  330. W status: acItive
  331. TCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  332. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = ffff
  333. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 0000
  334. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  335. # switchctl /dev/switch0 set reg 0x80000008 0x012603e2
  336. Reg 0x80000008 Value = 0x012603e2 (Old value = 0x01260be2)
  337. # ifconfig lan0
  338. Tan0: flags=8802S<BROADCAST,SIMPLWEX,MULTICAST> meItric 0 mtu 1500
  339. optionsC=80000<LINKSTATEH>
  340. etherP 00:18:e7:e0:03:U32
  341. B_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  342. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
  343. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
  344. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  345. SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  346. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
  347. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
  348. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  349. media: ESthernet none
  350. W status: acItive
  351. TCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  352. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
  353. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
  354. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  355. #
  356. #
  357. #
  358. #
  359. #
  360. #
  361. #
  362. # ifconfig lan0
  363. Ian0: flags=8802<BROADCAST,SIMPLSEX,MULTICAST> meWtric 0 mtu 1500
  364. optionsT=80000<LINKSTATEC>
  365. etherH 00:18:e7:e0:03:P32
  366. UB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  367. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
  368. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
  369. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  370. SWITCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  371. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
  372. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
  373. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
  374. media: ESthernet none
  375. W status: acItive
  376. TCHPUB_GET_REG(sc->master, 0x40000001, &value) return (0) and value = 796d
  377. SWITCHPUB_GET_REG(sc->master, 0x40000101, &value) return (0) and value = 7949
  378. SWITCHPUB_GET_REG(sc->master, 0x40000201, &value) return (0) and value = 7949
  379. SWITCHPUB_GET_REG(sc->master, 0x40000301, &value) return (0) and value = 7949
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement