Guest User

WNDR3700v5 OpenWRT boot process

a guest
Apr 17th, 2015
708
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ===================================================================
  2. MT7621 stage1 code 13:14:00 (ASIC)
  3. CPU=50000000 HZ BUS=16666666 HZ
  4. ==================================================================
  5. Change MPLL source from XTAL to CR...
  6. do MEMPLL setting..
  7. MEMPLL Config : 0x11100000
  8. 3PLL mode + External loopback
  9. === XTAL-40Mhz === DDR-1200Mhz ===
  10. PLL4 FB_DL: 0xf, 1/0 = 607/417 3D000000
  11. PLL2 FB_DL: 0x16, 1/0 = 681/343 59000000
  12. PLL3 FB_DL: 0x16, 1/0 = 569/455 59000000
  13. do DDR setting..[00320000]
  14. Apply DDR3 Setting...(use customer AC)
  15. 0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120
  16. --------------------------------------------------------------------------------
  17. 0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  18. 0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  19. 0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  20. 0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  21. 0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  22. 0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  23. 0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  24. 0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  25. 0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  26. 0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  27. 000A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  28. 000B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  29. 000C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  30. 000D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
  31. 000E:| 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1
  32. 000F:| 0 0 0 0 0 1 1 1 1 1 1 1 1 1 0 0
  33. 0010:| 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0
  34. 0011:| 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
  35. 0012:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  36. 0013:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  37. 0014:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  38. 0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  39. 0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  40. 0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  41. 0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  42. 0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  43. 001A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  44. 001B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  45. 001C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  46. 001D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  47. 001E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  48. 001F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  49. rank 0 coarse = 16
  50. rank 0 fine = 32
  51. B:| 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0
  52. opt_dle value:9
  53. DRAMC_R0DELDLY[018]=00001E1F
  54. ==================================================================
  55. RX DQS perbit delay software calibration
  56. ==================================================================
  57. 1.0-15 bit dq delay value
  58. ==================================================================
  59. bit| 0 1 2 3 4 5 6 7 8 9
  60. --------------------------------------
  61. 0 | 13 9 14 13 14 11 14 9 6 11
  62. 10 | 9 13 10 14 8 13
  63. --------------------------------------
  64.  
  65. ==================================================================
  66. 2.dqs window
  67. x=pass dqs delay value (min~max)center
  68. y=0-7bit DQ of every group
  69. input delay:DQS0 =31 DQS1 = 30
  70. ==================================================================
  71. bit DQS0 bit DQS1
  72. 0 (1~60)30 8 (1~57)29
  73. 1 (1~56)28 9 (1~57)29
  74. 2 (1~60)30 10 (1~60)30
  75. 3 (2~58)30 11 (1~56)28
  76. 4 (1~59)30 12 (1~59)30
  77. 5 (2~60)31 13 (1~58)29
  78. 6 (0~58)29 14 (1~58)29
  79. 7 (1~60)30 15 (1~58)29
  80. ==================================================================
  81. 3.dq delay value last
  82. ==================================================================
  83. bit| 0 1 2 3 4 5 6 7 8 9
  84. --------------------------------------
  85. 0 | 14 12 15 14 15 11 15 10 7 12
  86. 10 | 9 15 10 15 9 14
  87. ==================================================================
  88. ==================================================================
  89. TX perbyte calibration
  90. ==================================================================
  91. DQS loop = 15, cmp_err_1 = ffff2800
  92. dqs_perbyte_dly.last_dqsdly_pass[0]=15, finish count=1
  93. DQS loop = 14, cmp_err_1 = ffff0000
  94. dqs_perbyte_dly.last_dqsdly_pass[1]=14, finish count=2
  95. DQ loop=15, cmp_err_1 = ffff01a2
  96. DQ loop=14, cmp_err_1 = ffff0180
  97. DQ loop=13, cmp_err_1 = ffff0080
  98. dqs_perbyte_dly.last_dqdly_pass[1]=13, finish count=1
  99. DQ loop=12, cmp_err_1 = ffff0000
  100. dqs_perbyte_dly.last_dqdly_pass[0]=12, finish count=2
  101. byte:0, (DQS,DQ)=(9,8)
  102. byte:1, (DQS,DQ)=(8,8)
  103. 20,data:89
  104. [EMI] DRAMC calibration passed
  105.  
  106. ===================================================================
  107. MT7621 stage1 code done
  108. CPU=50000000 HZ BUS=16666666 HZ
  109. ===================================================================
  110.  
  111.  
  112. U-Boot 1.1.3 (Nov 17 2014 - 08:29:53)
  113.  
  114. Board: Ralink APSoC DRAM: 128 MB
  115. relocate_code Pointer at: 87fb4000
  116.  
  117. Config XHCI 40M PLL
  118. ******************************
  119. Software System Reset Occurred
  120. ******************************
  121. flash manufacture id: c2, device id 20 18
  122. find flash: MX25L12805D
  123. *** Warning - bad CRC, using default environment
  124.  
  125. ============================================
  126. Ralink UBoot Version: 4.2.1.0
  127. --------------------------------------------
  128. ASIC MT7621AS (MAC to MT7530 Mode)
  129. DRAM_CONF_FROM: Auto-Detection
  130. DRAM_TYPE: DDR3
  131. DRAM bus: 16 bit
  132. Xtal Mode=3 OCP Ratio=1/3
  133. Flash component: SPI Flash
  134. Date:Nov 17 2014 Time:08:29:53
  135. ============================================
  136. icache: sets:256, ways:4, linesz:32 ,total:32768
  137. dcache: sets:256, ways:4, linesz:32 ,total:32768
  138.  
  139. ##### The CPU freq = 880 MHZ ####
  140. estimate memory size =128 Mbytes
  141.  
  142. Reset switch ...
  143. #Reset_MT7530
  144. set LAN/WAN LLLLW
  145. Example expects ABI version 2
  146. Actual U-Boot ABI version 2
  147.  
  148. ******************************************
  149. Uboot StandAlone Entry
  150. ******************************************
  151. 0, cmd
  152. 1, 0x0000000D
  153. cmd : 0x0000000D
  154.  
  155.  
  156. Press Ctrl+C to Enter the Main loop...
  157. Example expects ABI version 2
  158. Actual U-Boot ABI version 2
  159.  
  160. ******************************************
  161. Uboot StandAlone Entry
  162. ******************************************
  163. 0, cmd
  164. 1, 0x0000000F
  165. cmd : 0x0000000F
  166. Enter NMRP_main
  167. Flash Sector Number : 256.
  168.  
  169. NetTxPacket = 0x87FE4300
  170.  
  171. KSEG1ADDR(NetTxPacket) = 0xA7FE4300
  172.  
  173. NetLoop,call eth_halt !
  174.  
  175. NetLoop,call eth_init !
  176. Trying Eth0 (10/100-M)
  177.  
  178. Waitting for RX_DMA_BUSY status Start... done
  179.  
  180.  
  181. ETH_STATE_ACTIVE!!
  182. NMRP_FLASH_SIZE_buffer --> a1000000.
  183. NMRP:LISTENING
  184. ### No NMRP Server found ###
  185. Example expects ABI version 2
  186. Actual U-Boot ABI version 2
  187.  
  188. ******************************************
  189. Uboot StandAlone Entry
  190. ******************************************
  191. 0, boot
  192. Flash Sector Number : 256.
  193.  
  194. ***************************************************
  195. Sercomm Boot Version 1.13.0
  196.  
  197. ***************************************************
  198. Entering Firmware : Everything is OK.
  199.  
  200. flash base: 0xbfc00000, kernel addr :0xbfc50000, bootloader size: 0x30000, config size 0x10000, fac size : 0x10000
  201. kernel addr :0xbfc50000
  202.  
  203. System Boot system code via Flash.
  204. ## Booting image at bfc50000 ...
  205. Image Name: OpenWRT WNDR3700v5 Francis 1337
  206. Image Type: MIPS Linux Kernel Image (lzma compressed)
  207. Data Size: 1256995 Bytes = 1.2 MB
  208. Load Address: 80001000
  209. Entry Point: 80001000
  210. Verifying Checksum ... OK
  211. Uncompressing Kernel Image ... OK
  212.  
  213.  
  214.  
  215. commandline in boot is : <NULL> !!!!
  216.  
  217.  
  218.  
  219. No initrd
  220. ## Transferring control to Linux (at address 80001000) ...
  221. ## Giving linux memsize in MB, 128
  222.  
  223. Starting kernel ...
  224.  
  225. [ 0.000000] Linux version 3.18.11 (openwrt@gb-17) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45455) ) #1 SMP Thu Apr 16 22:10:43 UTC 2015
  226. [ 0.000000] SoC Type: Mediatek MT7621 ver:1 eco:3
  227. [ 0.000000] bootconsole [early0] enabled
  228. [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
  229. [ 0.000000] MIPS: machine is Mediatek MT7621 evaluation board
  230. [ 0.000000] Determined physical RAM map:
  231. [ 0.000000] memory: 02000000 @ 00000000 (usable)
  232. [ 0.000000] Initrd not found or empty - disabling initrd
  233. [ 0.000000] Zone ranges:
  234. [ 0.000000] Normal [mem 0x00000000-0x01ffffff]
  235. [ 0.000000] Movable zone start for each node
  236. [ 0.000000] Early memory node ranges
  237. [ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
  238. [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
  239. [ 0.000000] Detected 1 available secondary CPU(s)
  240. [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  241. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  242. [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  243. [ 0.000000] PERCPU: Embedded 9 pages/cpu @81049000 s5696 r8192 d22976 u36864
  244. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
  245. [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
  246. [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
  247. [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
  248. [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
  249. [ 0.000000] Writing ErrCtl register=0004b830
  250. [ 0.000000] Readback ErrCtl register=0004b830
  251. [ 0.000000] Memory: 28420K/32768K available (2855K kernel code, 145K rwdata, 540K rodata, 160K init, 200K bss, 4348K reserved)
  252. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
  253. [ 0.000000] Hierarchical RCU implementation.
  254. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
  255. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
  256. [ 0.000000] NR_IRQS:256
  257. [ 0.000000] gic: revision 3.0
  258. [ 0.000000] CPU Clock: 880MHz
  259. [ 0.000000] Calibrating delay loop... 577.53 BogoMIPS (lpj=2887680)
  260. [ 0.060000] pid_max: default: 32768 minimum: 301
  261. [ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  262. [ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  263. [ 0.090000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  264. [ 0.090000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  265. [ 0.090000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  266. [ 0.090000] CPU1 revision is: 0001992f (MIPS 1004Kc)
  267. [ 0.190000] Synchronize counters for CPU 1: done.
  268. [ 0.190000] Brought up 2 CPUs
  269. [ 0.200000] pinctrl core: initialized pinctrl subsystem
  270. [ 0.210000] NET: Registered protocol family 16
  271. [ 0.220000] pull PCIe RST: RALINK_RSTCTRL = 0
  272. [ 0.520000] release PCIe RST: RALINK_RSTCTRL = 7000000
  273. [ 0.530000] ***** Xtal 40MHz *****
  274. [ 0.530000] release PCIe RST: RALINK_RSTCTRL = 7000000
  275. [ 0.540000] Port 0 N_FTS = 1b105000
  276. [ 0.540000] Port 1 N_FTS = 1b102800
  277. [ 0.550000] Port 2 N_FTS = 1b105000
  278. [ 1.690000] PCIE1 no card, disable it(RST&CLK)
  279. [ 1.690000] -> 12007f2
  280. [ 1.700000] PCIE0 enabled
  281. [ 1.700000] PCIE2 enabled
  282. [ 1.710000] PCI host bridge /pcie@1e140000 ranges:
  283. [ 1.710000] MEM 0x0000000060000000..0x000000006fffffff
  284. [ 1.720000] IO 0x000000001e160000..0x000000001e16ffff
  285. [ 1.760000] mt7621_gpio 1e000600.gpio: registering 32 gpios
  286. [ 1.770000] mt7621_gpio 1e000600.gpio: registering 32 gpios
  287. [ 1.780000] mt7621_gpio 1e000600.gpio: registering 32 gpios
  288. [ 1.790000] PCI host bridge to bus 0000:00
  289. [ 1.800000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
  290. [ 1.810000] pci_bus 0000:00: root bus resource [io 0xffffffff]
  291. [ 1.820000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
  292. [ 1.840000] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
  293. [ 1.850000] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
  294. [ 1.870000] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
  295. [ 1.880000] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
  296. [ 1.900000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
  297. [ 1.910000] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
  298. [ 1.920000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
  299. [ 1.940000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
  300. [ 1.950000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
  301. [ 1.960000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
  302. [ 1.980000] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
  303. [ 1.990000] pci 0000:00:00.0: PCI bridge to [bus 01]
  304. [ 2.000000] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
  305. [ 2.020000] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
  306. [ 2.030000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
  307. [ 2.040000] pci 0000:00:01.0: PCI bridge to [bus 02]
  308. [ 2.050000] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
  309. [ 2.070000] BAR0 at slot 0 = 0
  310. [ 2.070000] bus=0x0, slot = 0x0
  311. [ 2.080000] BAR0 at slot 1 = 0
  312. [ 2.080000] bus=0x0, slot = 0x1
  313. [ 2.090000] bus=0x1, slot = 0x0, irq=0xff
  314. [ 2.100000] bus=0x2, slot = 0x1, irq=0xff
  315. [ 2.110000] Switched to clocksource MIPS
  316. [ 2.120000] NET: Registered protocol family 2
  317. [ 2.120000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
  318. [ 2.140000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
  319. [ 2.150000] TCP: Hash tables configured (established 1024 bind 1024)
  320. [ 2.160000] TCP: reno registered
  321. [ 2.170000] UDP hash table entries: 256 (order: 1, 8192 bytes)
  322. [ 2.180000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  323. [ 2.190000] NET: Registered protocol family 1
  324. [ 2.200000] futex hash table entries: 512 (order: 3, 32768 bytes)
  325. [ 2.220000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  326. [ 2.240000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  327. [ 2.260000] msgmni has been set to 55
  328. [ 2.260000] io scheduler noop registered
  329. [ 2.270000] io scheduler deadline registered (default)
  330. [ 2.280000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
  331. [ 2.300000] console [ttyS0] disabled
  332. [ 2.310000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 34, base_baud = 3125000) is a 16550A
  333. [ 2.320000] console [ttyS0] enabled
  334. [ 2.320000] console [ttyS0] enabled
  335. [ 2.340000] bootconsole [early0] disabled
  336. [ 2.340000] bootconsole [early0] disabled
  337. [ 2.350000] spi_master spi32766: cannot find modalias for /palmbus@1E000000/spi@b00/m25p80@0
  338. [ 2.370000] netif_napi_add() called with weight 128 on device eth%d
  339. [ 2.400000] change HW-TRAP to 0x17ccf
  340. [ 2.410000] ralink_soc_eth 1e100000.ethernet: generated random MAC address XX:XX:XX:XX:XX:XX
  341. [ 2.420000] libphy: mdio: probed
  342. [ 2.440000] ralink_soc_eth 1e100000.ethernet: loaded mt7530 driver
  343. [ 2.450000] ralink_soc_eth 1e100000.ethernet eth0: ralink at 0xbe100000, irq 11
  344. [ 2.470000] mt7621_wdt 1e000100.wdt: Initialized
  345. [ 2.480000] TCP: cubic registered
  346. [ 2.480000] NET: Registered protocol family 17
  347. [ 2.490000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
  348. [ 2.520000] Bridge firewalling registered
  349. [ 2.530000] 8021q: 802.1Q VLAN Support v1.8
  350. [ 2.540000] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
  351. [ 2.550000] Please append a correct "root=" boot option; here are the available partitions:
  352. [ 2.570000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
  353. [ 2.570000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
  354. [ 3.950000] ralink_soc_eth 1e100000.ethernet eth0: port 2 link up
  355. [ 40.550000] random: nonblocking pool is initialized
  356. [ 148.100000] ralink_soc_eth 1e100000.ethernet eth0: port 2 link down
RAW Paste Data