Advertisement
heimi

OpenWRT trunk on CL-040-I destroys flash

Jan 18th, 2013
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.30 KB | None | 0 0
  1. CFE> flashimage openwrt-DSL2640B-B2-squashfs-cfe.bin
  2. Loading 192.168.1.2:openwrt-DSL2640B-B2-squashfs-cfe.bin ...
  3. Finished loading 1966084 bytes
  4. ...............................................................
  5.  
  6. Finished flashing image.
  7. Resetting board...
  8.  
  9. Resetting board...
  10.  
  11. CFE version 1.0.37-10.2.1 for BCM96338 (32bit,SP,BE)
  12. Build Date: Wed Jul 11 16:28:50 CST 2007 (michaelc)
  13.  
  14. Flash Config: CS0(1fc00009,17),Base(bfc00000),Size(4MB)
  15. Flash Config: CS0(1fc00009,17),Size(4MB)
  16. bootf ff/ff FLASH_BASE bfc00000 BOOT_ROM 00010000
  17. b1@8
  18. b3@0
  19. Board IP address : 192.168.1.1
  20. Host IP address : 192.168.1.2
  21. Gateway IP address :
  22. Run from flash/host (f/h) : f
  23. Default host run file name : vmlinux
  24. Default host flash file name : bcmModelName_fs_kernel
  25. Boot delay (0-9 seconds) : 5
  26. Board Id Name (A-E) : RTA1320B_16M
  27. Number of MAC Addresses (1-32) : 1
  28. Ethernet MAC Address : 00:1b:9e:f0:25:85
  29. PSI Size (1-64) KBytes : 24
  30. Serial Number :
  31.  
  32. ==== Press space key to stop auto run (5 seconds) ====
  33. Auto run second count down(before hit space key): 0
  34. Code Address: 0x80010000, Entry Address: 0x80010000
  35. Decompression OK!
  36. Entry at 0x80010000
  37. Closing network.
  38. Starting program at 0x80010000
  39. [ 0.000000] Linux version 3.6.11 (reimerp@vb) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #5 Fri Jan 18 00:04:59 CET 2013
  40. [ 0.000000] Detected Broadcom 0x6338 CPU revision a2
  41. [ 0.000000] CPU frequency is 240 MHz
  42. [ 0.000000] 16MB of RAM installed
  43. [ 0.000000] registering 8 GPIOs
  44. [ 0.000000] board_bcm963xx: Boot address 0xbfc00000
  45. [ 0.000000] board_bcm963xx: CFE version: 1.0.37-10.2
  46. [ 0.000000] bootconsole [early0] enabled
  47. [ 0.000000] CPU revision is: 00029010 (Broadcom BCM6338)
  48. [ 0.000000] board_bcm963xx: board name: RTA1320B_16M
  49. [ 0.000000] Determined physical RAM map:
  50. [ 0.000000] memory: 01000000 @ 00000000 (usable)
  51. [ 0.000000] Initrd not found or empty - disabling initrd
  52. [ 0.000000] Zone ranges:
  53. [ 0.000000] Normal [mem 0x00000000-0x00ffffff]
  54. [ 0.000000] Movable zone start for each node
  55. [ 0.000000] Early memory node ranges
  56. [ 0.000000] node 0: [mem 0x00000000-0x00ffffff]
  57. [ 0.000000] Reserving 0MB of memory at 0MB for crashkernel
  58. [ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
  59. [ 0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
  60. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
  61. [ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
  62. [ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
  63. [ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
  64. [ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
  65. [ 0.000000] __ex_table already sorted, skipping sort
  66. [ 0.000000] Memory: 12972k/16384k available (2261k kernel code, 3412k reserved, 399k data, 212k init, 0k highmem)
  67. [ 0.000000] NR_IRQS:128
  68. [ 0.000000] Calibrating delay loop... 237.82 BogoMIPS (lpj=475648)
  69. [ 0.040000] pid_max: default: 32768 minimum: 301
  70. [ 0.044000] Mount-cache hash table entries: 512
  71. [ 0.056000] NET: Registered protocol family 16
  72. [ 0.080000] bcm63xx_nvram: not enough mac address
  73. [ 0.132000] bio: create slab <bio-0> at 0
  74. [ 0.152000] Switching to clocksource MIPS
  75. [ 0.180000] NET: Registered protocol family 2
  76. [ 0.188000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
  77. [ 0.196000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
  78. [ 0.200000] TCP: Hash tables configured (established 512 bind 512)
  79. [ 0.208000] TCP: reno registered
  80. [ 0.212000] UDP hash table entries: 256 (order: 0, 4096 bytes)
  81. [ 0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  82. [ 0.228000] NET: Registered protocol family 1
  83. [ 0.240000] audit: initializing netlink socket (disabled)
  84. [ 0.248000] type=2000 audit(0.248:1): initialized
  85. [ 0.256000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  86. [ 0.260000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  87. [ 0.272000] msgmni has been set to 25
  88. [ 0.276000] io scheduler noop registered
  89. [ 0.280000] io scheduler deadline registered (default)
  90. [ 0.292000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
  91. [ 0.300000] console [ttyS0] enabled, bootconsole disabled
  92. [ 0.300000] console [ttyS0] enabled, bootconsole disabled
  93. [ 0.324000] physmap platform flash device: 00400000 at 1fc00000
  94. [ 0.332000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001a00
  95. [ 0.344000] Amd/Fujitsu Extended Query Table at 0x0040
  96. [ 0.348000] Amd/Fujitsu Extended Query version 1.3.
  97. [ 0.352000] number of CFI chips: 1
  98. [ 0.356000] bcm63xxpart: CFE boot tag found with version 6 and board type D-4P-W
  99. [ 0.364000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
  100. [ 0.372000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
  101. [ 0.380000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length 2f0000
  102. [ 0.388000] bcm63xxpart: Partition 3 is nvram offset 3f0000 and length 10000
  103. [ 0.396000] bcm63xxpart: Partition 4 is linux offset 10000 and length 3e0000
  104. [ 0.400000] bcm63xxpart: Spare partition is offset 1f0004 and length 1ffffc
  105. [ 0.408000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
  106. [ 0.416000] Creating 5 MTD partitions on "physmap-flash.0":
  107. [ 0.424000] 0x000000000000-0x000000010000 : "CFE"
  108. [ 0.436000] 0x000000010100-0x000000100000 : "kernel"
  109. [ 0.444000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  110. [ 0.464000] 0x000000100000-0x0000003f0000 : "rootfs"
  111. [ 0.480000] mtd: partition "rootfs" set to be root filesystem
  112. [ 0.484000] mtd: partition "rootfs_data" created automatically, ofs=1F0000, len=200000
  113. [ 0.492000] 0x0000001f0000-0x0000003f0000 : "rootfs_data"
  114. [ 0.508000] 0x0000003f0000-0x000000400000 : "nvram"
  115. [ 0.524000] 0x000000010000-0x0000003f0000 : "linux"
  116. [ 0.564000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
  117. [ 0.584000] TCP: cubic registered
  118. [ 0.588000] NET: Registered protocol family 17
  119. [ 0.592000] 8021q: 802.1Q VLAN Support v1.8
  120. [ 0.616000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
  121. [ 0.628000] Freeing unused kernel memory: 212k freed
  122. awk: /proc/cpuinfo: No such file or directory
  123. [ 5.076000] roboswitch: Probing device 'eth0'
  124. [ 5.084000] roboswitch: Failed to enable switch
  125. [ 5.088000] roboswitch: Probing device 'eth1'
  126. [ 5.092000] roboswitch: No such device
  127. [ 5.096000] roboswitch: Probing device 'eth2'
  128. [ 5.104000] roboswitch: No such device
  129. [ 5.104000] roboswitch: Probing device 'eth3'
  130. [ 5.112000] roboswitch: No such device
  131. - preinit -
  132. Press the [f] key and hit [enter] to enter failsafe mode
  133. - regular preinit -
  134. jffs2 not ready yet; using ramdisk
  135. - init -
  136.  
  137. Please press Enter to activate this console.
  138. [ 13.276000] There is already a switch registered on the device 'eth0'
  139. [ 13.284000] roboswitch: Probing device 'eth1'
  140. [ 13.288000] roboswitch: No such device
  141. [ 13.292000] roboswitch: Probing device 'eth2'
  142. [ 13.296000] roboswitch: No such device
  143. [ 13.300000] roboswitch: Probing device 'eth3'
  144. [ 13.304000] roboswitch: No such device
  145. [ 13.400000] Button Hotplug driver version 0.4.1
  146. [ 13.708000] PPP generic driver version 2.4.2
  147. [ 13.908000] ip_tables: (C) 2000-2006 Netfilter Core Team
  148. [ 14.944000] NET: Registered protocol family 24
  149. [ 15.012000] nf_conntrack version 0.5.0 (206 buckets, 824 max)
  150. [ 15.800000] bcm63xx-spi bcm63xx-spi: at 0xfffe0c00 (irq 9, FIFOs size 63) v0.1.2
  151. [ 28.980000] eth0: link forced UP - 100/full - flow control off/off
  152. [ 47.252000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
  153. [ 47.264000] jffs2_build_filesystem(): unlocking the mtd device... done.
  154. [ 47.272000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
  155. [ 64.304000] jffs2: notice: (731) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  156. [ 64.944000] jffs2: Node CRC ffffffff != calculated CRC 00f8039f for node at 001e1348
  157.  
  158.  
  159. BusyBox v1.19.4 (2013-01-17 21:04:50 CET) built-in shell (ash)
  160. Enter 'help' for a list of built-in commands.
  161.  
  162. _______ ________ __
  163. | |.-----.-----.-----.| | | |.----.| |_
  164. | - || _ | -__| || | | || _|| _|
  165. |_______|| __|_____|__|__||________||__| |____|
  166. |__| W I R E L E S S F R E E D O M
  167. -----------------------------------------------------
  168. BARRIER BREAKER (Bleeding Edge, r35205)
  169. -----------------------------------------------------
  170. * 1/2 oz Galliano Pour all ingredients into
  171. * 4 oz cold Coffee an irish coffee mug filled
  172. * 1 1/2 oz Dark Rum with crushed ice. Stir.
  173. * 2 tsp. Creme de Cacao
  174. -----------------------------------------------------
  175. root@OpenWrt:/# cat /proc/cpuinfo
  176. system type : bcm63xx/RTA1320B_16M (0x6338/0x00A2)
  177. processor : 0
  178. cpu model : Broadcom BCM6338 V1.0
  179. BogoMIPS : 237.82
  180. wait instruction : yes
  181. microsecond timers : yes
  182. tlb_entries : 32
  183. extra interrupt vector : yes
  184. hardware watchpoint : no
  185. ASEs implemented :
  186. shadow register sets : 1
  187. kscratch registers : 0
  188. core : 0
  189. VCED exceptions : not available
  190. VCEI exceptions : not available
  191.  
  192. root@OpenWrt:/# cat /proc/mtd
  193. dev: size erasesize name
  194. mtd0: 00010000 00002000 "CFE"
  195. mtd1: 000eff00 00010000 "kernel"
  196. mtd2: 002f0000 00010000 "rootfs"
  197. mtd3: 00200000 00010000 "rootfs_data"
  198. mtd4: 00010000 00010000 "nvram"
  199. mtd5: 003e0000 00010000 "linux"
  200.  
  201. root@OpenWrt:/# for f in /dev/mtd[0-5]; do echo ---$f; hexdump -C $f | head; done
  202. ---/dev/mtd0
  203. 00000000 10 00 02 79 00 00 00 00 00 00 00 00 00 00 00 00 |...y............|
  204. 00000010 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  205. 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  206. *
  207. 00000200 10 00 03 56 00 00 00 00 00 00 00 00 00 00 00 00 |...V............|
  208. 00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  209. *
  210. 00000280 10 00 03 41 24 1a 00 10 00 00 00 00 00 00 00 00 |...A$...........|
  211. 00000290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  212. *
  213. ---/dev/mtd1
  214. 00000000 80 01 00 00 80 01 00 00 00 0e 5b 50 5d 00 00 40 |..........[P]..@|
  215. 00000010 00 00 00 6f fd ff ff a3 b7 7f 4c c9 d9 cc 63 e4 |...o......L...c.|
  216. 00000020 cb b8 77 cf 64 b1 f9 26 b3 85 33 76 e2 9d 9b b0 |..w.d..&..3v....|
  217. 00000030 fb c2 4d 7d d9 7f f4 90 70 fd 7b a0 23 17 78 e3 |..M}....p.{.#.x.|
  218. 00000040 28 f3 53 14 13 fd 28 ba c0 6e 79 08 9b 0a c7 b7 |(.S...(..ny.....|
  219. 00000050 a5 5e 7c 28 8d c0 30 44 89 ff 90 e5 02 dc 38 ae |.^|(..0D......8.|
  220. 00000060 bd 3b 3c eb 22 25 70 59 17 a9 76 3a 67 5f 2b 37 |.;<."%pY..v:g_+7|
  221. 00000070 7e 42 e7 33 fa 08 16 a5 b4 f3 6f 7f 51 71 13 e3 |~B.3......o.Qq..|
  222. 00000080 27 5d 9a 28 ce 6e 84 92 ce 4f 31 69 cb bc ff af |'].(.n...O1i....|
  223. 00000090 98 b8 c8 38 47 27 b0 96 dd 4d 14 c9 47 15 ef 7b |...8G'...M..G..{|
  224. ---/dev/mtd2
  225. 00000000 68 73 71 73 37 02 00 00 ba 83 f8 50 00 00 04 00 |hsqs7......P....|
  226. 00000010 08 00 00 00 04 00 12 00 c0 06 01 00 04 00 00 00 |................|
  227. 00000020 4b 0a b4 0d 00 00 00 00 d6 6a 0e 00 00 00 00 00 |K........j......|
  228. 00000030 ce 6a 0e 00 00 00 00 00 ff ff ff ff ff ff ff ff |.j..............|
  229. 00000040 52 3e 0e 00 00 00 00 00 fc 4e 0e 00 00 00 00 00 |R>.......N......|
  230. 00000050 4a 66 0e 00 00 00 00 00 c0 6a 0e 00 00 00 00 00 |Jf.......j......|
  231. 00000060 0c 80 14 00 09 00 90 00 40 00 00 00 04 00 fd 37 |........@......7|
  232. 00000070 7a 58 5a 00 00 01 69 22 de 36 03 c0 ca b9 06 80 |zXZ...i".6......|
  233. 00000080 80 10 21 01 0c 00 0e 5d 68 a3 e2 60 6f ef fe 6c |..!....]h..`o..l|
  234. 00000090 00 3f 91 45 84 60 08 46 3f 70 49 1e 00 8b 68 99 |.?.E.`.F?pI...h.|
  235. ---/dev/mtd3
  236. 00000000 19 85 20 03 00 00 00 0c f0 60 dc 98 ff ff ff ff |.. ......`......|
  237. 00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
  238. *
  239. 00010000 19 85 20 03 00 00 00 0c f0 60 dc 98 ff ff ff ff |.. ......`......|
  240. 00010010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
  241. *
  242. 00020000 19 85 20 03 00 00 00 0c f0 60 dc 98 ff ff ff ff |.. ......`......|
  243. 00020010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
  244. *
  245. 00030000 19 85 20 03 00 00 00 0c f0 60 dc 98 ff ff ff ff |.. ......`......|
  246. ---/dev/mtd4
  247. 00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
  248. *
  249. 00010000
  250. ---/dev/mtd5
  251. 00000000 36 00 00 00 42 72 6f 61 64 63 6f 6d 20 43 6f 72 |6...Broadcom Cor|
  252. 00000010 70 6f 72 61 74 69 6f 00 76 65 72 2e 20 32 2e 30 |poratio.ver. 2.0|
  253. 00000020 00 00 00 00 00 00 36 33 34 38 00 00 44 2d 34 50 |......6348..D-4P|
  254. 00000030 2d 57 00 00 00 00 00 00 00 00 00 00 31 00 31 39 |-W..........1.19|
  255. 00000040 36 35 38 32 38 00 00 00 30 00 00 00 00 00 00 00 |65828...0.......|
  256. 00000050 00 00 00 00 30 00 00 00 00 00 00 00 00 00 33 32 |....0.........32|
  257. 00000060 31 37 30 39 36 39 36 30 00 00 39 38 33 30 34 34 |17096960..983044|
  258. 00000070 00 00 00 00 33 32 31 37 30 39 36 39 36 30 00 00 |....3217096960..|
  259. 00000080 39 38 32 37 38 34 00 00 00 00 00 00 00 00 00 00 |982784..........|
  260. 00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  261. root@OpenWrt:/# reboot
  262. root@OpenWrt:/# [ 1161.936000] bcm63xx_wdt: Unexpected close, not stopping watchdog!
  263. [ 1163.960000] Restarting system.
  264. [ 1163.964000] triggering watchdog soft-reset...
  265.  
  266.  
  267. CFE version 1.0.37-10.2.1 for BCM96338 (32bit,SP,BE)
  268. Build Date: Wed Jul 11 16:28:50 CST 2007 (michaelc)
  269.  
  270. Flash Config: CS0(1fc00009,17),Base(bfc00000),Size(4MB)
  271. Flash Config: CS0(1fc00009,17),Size(4MB)
  272. bootf ff/ff FLASH_BASE bfc00000 BOOT_ROM 00010000
  273. b1@8
  274.  
  275. 0(ffffffff,bb36e02e)
  276. nb@0
  277. FLASH_BASE bfc00000 BOOT_ROM 00010000
  278. nb@1
  279.  
  280. ** Flash image not found. **
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement