1. ```
  2. ** MARVELL BOARD: DB-88F6281A-BP LE
  3. U-Boot 1.1.4 (Jan 21 2011 - 11:56:48) Marvell version: 3.4.14.DNS-320_03
  4. U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CEE80
  5. Soc: MV88F6281 Rev 3 (DDR2)
  6. CPU running @ 800Mhz L2 running @ 400Mhz
  7. SysClock = 200Mhz , TClock = 166Mhz
  8. DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
  9. DRAM CS[0] base 0x00000000 size 128MB
  10. DRAM Total size 128MB 16bit width
  11. Flash: 0 kB
  12. Addresses 8M - 0M are saved for the U-Boot usage.
  13. Mem malloc Initialization (8M - 7M): Done
  14. NAND:128 MB
  15. CPU : Marvell Feroceon (Rev 1)
  16. Streaming disabled
  17. Write allocate disabled
  18. USB 0: host mode
  19. PEX 0: interface detected no Link.
  20. Net: egiga0 [PRIME]
  21. Hit any key to stop autoboot: 0
  22. Marvell_DNS320>> 11 1 1 1 11 111<INTERRUPT>
  23. Marvell_DNS320>> nand erase 0x0100000 0x7a00000
  24. NAND erase: device 0 offset 0x100000, size 0x7a00000
  25. Erasing at 0x7ae0000 -- 100% complete.
  26. OK
  27. Marvell_DNS320>> tftp 0xa00000 firmware.bin; bootm 0xa00000
  28. Using egiga0 device
  29. TFTP from server 192.168.1.10; our IP address is 192.168.1.1
  30. Filename 'firmware.bin'.
  31. Load address: 0xa00000
  32. Loading: #################################################################
  33. #################################################################
  34. #################################################################
  35. #################################################################
  36. #################################################################
  37. #################################################################
  38. #################################################################
  39. #################################################################
  40. #################################################################
  41. #################################################################
  42. #################################################################
  43. #################################################################
  44. #################################################################
  45. #################################################################
  46. #################################################################
  47. #################################################################
  48. #################
  49. done
  50. Bytes transferred = 5742346 (579f0a hex)
  51. ## Booting image at 00a00000 ...
  52. Image Name: ARM OpenWrt Linux-5.10.115
  53. Created: 2022-06-11 6:34:16 UTC
  54. Image Type: ARM Linux Kernel Image (uncompressed)
  55. Data Size: 5742282 Bytes = 5.5 MB
  56. Load Address: 00008000
  57. Entry Point: 00008000
  58. Verifying Checksum ... OK
  59. OK
  60. Starting kernel ...
  61. [ 0.000000] Booting Linux on physical CPU 0x0
  62. [ 0.000000] Linux version 5.10.115 (root@linups) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r19689+1-19ef3b54f4) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Sat Jun 11 06:34:16 2022
  63. [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
  64. [ 0.000000] CPU: VIVT data cache, VIVT instruction cache
  65. [ 0.000000] OF: fdt: Machine model: D-Link DNS-320L
  66. [ 0.000000] Memory policy: Data cache writeback
  67. [ 0.000000] Zone ranges:
  68. [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
  69. [ 0.000000] Movable zone start for each node
  70. [ 0.000000] Early memory node ranges
  71. [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
  72. [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
  73. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
  74. [ 0.000000] Kernel command line: console=ttyS0,115200
  75. [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
  76. [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
  77. [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  78. [ 0.000000] Memory: 109456K/131072K available (5748K kernel code, 590K rwdata, 1488K rodata, 11264K init, 205K bss, 21616K reserved, 0K cma-reserved)
  79. [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  80. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
  81. [ 0.000000] random: get_random_bytes called from start_kernel+0x330/0x560 with crng_init=0
  82. [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
  83. [ 0.000013] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
  84. [ 0.000062] Switching to timer-based delay loop, resolution 6ns
  85. [ 0.000176] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
  86. [ 0.000214] pid_max: default: 32768 minimum: 301
  87. [ 0.000485] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  88. [ 0.000523] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  89. [ 0.001878] CPU: Testing write buffer coherency: ok
  90. [ 0.003252] Setting up static identity map for 0x100000 - 0x10003c
  91. [ 0.003616] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
  92. [ 0.003899] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
  93. [ 0.008079] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  94. [ 0.008125] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
  95. [ 0.008306] pinctrl core: initialized pinctrl subsystem
  96. [ 0.009729] NET: Registered protocol family 16
  97. [ 0.010652] DMA: preallocated 256 KiB pool for atomic coherent allocations
  98. [ 0.012094] thermal_sys: Registered thermal governor 'step_wise'
  99. [ 0.012236] cpuidle: using governor ladder
  100. [ 0.012692] Feroceon L2: Enabling L2
  101. [ 0.012757] Feroceon L2: Cache support initialised.
  102. [ 0.025872] No ATAGs?
  103. [ 0.088274] SCSI subsystem initialized
  104. [ 0.090360] usbcore: registered new interface driver usbfs
  105. [ 0.090449] usbcore: registered new interface driver hub
  106. [ 0.090523] usbcore: registered new device driver usb
  107. [ 0.098257] clocksource: Switched to clocksource orion_clocksource
  108. [ 0.099413] NET: Registered protocol family 2
  109. [ 0.099590] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
  110. [ 0.100296] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
  111. [ 0.100364] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
  112. [ 0.100398] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
  113. [ 0.100427] TCP: Hash tables configured (established 1024 bind 1024)
  114. [ 0.100555] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
  115. [ 0.100596] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
  116. [ 0.100791] NET: Registered protocol family 1
  117. [ 0.100837] PCI: CLS 0 bytes, default 32
  118. [ 0.248820] workingset: timestamp_bits=14 max_order=15 bucket_order=1
  119. [ 0.254397] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  120. [ 0.254422] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  121. [ 0.258937] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
  122. [ 0.261154] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
  123. [ 0.261947] printk: console [ttyS0] disabled
  124. [ 0.262080] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 10416666) is a 16550A
  125. [ 0.680131] printk: console [ttyS0] enabled
  126. [ 0.685125] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 26, base_baud = 10416666) is a 16550A
  127. [ 0.695528] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
  128. [ 0.701896] nand: Samsung NAND 128MiB 3,3V 8-bit
  129. [ 0.706501] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
  130. [ 0.714073] Scanning device for bad blocks
  131. [ 0.822305] 3 fixed-partitions partitions found on MTD device orion_nand
  132. [ 0.828994] Creating 3 MTD partitions on "orion_nand":
  133. [ 0.834117] 0x000000000000-0x000000100000 : "u-boot"
  134. [ 0.845794] 0x000000100000-0x000007b00000 : "firmware"
  135. [ 0.945218] 0x000007b00000-0x000008000000 : "config"
  136. [ 0.961865] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 0 is missing.
  137. [ 0.969659] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
  138. [ 0.977718] rtc-mv f1010300.rtc: registered as rtc0
  139. [ 0.982803] i2c /dev entries driver
  140. [ 0.987198] orion_wdt: Initial timeout 25 sec
  141. [ 1.010255] marvell-cesa f1030000.crypto: CESA device successfully registered
  142. [ 1.018575] NET: Registered protocol family 10
  143. [ 1.025275] Segment Routing with IPv6
  144. [ 1.029088] NET: Registered protocol family 17
  145. [ 1.033780] 8021q: 802.1Q VLAN Support v1.8
  146. [ 1.093072] Freeing unused kernel memory: 11264K
  147. [ 1.098578] Run /init as init process
  148. [ 1.513103] init: Console is alive
  149. [ 1.516783] init: - watchdog -
  150. [ 1.535386] kmodloader: loading kernel modules from /etc/modules-boot.d/*
  151. [ 1.575147] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  152. [ 1.585620] ehci-fsl: Freescale EHCI Host controller driver
  153. [ 1.594413] ehci-orion: EHCI orion driver
  154. [ 1.598721] orion-ehci f1050000.ehci: EHCI Host Controller
  155. [ 1.604251] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
  156. [ 1.612104] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
  157. [ 1.638319] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
  158. [ 1.645082] hub 1-0:1.0: USB hub found
  159. [ 1.649794] hub 1-0:1.0: 1 port detected
  160. [ 1.658198] ehci-platform: EHCI generic platform driver
  161. [ 1.674257] sata_mv f1080000.sata: slots 32 ports 2
  162. [ 1.685886] scsi host0: sata_mv
  163. [ 1.690796] scsi host1: sata_mv
  164. [ 1.694368] ata1: SATA max UDMA/133 irq 33
  165. [ 1.698493] ata2: SATA max UDMA/133 irq 33
  166. [ 1.938279] usb 1-1: new high-speed USB device number 2 using orion-ehci
  167. [ 1.980445] random: fast init done
  168. [ 2.029408] ata1: SATA link down (SStatus 0 SControl F300)
  169. [ 2.359615] ata2: SATA link down (SStatus 0 SControl F300)
  170. [ 2.368438] usb-storage 1-1:1.0: USB Mass Storage device detected
  171. [ 2.377454] scsi host2: usb-storage 1-1:1.0
  172. [ 2.382062] usbcore: registered new interface driver usb-storage
  173. [ 2.391389] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
  174. [ 2.400093] init: - preinit -
  175. [ 2.660254] random: jshn: uninitialized urandom read (4 bytes read)
  176. [ 2.727052] random: jshn: uninitialized urandom read (4 bytes read)
  177. [ 2.760779] random: jshn: uninitialized urandom read (4 bytes read)
  178. Press the [f] key and hit [enter] to enter failsafe mode
  179. Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
  180. [ 3.449467] scsi 2:0:0:0: Direct-Access Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
  181. [ 3.460657] sd 2:0:0:0: [sda] 30277632 512-byte logical blocks: (15.5 GB/14.4 GiB)
  182. [ 3.469291] sd 2:0:0:0: [sda] Write Protect is off
  183. [ 3.474494] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
  184. [ 3.571056] sda: sda1
  185. [ 3.576124] sd 2:0:0:0: [sda] Attached SCSI removable disk
  186. [ 7.113693] procd: - early -
  187. [ 7.116773] procd: - watchdog -
  188. [ 7.690946] procd: - watchdog -
  189. [ 7.694835] procd: - ubus -
  190. [ 7.751475] procd: - init -
  191. Please press Enter to activate this console.
  192. [ 8.338917] kmodloader: loading kernel modules from /etc/modules.d/*
  193. [ 8.464796] xt_time: kernel timezone is -0000
  194. [ 8.495826] urngd: v1.0.2 started.
  195. [ 8.627947] PPP generic driver version 2.4.2
  196. [ 8.649510] NET: Registered protocol family 24
  197. [ 8.721460] kmodloader: done loading kernel modules from /etc/modules.d/*
  198. [ 8.766143] random: crng init done
  199. [ 8.769593] random: 7 urandom warning(s) missed due to ratelimiting
  200. BusyBox v1.35.0 (2022-06-11 06:34:16 UTC) built-in shell (ash)
  201. _______ ________ __
  202. | |.-----.-----.-----.| | | |.----.| |_
  203. | - || _ | -__| || | | || _|| _|
  204. |_______|| __|_____|__|__||________||__| |____|
  205. |__| W I R E L E S S F R E E D O M
  206. -----------------------------------------------------
  207. OpenWrt SNAPSHOT, r19689+2-19ef3b54f4
  208. -----------------------------------------------------
  209. === WARNING! =====================================
  210. There is no root password defined on this device!
  211. Use the "passwd" command to set up a new password
  212. in order to prevent unauthorized SSH logins.
  213. --------------------------------------------------
  214. root@OpenWrt:/# nandtest /dev/mtd1
  215. ECC corrections: 0
  216. ECC failures : 0
  217. Bad blocks : 0
  218. BBT blocks : 0
  219. 079e0000: checking...of 4)...
  220. Finished pass 1 successfully
  221. root@OpenWrt:/# dd if=/dev/zero | nandwrite /dev/mtd1 ; nandtest /dev/mtd1
  222. ...
  223. Writing data to block 975 at offset 0x79e0000
  224. dd: error writing 'standard output': Broken pipe
  225. 249985+0 records in
  226. 249984+0 records out
  227. ECC corrections: 0
  228. ECC failures : 0
  229. Bad blocks : 0
  230. BBT blocks : 0
  231. 079e0000: checking...of 4)...
  232. Finished pass 1 successfully
  233. root@OpenWrt:/# dd if=/dev/random | nandwrite /dev/mtd1; nandtest /dev/mtd1
  234. ...
  235. Writing data to block 975 at offset 0x79e0000
  236. dd: error writing 'standard output': Broken pipe
  237. 249985+0 records in
  238. 249984+0 records out
  239. ECC corrections: 0
  240. ECC failures : 0
  241. Bad blocks : 0
  242. BBT blocks : 0
  243. 079e0000: checking...of 4)...
  244. Finished pass 1 successfully
  245. root@OpenWrt:/# mount /dev/sda1 /mnt/
  246. [ 1131.571686] EXT4-fs (sda1): recovery complete
  247. [ 1131.579415] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
  248. root@OpenWrt:/# nandwrite /dev/mtd1 /mnt/firmware.bin
  249. ...
  250. Writing data to block 81 at offset 0xa20000
  251. root@OpenWrt:/#
  252. root@OpenWrt:/# dd if=/dev/mtd1 of=/dev/null bs=1 count=100
  253. [ 1257.532073] __nand_correct_data: uncorrectable ECC error
  254. ...
  255. root@OpenWrt:/# nandtest /dev/mtd1
  256. ECC corrections: 0
  257. ECC failures : 100
  258. Bad blocks : 0
  259. BBT blocks : 0
  260. root@OpenWrt:/# dd if=/dev/zero | nandwrite /dev/mtd1 ; nandtest /dev/mtd1
  261. ...
  262. Writing data to block 975 at offset 0x79e0000
  263. dd: error writing 'standard output': Broken pipe
  264. 249985+0 records in
  265. 249984+0 records out
  266. ECC corrections: 0
  267. ECC failures : 100
  268. Bad blocks : 0
  269. BBT blocks : 0
  270. ```