Advertisement
novski

flash Bootloader

May 13th, 2019
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.12 KB | None | 0 0
  1. sudo cu -s 57600 -l /dev/tty.usbserial-A7036OBH
  2. Password:
  3. Connected.
  4. [04050C0A][04050C0D]
  5. DDR Calibration DQS reg = 00008987
  6.  
  7.  
  8. U-Boot 1.1.3 (Dec 6 2016 - 11:20:23)
  9.  
  10. Board: Ralink APSoC
  11. DRAM: 128 MB
  12. relocate_code Pointer at: 87f68000
  13. flash manufacture id: c2, device id 20 19
  14. find flash: MX25L25635E
  15. ============================================
  16. Ralink UBoot Version: 4.3.0.0
  17. --------------------------------------------
  18. ASIC 7628_MP (Port5<->None)
  19. DRAM component: 1024 Mbits DDR, width 16
  20. DRAM bus: 16 bit
  21. Total memory: 128 MBytes
  22. Flash component: SPI Flash
  23. Date:Dec 6 2016 Time:11:20:23
  24. ============================================
  25. icache: sets:512, ways:4, linesz:32 ,total:65536
  26. dcache: sets:256, ways:4, linesz:32 ,total:32768
  27.  
  28. ##### The CPU freq = 580 MHZ ####
  29. estimate memory size =128 Mbytes
  30. RESET MT7628 PHY!!!!!!
  31.  
  32. GPIOMODE --> 50054404
  33.  
  34. GPIOMODE2 --> 5540551
  35.  
  36.  
  37. RESET BUTTON PRESSED
  38. button pressed for 26 s
  39.  
  40. Please choose the operation:
  41. 1: Load system code to SDRAM via TFTP.
  42. 2: Load system code then write to Flash via TFTP.
  43. 3: Boot system code via Flash (default).
  44. 4: Entr boot command line interface.
  45. 7: Load Boot Loader code then write to Flash via Serial.
  46. 9: Load Boot Loader code then write to Flash via TFTP.
  47.  
  48.  
  49.  
  50. 5: System Load Uboot then write to Flash via USB Storage.
  51. (Re)start USB...
  52. USB0: *********ehci_hcd_init**********
  53. Mediatek/Ralink USB EHCI host init hccr b01c0000 and hcor b01c0010 hc_length 16
  54. 6. u2phydcr0(0xb0120860)=0x00aaaa02
  55. FM_OUT value: u4FmOut = 0(0x00000000)
  56. FM_OUT value: u4FmOut = 133(0x00000085)
  57. FM detection done! loop = 1
  58. SR calibration value u1SrCalVal = 6
  59.  
  60.  
  61. Register 1111 NbrPorts 1
  62. USB EHCI 1.00
  63. scanning bus 0 for devices... 1 USB Device(s) found
  64. scanning bus for storage devices... 0 Storage Device(s) found
  65. No USB Storage found. Upgrade F/W failed.
  66. [04050C0A][04050C0D]
  67. DDR Calibration DQS reg = 00008987
  68.  
  69.  
  70. U-Boot 1.1.3 (Dec 6 2016 - 11:20:23)
  71.  
  72. Board: Ralink APSoC
  73. DRAM: 128 MB
  74. relocate_code Pointer at: 87f68000
  75. ******************************
  76. Software System Reset Occurred
  77. ******************************
  78. flash manufacture id: c2, device id 20 19
  79. find flash: MX25L25635E
  80. ============================================
  81. Ralink UBoot Version: 4.3.0.0
  82. --------------------------------------------
  83. ASIC 7628_MP (Port5<->None)
  84. DRAM component: 1024 Mbits DDR, width 16
  85. DRAM bus: 16 bit
  86. Total memory: 128 MBytes
  87. Flash component: SPI Flash
  88. Date:Dec 6 2016 Time:11:20:23
  89. ============================================
  90. icache: sets:512, ways:4, linesz:32 ,total:65536
  91. dcache: sets:256, ways:4, linesz:32 ,total:32768
  92.  
  93. ##### The CPU freq = 580 MHZ ####
  94. estimate memory size =128 Mbytes
  95. RESET MT7628 PHY!!!!!!
  96.  
  97. GPIOMODE --> 50054404
  98.  
  99. GPIOMODE2 --> 5540551
  100.  
  101. Please choose the operation:
  102. 1: Load system code to SDRAM via TFTP.
  103. 2: Load system code then write to Flash via TFTP.
  104. 3: Boot system code via Flash (default).
  105. 4: Entr boot command line interface.
  106. 7: Load Boot Loader code then write to Flash via Serial.
  107. 9: Load Boot Loader code then write to Flash via TFTP.
  108. 0
  109.  
  110. 3: System Boot system code via Flash.
  111. ## Booting image at bc050000 ...
  112. Image Name: MIPS OpenWrt Linux-4.14.95
  113. Image Type: MIPS Linux Kernel Image (lzma compressed)
  114. Data Size: 1438137 Bytes = 1.4 MB
  115. Load Address: 80000000
  116. Entry Point: 80000000
  117. Verifying Checksum ... OK
  118. Uncompressing Kernel Image ... OK
  119. No initrd
  120. ## Transferring control to Linux (at address 80000000) ...
  121. ## Giving linux memsize in MB, 128
  122.  
  123. Starting kernel ...
  124.  
  125. [ 0.000000] Linux version 4.14.95 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7552-2f11a9e)) #0 Mon Jan 28 08:54:32 2019
  126. [ 0.000000] Board has DDR2
  127. [ 0.000000] Analog PMU set to hw control
  128. [ 0.000000] Digital PMU set to hw control
  129. [ 0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2
  130. [ 0.000000] bootconsole [early0] enabled
  131. [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
  132. [ 0.000000] MIPS: machine is MediaTek LinkIt Smart 7688
  133. [ 0.000000] Determined physical RAM map:
  134. [ 0.000000] memory: 08000000 @ 00000000 (usable)
  135. [ 0.000000] Initrd not found or empty - disabling initrd
  136. [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  137. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  138. [ 0.000000] Zone ranges:
  139. [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
  140. [ 0.000000] Movable zone start for each node
  141. [ 0.000000] Early memory node ranges
  142. [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
  143. [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
  144. [ 0.000000] random: get_random_bytes called from 0x8042672c with crng_init=0
  145. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
  146. [ 0.000000] Kernel command line: console=ttyS2,57600 rootfstype=squashfs,jffs2
  147. [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
  148. [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
  149. [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
  150. [ 0.000000] Writing ErrCtl register=0000afe0
  151. [ 0.000000] Readback ErrCtl register=0000afe0
  152. [ 0.000000] Memory: 125224K/131072K available (3592K kernel code, 183K rwdata, 464K rodata, 168K init, 206K bss, 5848K reserved, 0K cma-reserved)
  153. [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  154. [ 0.000000] NR_IRQS: 256
  155. [ 0.000000] intc: using register map from devicetree
  156. [ 0.000000] CPU Clock: 580MHz
  157. [ 0.000000] timer_probe: no matching timers found
  158. [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
  159. [ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
  160. [ 0.015381] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
  161. [ 0.087588] pid_max: default: 32768 minimum: 301
  162. [ 0.096960] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  163. [ 0.109920] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  164. [ 0.129652] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  165. [ 0.149029] futex hash table entries: 256 (order: -1, 3072 bytes)
  166. [ 0.161132] pinctrl core: initialized pinctrl subsystem
  167. [ 0.172698] NET: Registered protocol family 16
  168. [ 0.186498] Can't analyze schedule() prologue at 8037dd78
  169. [ 0.215310] mt7621_gpio 10000600.gpio: registering 32 gpios
  170. [ 0.226524] mt7621_gpio 10000600.gpio: registering 32 gpios
  171. [ 0.237660] mt7621_gpio 10000600.gpio: registering 32 gpios
  172. [ 0.253542] clocksource: Switched to clocksource MIPS
  173. [ 0.264660] NET: Registered protocol family 2
  174. [ 0.274204] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
  175. [ 0.287907] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
  176. [ 0.300419] TCP: Hash tables configured (established 1024 bind 1024)
  177. [ 0.313114] UDP hash table entries: 256 (order: 0, 4096 bytes)
  178. [ 0.324574] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  179. [ 0.337189] NET: Registered protocol family 1
  180. [ 0.349116] Crashlog allocated RAM at address 0x3f00000
  181. [ 0.361012] workingset: timestamp_bits=30 max_order=15 bucket_order=0
  182. [ 0.379703] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  183. [ 0.391140] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  184. [ 0.421095] io scheduler noop registered
  185. [ 0.428768] io scheduler deadline registered (default)
  186. [ 0.439843] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
  187. [ 0.455262] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
  188. [ 0.473767] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
  189. [ 0.491666] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
  190. [ 0.509010] console [ttyS2] enabled
  191. [ 0.509010] console [ttyS2] enabled
  192. [ 0.522681] bootconsole [early0] disabled
  193. [ 0.522681] bootconsole [early0] disabled
  194. [ 0.539166] cacheinfo: Failed to find cpu0 device node
  195. [ 0.549378] cacheinfo: Unable to detect cache hierarchy for CPU 0
  196. [ 0.562270] spi-mt7621 10000b00.spi: sys_freq: 193333333
  197. [ 0.581119] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
  198. [ 0.591231] 4 fixed-partitions partitions found on MTD device spi0.0
  199. [ 0.603816] Creating 4 MTD partitions on "spi0.0":
  200. [ 0.613305] 0x000000000000-0x000000030000 : "u-boot"
  201. [ 0.624160] 0x000000030000-0x000000040000 : "u-boot-env"
  202. [ 0.635571] 0x000000040000-0x000000050000 : "factory"
  203. [ 0.646518] 0x000000050000-0x000002000000 : "firmware"
  204. [ 0.727146] 2 uimage-fw partitions found on MTD device firmware
  205. [ 0.738907] 0x000000050000-0x0000001af1f9 : "kernel"
  206. [ 0.749682] 0x0000001af1f9-0x000002000000 : "rootfs"
  207. [ 0.760375] mtd: device 5 (rootfs) set to be root filesystem
  208. [ 0.773139] 1 squashfs-split partitions found on MTD device rootfs
  209. [ 0.785444] 0x000000400000-0x000002000000 : "rootfs_data"
  210. [ 0.798018] libphy: Fixed MDIO Bus: probed
  211. [ 0.817265] rt3050-esw 10110000.esw: link changed 0x00
  212. [ 0.829091] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
  213. [ 0.847376] NET: Registered protocol family 10
  214. [ 0.860372] Segment Routing with IPv6
  215. [ 0.867810] NET: Registered protocol family 17
  216. [ 0.876667] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
  217. [ 0.902336] 8021q: 802.1Q VLAN Support v1.8
  218. [ 0.912513] mtk-linkit bootstrap: Version : LINKITS7688
  219. [ 0.923099] mtk-linkit bootstrap: Revision : REV3
  220. [ 0.932414] mtk-linkit bootstrap: setting up bootstrap latch
  221. [ 0.950426] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
  222. [ 0.965374] Freeing unused kernel memory: 168K
  223. [ 0.974192] This architecture does not have kernel memory protection.
  224. [ 1.787016] init: Console is alive
  225. [ 1.794078] init: - watchdog -
  226. [ 2.433552] random: fast init done
  227. [ 2.769973] kmodloader: loading kernel modules from /etc/modules-boot.d/*
  228. [ 2.936915] usbcore: registered new interface driver usbfs
  229. [ 2.947942] usbcore: registered new interface driver hub
  230. [ 2.958599] usbcore: registered new device driver usb
  231. [ 2.974502] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  232. [ 2.989120] ehci-platform: EHCI generic platform driver
  233. [ 3.009846] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
  234. [ 3.023128] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
  235. [ 3.033496] ehci-platform 101c0000.ehci: EHCI Host Controller
  236. [ 3.044914] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
  237. [ 3.060726] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
  238. [ 3.093583] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
  239. [ 3.107094] hub 1-0:1.0: USB hub found
  240. [ 3.114988] hub 1-0:1.0: 1 port detected
  241. [ 3.126063] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  242. [ 3.139934] ohci-platform: OHCI generic platform driver
  243. [ 3.150648] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
  244. [ 3.164180] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
  245. [ 3.179981] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
  246. [ 3.258564] hub 2-0:1.0: USB hub found
  247. [ 3.266502] hub 2-0:1.0: 1 port detected
  248. [ 3.278143] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
  249. [ 3.302999] init: - preinit -
  250. [ 4.399352] rt3050-esw 10110000.esw: link changed 0x00
  251. Press the [f] key and hit [enter] to enter failsafe mode
  252. Press the [1], [2], [3[ 4.596421] random: procd: uninitialized urandom read (4 bytes read)
  253. ] or [4] key and hit [enter] to select the debug level
  254. [ 7.956205] jffs2: notice: (386) jffs2_build_xattr_subsystem: complete building xattr subsystem, 29 of xdatum (0 unchecked, 29 orphan) and 29 of xref (29 dead, 0 orphan) found.
  255. [ 7.989075] mount_root: switching to jffs2 overlay
  256. [ 8.031491] overlayfs: upper fs does not support tmpfile.
  257. [ 8.048380] urandom-seed: Seeding with /etc/urandom.seed
  258. [ 8.214315] procd: - early -
  259. [ 8.220179] procd: - watchdog -
  260. [ 8.950537] procd: - watchdog -
  261. [ 8.957130] procd: - ubus -
  262. [ 9.173755] random: ubusd: uninitialized urandom read (4 bytes read)
  263. [ 9.350866] random: ubusd: uninitialized urandom read (4 bytes read)
  264. [ 9.364073] random: ubusd: uninitialized urandom read (4 bytes read)
  265. [ 9.377773] procd: - init -
  266. Please press Enter to activate this console.
  267. [ 9.753876] kmodloader: loading kernel modules from /etc/modules.d/*
  268. [ 9.856122] ip6_tables: (C) 2000-2006 Netfilter Core Team
  269. [ 9.878835] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
  270. [ 9.894757] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
  271. [ 9.911314] ip_tables: (C) 2000-2006 Netfilter Core Team
  272. [ 9.931136] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
  273. [ 10.008026] xt_time: kernel timezone is -0000
  274. [ 10.078943] mt76_wmac 10300000.wmac: ASIC revision: 76280001
  275. [ 11.105625] mt76_wmac 10300000.wmac: Firmware Version: 20151201
  276. [ 11.117416] mt76_wmac 10300000.wmac: Build Time: 20151201183641
  277. [ 11.143548] mt76_wmac 10300000.wmac: firmware init done
  278. [ 11.374799] PPP generic driver version 2.4.2
  279. [ 11.463203] NET: Registered protocol family 24
  280. [ 11.476305] kmodloader: done loading kernel modules from /etc/modules.d/*
  281. [ 12.616324] urandom_read: 5 callbacks suppressed
  282. [ 12.616335] random: jshn: uninitialized urandom read (4 bytes read)
  283. [ 21.737592] br-lan: port 1(eth0) entered blocking state
  284. [ 21.748015] br-lan: port 1(eth0) entered disabled state
  285. [ 21.758722] device eth0 entered promiscuous mode
  286. [ 21.863706] br-lan: port 1(eth0) entered blocking state
  287. [ 21.874079] br-lan: port 1(eth0) entered forwarding state
  288. [ 21.885020] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
  289. [ 22.794657] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
  290. [ 130.103603] random: crng init d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement