Advertisement
Guest User

gagz' dd-wrt mipsralink 4.9.17 (+{glibc,bash}/-{musl,bZbox})

a guest
Sep 6th, 2017
1,915
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 25.37 KB | None | 0 0
  1. previous logs:
  2. 1 https://pastebin.com/gyzLGKEs first successful mips32 compile
  3. 2 https://pastebin.com/nHzYRDps copied over missing libc files/tidied up (missed copying c++ over in this one)
  4. 3 https://pastebin.com/AzFHxnPD libqmi (glib 2.52 and util-linux 2.29 upgraded as well)
  5. 4 https://pastebin.com/Cyh8eivj minidlna update
  6. 5 https://pastebin.com/L9w8arvC gudev added
  7. 6 https://pastebin.com/h2xFLf2V php7 updates etc
  8. 7 https://pastebin.com/bHPpZrRx updated ar71xx for 4.9 (also did it for ar934x platform ["wasp"--mips74k])
  9. 8 https://pastebin.com/zsdTjjKQ status update on the firmware (not really exclusive to the AC55U, just packing it using mkimage vs lzma-loader etc).
  10. 9 https://pastebin.com/qNMiWkD9 failure of AC55U due to sensitive MTD flash partitioning (likely due to shoe-horning of AR7134 devicetree file for QCA9558)
  11. 10 https://pastebin.com/1BPUmMzx just an update to glibc 2.29 and using the latest 4.9 committed by brainslayer to ensure we're all on teh same page.
  12. 11 https://pastebin.com/9jrT1gkP raw bootlog from the r6700v2/r6800/r6900v2. included so people can observe how the u-boot and "stage  code seem to be "together"; that is, the u-boot seems to be customised to deal with the sercomm utilities (no mtdparts, but there is an sc_nand).
  13. 12 https://pastebin.com/TJHeu9VC discussing the sercomm boot tools and such.
  14. 13 https://pastebin.com/uadhgmvS just showing the boot log (without initramfs enabled).
  15. 14 https://pastebin.com/jNmY4y9D was just sharing the observation about initrd that wasn't really useful to the problem
  16. 15 https://pastebin.com/EUeDuLHZ briefly discussing the boot and problem with the dtb (device tree binary) not being "seen" by the kernel
  17. 16 https://pastebin.com/K7yuBYfv just a nothingness update (talking about clocksource driver being picked up when disabling the devicetree node calls in mt7621.c)
  18. 17 https://pastebin.com/LAewauYh discussing the devicetree hack created by The oh-so-clever Crispy One John Crispin (blogic), and how it must be used instead of the "appended_dtb" kernel configuration options. also pointed out the resulting file system driver issue
  19. 18 https://pastebin.com/uMBaREgn expressing my justified frustration at being unable to mount the bloody filesystem, which is/was likely caused by the network devices having "priority" on the CPU cores, thereby creating a "lock' that can only be opened with the drivers.
  20. ----
  21.  
  22. ladies and gentlemen,
  23.  
  24. today i present to you a nearly-booting R6700v2/r6800V2/r6900fw with the RALINK SDK suite of drivers. that is, no net_mediatek_soc/ethernet driver, and a return to the esteemed RAETH driver.
  25.  
  26. i am delighted that after spending a large amount of time integrating the RALINK drivers into the fw, that i got the proportional results. that is, as you guys can see below, both radios boot up and are identified as MT7615 (both of which can do 5GHZ).
  27.  
  28. it seems that an initrd is required to complete the boot, which i am excited to figure out.
  29.  
  30. shout out to all the guys on freenode for your love and support!!
  31.  
  32. now without further ado....
  33.  
  34. #mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux
  35.  
  36. ***************************************************
  37.    Sercomm Boot Version 1.0.1.0
  38.  
  39. ***************************************************
  40. Enter NMRP_main
  41. Trying Eth0 (10/100-M)
  42.  
  43. Waitting for RX_DMA_BUSY status Start... done
  44.  
  45.  
  46. ETH_STATE_ACTIVE!!
  47. NMRP_FLASH_SIZE_buffer --> 03000000.
  48. NMRP:LISTENING
  49. ### No NMRP Server found ###
  50. check upgrade flag
  51. read flag 05400000
  52. ## Booting image at bc200000 ...
  53.   Image Name:   Linux Kernel Image
  54.   Image Type:   MIPS Linux Kernel Image (lzma compressed)
  55.   Data Size:    3852470 Bytes =  3.7 MB
  56.   Load Address: 81001000
  57.   Entry Point:  8164a638
  58. ...........................................................   Verifying Checksum ... OK
  59.   Uncompressing Kernel Image ... OK
  60. No initrd
  61. ## Transferring control to Linux (at address 8164a638) ...
  62. ## Giving linux memsize in MB, 256
  63.  
  64. Starting kernel ...
  65.  
  66. Linux version 4.9.47-rc1 (Gagan@GagansMacPro) (gcc version 7.2.0 (GCC) ) #169 SMP PREEMPT Wed Sep 6 19:21:25 MDT 2017
  67. SoC Type: MediaTek MT7621 ver:1 eco:3
  68. bootconsole [early0] enabled
  69. CPU0 revision is: 0001992f (MIPS 1004Kc)
  70. MIPS: machine is Mediatek MT7621
  71. Determined physical RAM map:
  72. memory: 10000000 @ 00000000 (usable)
  73. Initrd not found or empty - disabling initrd
  74. VPE topology {2,2} total 4
  75. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  76. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  77. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  78. Zone ranges:
  79.  Normal   [mem 0x0000000000000000-0x000000000fffffff]
  80.  HighMem  empty
  81. Movable zone start for each node
  82. Early memory node ranges
  83.  node   0: [mem 0x0000000000000000-0x000000000fffffff]
  84. Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
  85. On node 0 totalpages: 65536
  86. free_area_init_node: node 0, pgdat 819f1820, node_mem_map 81af1000
  87.  Normal zone: 512 pages used for memmap
  88.  Normal zone: 0 pages reserved
  89.  Normal zone: 65536 pages, LIFO batch:15
  90. percpu: Embedded 13 pages/cpu @81cff000 s23312 r8192 d21744 u53248
  91. pcpu-alloc: s23312 r8192 d21744 u53248 alloc=13*4096
  92. pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  93. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
  94. Kernel command line: console=ttyS0,57600 rootfstype=squashfs stacktrace debug mtdparts=MT7621-NAND:1M(boot)ro,1M(part_map)ro,4M(kernel),64M(rootfs),-(reserved)ro
  95. log_buf_len individual max cpu contribution: 4096 bytes
  96. log_buf_len total cpu_extra contributions: 12288 bytes
  97. log_buf_len min size: 16384 bytes
  98. log_buf_len: 32768 bytes
  99. early log buf free: 14208(86%)
  100. PID hash table entries: 1024 (order: 0, 4096 bytes)
  101. Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  102. Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  103. Writing ErrCtl register=000000f0
  104. Readback ErrCtl register=000000f0
  105. Memory: 231996K/262144K available (6466K kernel code, 1270K rwdata, 2452K rodata, 296K init, 684K bss, 30148K reserved, 0K cma-reserved, 0K highmem)
  106. Preemptible hierarchical RCU implementation.
  107.        Build-time adjustment of leaf fanout to 32.
  108. NR_IRQS:256
  109. clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
  110. sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
  111. Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
  112. pid_max: default: 4096 minimum: 301
  113. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  114. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  115. Performance counters: mips/1004K PMU enabled, 2 32-bit counters available to each CPU, irq 17
  116. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  117. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  118. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  119. CPU1 revision is: 0001992f (MIPS 1004Kc)
  120. Synchronize counters for CPU 1:
  121. done.
  122. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  123. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  124. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  125. CPU2 revision is: 0001992f (MIPS 1004Kc)
  126. Synchronize counters for CPU 2:
  127. done.
  128. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  129. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  130. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  131. CPU3 revision is: 0001992f (MIPS 1004Kc)
  132. Synchronize counters for CPU 3:
  133. done.
  134. Brought up 4 CPUs
  135. devtmpfs: initialized
  136. clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  137. pinctrl core: initialized pinctrl subsystem
  138. NET: Registered protocol family 16
  139. rt2880-pinmux pinctrl: try to register 61 pins ...
  140. pinctrl core: registered pin 0 (io0) on rt2880-pinmux
  141. pinctrl core: registered pin 1 (io1) on rt2880-pinmux
  142. pinctrl core: registered pin 2 (io2) on rt2880-pinmux
  143. pinctrl core: registered pin 3 (io3) on rt2880-pinmux
  144. pinctrl core: registered pin 4 (io4) on rt2880-pinmux
  145. pinctrl core: registered pin 5 (io5) on rt2880-pinmux
  146. pinctrl core: registered pin 6 (io6) on rt2880-pinmux
  147. pinctrl core: registered pin 7 (io7) on rt2880-pinmux
  148. pinctrl core: registered pin 8 (io8) on rt2880-pinmux
  149. pinctrl core: registered pin 9 (io9) on rt2880-pinmux
  150. pinctrl core: registered pin 10 (io10) on rt2880-pinmux
  151. pinctrl core: registered pin 11 (io11) on rt2880-pinmux
  152. pinctrl core: registered pin 12 (io12) on rt2880-pinmux
  153. pinctrl core: registered pin 13 (io13) on rt2880-pinmux
  154. pinctrl core: registered pin 14 (io14) on rt2880-pinmux
  155. pinctrl core: registered pin 15 (io15) on rt2880-pinmux
  156. pinctrl core: registered pin 16 (io16) on rt2880-pinmux
  157. pinctrl core: registered pin 17 (io17) on rt2880-pinmux
  158. pinctrl core: registered pin 18 (io18) on rt2880-pinmux
  159. pinctrl core: registered pin 19 (io19) on rt2880-pinmux
  160. pinctrl core: registered pin 20 (io20) on rt2880-pinmux
  161. pinctrl core: registered pin 21 (io21) on rt2880-pinmux
  162. pinctrl core: registered pin 22 (io22) on rt2880-pinmux
  163. pinctrl core: registered pin 23 (io23) on rt2880-pinmux
  164. pinctrl core: registered pin 24 (io24) on rt2880-pinmux
  165. pinctrl core: registered pin 25 (io25) on rt2880-pinmux
  166. pinctrl core: registered pin 26 (io26) on rt2880-pinmux
  167. pinctrl core: registered pin 27 (io27) on rt2880-pinmux
  168. pinctrl core: registered pin 28 (io28) on rt2880-pinmux
  169. pinctrl core: registered pin 29 (io29) on rt2880-pinmux
  170. pinctrl core: registered pin 30 (io30) on rt2880-pinmux
  171. pinctrl core: registered pin 31 (io31) on rt2880-pinmux
  172. pinctrl core: registered pin 32 (io32) on rt2880-pinmux
  173. pinctrl core: registered pin 33 (io33) on rt2880-pinmux
  174. pinctrl core: registered pin 34 (io34) on rt2880-pinmux
  175. pinctrl core: registered pin 35 (io35) on rt2880-pinmux
  176. pinctrl core: registered pin 36 (io36) on rt2880-pinmux
  177. pinctrl core: registered pin 37 (io37) on rt2880-pinmux
  178. pinctrl core: registered pin 38 (io38) on rt2880-pinmux
  179. pinctrl core: registered pin 39 (io39) on rt2880-pinmux
  180. pinctrl core: registered pin 40 (io40) on rt2880-pinmux
  181. pinctrl core: registered pin 41 (io41) on rt2880-pinmux
  182. pinctrl core: registered pin 42 (io42) on rt2880-pinmux
  183. pinctrl core: registered pin 43 (io43) on rt2880-pinmux
  184. pinctrl core: registered pin 44 (io44) on rt2880-pinmux
  185. pinctrl core: registered pin 45 (io45) on rt2880-pinmux
  186. pinctrl core: registered pin 46 (io46) on rt2880-pinmux
  187. pinctrl core: registered pin 47 (io47) on rt2880-pinmux
  188. pinctrl core: registered pin 48 (io48) on rt2880-pinmux
  189. pinctrl core: registered pin 49 (io49) on rt2880-pinmux
  190. pinctrl core: registered pin 50 (io50) on rt2880-pinmux
  191. pinctrl core: registered pin 51 (io51) on rt2880-pinmux
  192. pinctrl core: registered pin 52 (io52) on rt2880-pinmux
  193. pinctrl core: registered pin 53 (io53) on rt2880-pinmux
  194. pinctrl core: registered pin 54 (io54) on rt2880-pinmux
  195. pinctrl core: registered pin 55 (io55) on rt2880-pinmux
  196. pinctrl core: registered pin 56 (io56) on rt2880-pinmux
  197. pinctrl core: registered pin 57 (io57) on rt2880-pinmux
  198. pinctrl core: registered pin 58 (io58) on rt2880-pinmux
  199. pinctrl core: registered pin 59 (io59) on rt2880-pinmux
  200. pinctrl core: registered pin 60 (io60) on rt2880-pinmux
  201. pinctrl core: add 5 pinctrl maps
  202. rt2880-pinmux pinctrl: found group selector 1 for i2c
  203. rt2880-pinmux pinctrl: found group selector 3 for uart2
  204. rt2880-pinmux pinctrl: found group selector 2 for uart3
  205. rt2880-pinmux pinctrl: found group selector 8 for rgmii2
  206. rt2880-pinmux pinctrl: found group selector 10 for sdhci
  207. rt2880-pinmux pinctrl: request pin 3 (io3) for pinctrl
  208. rt2880-pinmux pinctrl: request pin 4 (io4) for pinctrl
  209. rt2880-pinmux pinctrl: request pin 9 (io9) for pinctrl
  210. rt2880-pinmux pinctrl: request pin 10 (io10) for pinctrl
  211. rt2880-pinmux pinctrl: request pin 11 (io11) for pinctrl
  212. rt2880-pinmux pinctrl: request pin 12 (io12) for pinctrl
  213. rt2880-pinmux pinctrl: request pin 5 (io5) for pinctrl
  214. rt2880-pinmux pinctrl: request pin 6 (io6) for pinctrl
  215. rt2880-pinmux pinctrl: request pin 7 (io7) for pinctrl
  216. rt2880-pinmux pinctrl: request pin 8 (io8) for pinctrl
  217. rt2880-pinmux pinctrl: request pin 22 (io22) for pinctrl
  218. rt2880-pinmux pinctrl: request pin 23 (io23) for pinctrl
  219. rt2880-pinmux pinctrl: request pin 24 (io24) for pinctrl
  220. rt2880-pinmux pinctrl: request pin 25 (io25) for pinctrl
  221. rt2880-pinmux pinctrl: request pin 26 (io26) for pinctrl
  222. rt2880-pinmux pinctrl: request pin 27 (io27) for pinctrl
  223. rt2880-pinmux pinctrl: request pin 28 (io28) for pinctrl
  224. rt2880-pinmux pinctrl: request pin 29 (io29) for pinctrl
  225. rt2880-pinmux pinctrl: request pin 30 (io30) for pinctrl
  226. rt2880-pinmux pinctrl: request pin 31 (io31) for pinctrl
  227. rt2880-pinmux pinctrl: request pin 32 (io32) for pinctrl
  228. rt2880-pinmux pinctrl: request pin 33 (io33) for pinctrl
  229. rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl
  230. rt2880-pinmux pinctrl: request pin 42 (io42) for pinctrl
  231. rt2880-pinmux pinctrl: request pin 43 (io43) for pinctrl
  232. rt2880-pinmux pinctrl: request pin 44 (io44) for pinctrl
  233. rt2880-pinmux pinctrl: request pin 45 (io45) for pinctrl
  234. rt2880-pinmux pinctrl: request pin 46 (io46) for pinctrl
  235. rt2880-pinmux pinctrl: request pin 47 (io47) for pinctrl
  236. rt2880-pinmux pinctrl: request pin 48 (io48) for pinctrl
  237. rt2880-pinmux pinctrl: failed to lookup the sleep state
  238. FPU Affinity set after 11720 emulations
  239. pinctrl core: add 1 pinctrl maps
  240. rt2880-pinmux pinctrl: found group selector 6 for pcie
  241. rt2880-pinmux pinctrl: request pin 19 (io19) for 1e140000.pcie
  242. pull PCIe RST: RALINK_RSTCTRL = 0
  243. release PCIe RST: RALINK_RSTCTRL = 7000000
  244. ***** Xtal 40MHz *****
  245. release PCIe RST: RALINK_RSTCTRL = 7000000
  246. Port 0 N_FTS = 1b102800
  247. Port 1 N_FTS = 1b102800
  248. Port 2 N_FTS = 1b102800
  249. PCIE2 no card, disable it(RST&CLK)
  250. -> 21007f2
  251. PCIE0 enabled
  252. PCIE1 enabled
  253. PCI host bridge /pcie@1e140000 ranges:
  254. MEM 0x0000000060000000..0x000000006fffffff
  255.  IO 0x000000001e160000..0x000000001e16ffff
  256. PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
  257. mt7621_gpio 1e000600.gpio: registering 32 gpios
  258. mt7621_gpio 1e000600.gpio: registering 32 gpios
  259. mt7621_gpio 1e000600.gpio: registering 32 gpios
  260. vgaarb: loaded
  261. SCSI subsystem initialized
  262. usbcore: registered new interface driver usbfs
  263. usbcore: registered new interface driver hub
  264. usbcore: registered new device driver usb
  265. PCI host bridge to bus 0000:00
  266. pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
  267. pci_bus 0000:00: root bus resource [io  0xffffffff]
  268. pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
  269. pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
  270. pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
  271. pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
  272. pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
  273. pci 0000:00:00.0: supports D1
  274. pci 0000:00:00.0: PME# supported from D0 D1 D3hot
  275. pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
  276. pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
  277. pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
  278. pci 0000:00:01.0: supports D1
  279. pci 0000:00:01.0: PME# supported from D0 D1 D3hot
  280. pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
  281. pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
  282. pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
  283. pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
  284. pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
  285. pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
  286. pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
  287. pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
  288. pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
  289. pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
  290. pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
  291. pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
  292. pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
  293. pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
  294. pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
  295. pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
  296. pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
  297. pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
  298. pci 0000:00:00.0: PCI bridge to [bus 01]
  299. pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
  300. pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
  301. pci 0000:00:01.0: PCI bridge to [bus 02]
  302. pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
  303. BAR0 at slot 0 = 0
  304. bus=0x0, slot = 0x0
  305. BAR0 at slot 1 = 0
  306. bus=0x0, slot = 0x1
  307. bus=0x1, slot = 0x0, irq=0x0
  308. bus=0x2, slot = 0x1, irq=0x0
  309. clocksource: Switched to clocksource GIC
  310. random: fast init done
  311. NET: Registered protocol family 2
  312. TCP established hash table entries: 2048 (order: 1, 8192 bytes)
  313. TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
  314. TCP: Hash tables configured (established 2048 bind 2048)
  315. UDP hash table entries: 128 (order: 0, 4096 bytes)
  316. UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
  317. NET: Registered protocol family 1
  318. PCI: CLS 80 bytes, default 32
  319. 4 CPUs re-calibrate udelay(lpj = 2924544)
  320. alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
  321. workingset: timestamp_bits=30 max_order=16 bucket_order=0
  322. squashfs: version 4.0 (2009/01/31) Phillip Lougher
  323. fuse init (API version 7.26)
  324. io scheduler noop registered
  325. io scheduler deadline registered (default)
  326. serial8250_init
  327. Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
  328. serial8250 serial8250: no of_node; not parsing pinctrl DT
  329. console [ttyS0] disabled
  330. 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
  331. console [ttyS0] enabled
  332. console [ttyS0] enabled
  333. bootconsole [early0] disabled
  334. bootconsole [early0] disabled
  335. ralink_gpio: unable to register character device
  336. MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
  337. Allocate 16 byte aligned buffer: 81a5a0c0
  338. Enable NFI Clock
  339. # MTK NAND # : Use HW ECC
  340. Device found in MTK table, ID: c2f1, EXT_ID: 809502
  341. Support this Device in MTK table! c2f1
  342. [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
  343. nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
  344. nand: Macronix MX30UF1G18AC 128MiB 1.8V
  345. nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
  346. Scanning device for bad blocks
  347. Bad eraseblock 640 at 0x000005000000
  348. Bad eraseblock 641 at 0x000005020000
  349. Bad eraseblock 642 at 0x000005040000
  350. Bad eraseblock 643 at 0x000005060000
  351. Bad eraseblock 644 at 0x000005080000
  352. Bad eraseblock 645 at 0x0000050a0000
  353. Bad eraseblock 646 at 0x0000050c0000
  354. Bad eraseblock 647 at 0x0000050e0000
  355. Bad eraseblock 648 at 0x000005100000
  356. Bad eraseblock 649 at 0x000005120000
  357. Bad eraseblock 650 at 0x000005140000
  358. Bad eraseblock 651 at 0x000005160000
  359. Bad eraseblock 652 at 0x000005180000
  360. Bad eraseblock 653 at 0x0000051a0000
  361. Bad eraseblock 654 at 0x0000051c0000
  362. Bad eraseblock 655 at 0x0000051e0000
  363. Bad eraseblock 656 at 0x000005200000
  364. Bad eraseblock 657 at 0x000005220000
  365. Bad eraseblock 658 at 0x000005240000
  366. Bad eraseblock 659 at 0x000005260000
  367. Bad eraseblock 660 at 0x000005280000
  368. Bad eraseblock 661 at 0x0000052a0000
  369. Bad eraseblock 662 at 0x0000052c0000
  370. Bad eraseblock 663 at 0x0000052e0000
  371. 5 cmdlinepart partitions found on MTD device MT7621-NAND
  372. Creating 5 MTD partitions on "MT7621-NAND":
  373. 0x000000000000-0x000000100000 : "boot"
  374. 0x000000100000-0x000000200000 : "part_map"
  375. 0x000000200000-0x000000600000 : "kernel"
  376. 0x000000600000-0x000004600000 : "rootfs"
  377. mtd: partition "rootfs" set to be root filesystem
  378. magic 73717368 vs 73717368
  379. mtd: partition "ddwrt" created automatically, ofs=2160000, len=24A0000
  380. 0x000002160000-0x000004600000 : "ddwrt"
  381. 0x000004600000-0x000008000000 : "reserved"
  382. [mtk_nand] probe successfully!
  383. Signature matched and data read!
  384. load_fact_bbt success 1023
  385. libphy: Fixed MDIO Bus: probed
  386. tun: Universal TUN/TAP device driver, 1.6
  387. tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
  388. GMAC1_MAC_ADRH -- : 0x0000000c
  389. GMAC1_MAC_ADRL -- : 0x4328801c
  390. Ralink APSoC Ethernet Driver Initilization. v3.1  512 rx/tx descriptors allocated, mtu = 1500!
  391. GMAC1_MAC_ADRH -- : 0x0000000c
  392. GMAC1_MAC_ADRL -- : 0x4328801a
  393. PROC INIT OK!
  394. register mt_drv
  395. mt_drv 0000:01:00.0: no of_node; not parsing pinctrl DT
  396.  
  397.  
  398. === pAd = c0101000, size = 3653456 ===
  399.  
  400. <-- RTMPAllocAdapterBlock, Status=0
  401. get_wdev_by_idx: invalid idx(0)
  402. pAd->PciHif.CSRBaseAddress =0xc0000000, csr_addr=0xc0000000!
  403. get_wdev_by_idx: invalid idx(0)
  404. RTMPInitPCIeDevice():device_id=0x7615
  405. DriverOwn()::Try to Clear FW Own...
  406. DriverOwn()::Success to clear FW Own
  407. mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
  408. mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
  409. RtmpChipOpsHook(493): Not support for HIF_MT yet! MACVersion=0x0
  410. mt7615_init()-->
  411. Use 1st ePAeLNA default bin.
  412. Use 0st /etc/mtk/mt7615/R6800_5G_EEPROM_20170105.bin default bin.
  413. <--mt7615_init()
  414. ChipOpsMCUHook
  415. cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
  416. cut_through_token_list_init(): 8f464b88,8f464b88
  417. cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
  418. cut_through_token_list_init(): 8f464b98,8f464b98
  419. <-- RTMPAllocTxRxRingMemory, Status=0
  420. get_wdev_by_idx: invalid idx(0)
  421. get_wdev_by_idx: invalid idx(0)
  422. get_wdev_by_idx: invalid idx(0)
  423. get_wdev_by_idx: invalid idx(0)
  424. get_wdev_by_idx: invalid idx(0)
  425. get_wdev_by_idx: invalid idx(0)
  426. get_wdev_by_idx: invalid idx(0)
  427. get_wdev_by_idx: invalid idx(0)
  428. get_wdev_by_idx: invalid idx(0)
  429. get_wdev_by_idx: invalid idx(0)
  430. 80211> RFICType= 3, NumOfChan= 58
  431. 80211> Number of rate = 12
  432. 80211> CurTxPower = 0 dBm
  433. 80211> TxStream = 1
  434. get_wdev_by_idx: invalid idx(0)
  435. get_wdev_by_idx: invalid idx(0)
  436. get_wdev_by_idx: invalid idx(0)
  437. get_wdev_by_idx: invalid idx(0)
  438. get_wdev_by_idx: invalid idx(0)
  439. get_wdev_by_idx: invalid idx(0)
  440. 80211> CFG80211_Register with max interface 8
  441. get_wdev_by_idx: invalid idx(0)
  442. pci probe count=1
  443. mt_drv 0000:02:00.0: no of_node; not parsing pinctrl DT
  444.  
  445.  
  446. === pAd = c0581000, size = 3653456 ===
  447.  
  448. <-- RTMPAllocAdapterBlock, Status=0
  449. get_wdev_by_idx: invalid idx(0)
  450. pAd->PciHif.CSRBaseAddress =0xc0480000, csr_addr=0xc0480000!
  451. get_wdev_by_idx: invalid idx(0)
  452. RTMPInitPCIeDevice():device_id=0x7615
  453. DriverOwn()::Try to Clear FW Own...
  454. DriverOwn()::Success to clear FW Own
  455. mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
  456. mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
  457. RtmpChipOpsHook(493): Not support for HIF_MT yet! MACVersion=0x0
  458. mt7615_init()-->
  459. Use 2nd ePAeLNA default bin.
  460. Use 1st /etc/mtk/mt7615/R6800_5G_EEPROM_20170105.bin default bin.
  461. <--mt7615_init()
  462. ChipOpsMCUHook
  463. cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
  464. cut_through_token_list_init(): 8eea7308,8eea7308
  465. cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
  466. cut_through_token_list_init(): 8eea7318,8eea7318
  467. <-- RTMPAllocTxRxRingMemory, Status=0
  468. get_wdev_by_idx: invalid idx(0)
  469. get_wdev_by_idx: invalid idx(0)
  470. get_wdev_by_idx: invalid idx(0)
  471. get_wdev_by_idx: invalid idx(0)
  472. get_wdev_by_idx: invalid idx(0)
  473. get_wdev_by_idx: invalid idx(0)
  474. get_wdev_by_idx: invalid idx(0)
  475. get_wdev_by_idx: invalid idx(0)
  476. get_wdev_by_idx: invalid idx(0)
  477. get_wdev_by_idx: invalid idx(0)
  478. 80211> RFICType= 3, NumOfChan= 58
  479. 80211> Number of rate = 12
  480. 80211> CurTxPower = 0 dBm
  481. 80211> TxStream = 1
  482. get_wdev_by_idx: invalid idx(0)
  483. get_wdev_by_idx: invalid idx(0)
  484. get_wdev_by_idx: invalid idx(0)
  485. get_wdev_by_idx: invalid idx(0)
  486. get_wdev_by_idx: invalid idx(0)
  487. get_wdev_by_idx: invalid idx(0)
  488. 80211> CFG80211_Register with max interface 8
  489. get_wdev_by_idx: invalid idx(0)
  490. pci probe count=2
  491. xhci-mtk 1e1c0000.xhci: xHCI Host Controller
  492. xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
  493. xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
  494. xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
  495. usb usb1: no of_node; not parsing pinctrl DT
  496. hub 1-0:1.0: no of_node; not parsing pinctrl DT
  497. hub 1-0:1.0: USB hub found
  498. hub 1-0:1.0: 2 ports detected
  499. xhci-mtk 1e1c0000.xhci: xHCI Host Controller
  500. xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
  501. usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
  502. usb usb2: no of_node; not parsing pinctrl DT
  503. hub 2-0:1.0: no of_node; not parsing pinctrl DT
  504. hub 2-0:1.0: USB hub found
  505. hub 2-0:1.0: 1 port detected
  506. usbcore: registered new interface driver usb-storage
  507. Ralink APSoC Hardware Watchdog Timer
  508. usbcore: registered new interface driver usbhid
  509. usbhid: USB HID core driver
  510. u32 classifier
  511.    Performance counters on
  512.    Actions configured
  513. Netfilter messages via NETLINK v0.30.
  514. nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
  515. ctnetlink v0.93: registering with nfnetlink.
  516. ipip: IPv4 and MPLS over IPv4 tunneling driver
  517. ip_tables: (C) 2000-2006 Netfilter Core Team
  518. ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
  519. NET: Registered protocol family 17
  520. Bridge firewalling registered
  521. 8021q: 802.1Q VLAN Support v1.8
  522. nvram driver (major 251) installed
  523. hctosys: unable to open rtc device (rtc0)
  524. Please be patient, while System loads ...
  525. VFS: Cannot open root device "(null)" or unknown-block(31,3): error -2
  526. Please append a correct "root=" boot option; here are the available partitions:
  527. 1f00            1024 mtdblock0  (driver?)
  528. 1f01            1024 mtdblock1  (driver?)
  529. 1f02            4096 mtdblock2  (driver?)
  530. 1f03           65536 mtdblock3  (driver?)
  531. 1f04           37504 mtdblock4  (driver?)
  532. 1f05           59392 mtdblock5  (driver?)
  533. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
  534. ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement