Guest User

broly mips-linux 4.9.44 R6700v2 +{glibc,bash}/-{bZbox,musl}

a guest
Aug 31st, 2017
559
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1 https://pastebin.com/gyzLGKEs first successful mips32 compile
  2. 2 https://pastebin.com/nHzYRDps copied over missing libc files/tidied up (missed copying c++ over in this one)
  3. 3 https://pastebin.com/AzFHxnPD libqmi (glib 2.52 and util-linux 2.29 upgraded as well)
  4. 4 https://pastebin.com/Cyh8eivj minidlna update
  5. 5 https://pastebin.com/L9w8arvC gudev added
  6. 6 https://pastebin.com/h2xFLf2V php7 updates etc
  7. 7 https://pastebin.com/bHPpZrRx updated ar71xx for 4.9 (also did it for ar934x platform ["wasp"--mips74k])
  8. 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).
  9. 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)
  10. 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.
  11. 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).
  12. 12 https://pastebin.com/TJHeu9VC discussing the sercomm boot tools and such.
  13. 13 https://pastebin.com/uadhgmvS just showing the boot log (without initramfs enabled).
  14. 14 https://pastebin.com/jNmY4y9D was just sharing the observation about initrd that wasn't really useful to the problem
  15. 15 https://pastebin.com/EUeDuLHZ briefly discussing the boot and problem with the dtb (device tree binary) not being "seen" by the kernel
  16. 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)
  17. 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
  18. 18 https://pastebin.com/uMBaREgn "no init found" panic, after loading the devicetree. (solution to this issue below, and some final/concluding thoughts as there may be no progress)
  19.  
  20. 'lo again.
  21.  
  22. below i present what-should-be a fully-working glibc 2.25 on linux 4.9.44 on an MT7621, with all cores showing up as 1004Kc, vga arbitration enabled, and a lot of other goodies.
  23.  
  24. i have fixed the "cannot find init" issue. turns out i had forgotten to put a symbolic ink for ld.so.1 in the lib dir. after that was done, i have now gotten a kernel panic that says "attempted to kill init" with an exit code that is not of much help.
  25.  
  26. i have asked Ralf about the stack dumping, but it seems this is a non-trivial request (elinux.org/images/0/07/Intricacies_of_a_MIPS_Stack_Backtrace_Implementation.pdf https://gcc.gnu.org/ml/gcc-help/2008-01/msg00067.html props to Daney for being on this so early. [he is active in #mipslinux, btw!]). i am pondering as to whether i really want to mess with the compilation flags to get the dump, as i tried inserting an -fno-omit-framepointer and it didn't seem to recompile all the source files.
  27.  
  28. in any case, it's clear to me that the issue here is glibc. i have found that people on ARM platforms have reported situations where identical setups in uClibc had no issue, but ran into this same exit code when attempting to switch to glibc (https://raspberrypi.stackexchange.com/questions/47002/kernel-panic-after-swtiching-from-uclibc-to-glibc), which is what i suspect is happening here.
  29.  
  30. given that the garbage platforms known as ARM have been already been lacking with their "FPU" support, and lack of proper "glibc" support would be another nail in their (already prepared) coffin, it felt that the exit code was more of a "trying to use glibc on mips? spent 65 bucks on an MT7621 and now you want the world? shut this bitch down ASAP!" (with this facial expression https://us.123rf.com/450wm/oocoskun/oocoskun1401/oocoskun140100107/25625554-close-up-portrait-of-a-man-laughing-with-a-disbelief-expression.jpg?ver=6)
  31.  
  32.  
  33. i also noticed that approximately around the same time i had made my announcement that i received my r6700 (august 21/22 2017), that the losers at lede made mention of their broke-ass non-hardfloat ('eabi', not 'eabihf') 3.x ARM kernel having issues (http://lists.infradead.org/pipermail/lede-dev/2017-August/008607.html). this post was the first i've seen of any kind of success for ARM and glibc, and i suspect it was deliberate as "they" (openwrt/lede developers) have been aware of my desires for over a year (glibc hardfloat embedded platform). since this (alleged) build is not hardfloat, producing a glibc on a 3.x kernel for non-hardfloat ARM may be somewhat ubiquitous (though i'm not inclined to go that far).
  34.  
  35. all in all, i am very satisfied with the support provided by netgear, ralink, mediatek, and the boys on freenode. it seems that the privileged instructions ran by glibc were destined to get "locked out" as they not only provide legacy support, but additional access and power when compared to their bullshit variants that pretty strip down and modify glibc code.
  36.  
  37. selling people hardware under the guise of "open source" that doesn't include glibc compatibility is unacceptable. early on, glibc was too big to fit so it wasn't an issue. now this has changed and the RAM/ROM has reached a point where it's realistic expectation.
  38. i suspect that, on the MIPS side, glibc compatibility is deliberately restricted since it affords great access to the hardware, and i don't think that was the goal of this whole "open source" wave.
  39.  
  40. contrast the "industry"'s deliberate attempts to impede MIPS' progress to the benefit of ARM, who has an army of garbage "techies" (coughcough Linaro coughcough) that have had over two years to develop a glibc-based 4.x kernel for ARM (with or out without hardfloat [latter scenario is me being generous, as it isn't comparable to mips w/ glibc since mips has FPU support]) and failed, only producing a 3.x softfloat kernel that has issues.
  41.  
  42. they've had all the resources (openwrt devs, linaro devs, pretty much all open source devs), money (rothschild was a main investor in ARM; he's the one trying to make out like a bandit) and time (two years since i expressed my interest at building a glibc kernel [initially for ARMv7, but that failed and i moved to MIPS earlier this year]).
  43.  
  44. i'll let you guys be the judge.
  45.  
  46.  
  47.  
  48. #mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux
  49.  
  50. Please choose the operation:
  51.   1: Load system code to SDRAM via TFTP.
  52.   2: Load system code then write to Flash via TFTP.
  53.   3: Boot system code via Flash (default).
  54.   4: Entr boot command line interface.
  55.   9: Load Boot Loader code then write to Flash via TFTP.
  56. 0
  57. 0006fffa
  58.  
  59. ***************************************************
  60.    Sercomm Boot Version 1.0.1.0
  61.  
  62. ***************************************************
  63. Enter NMRP_main
  64. Trying Eth0 (10/100-M)
  65.  
  66. Waitting for RX_DMA_BUSY status Start... done
  67.  
  68.  
  69. ETH_STATE_ACTIVE!!
  70. NMRP_FLASH_SIZE_buffer --> 03000000.
  71. NMRP:LISTENING
  72. ### No NMRP Server found ###
  73. check upgrade flag
  74. read flag 05400000
  75. ## Booting image at bc200000 ...
  76.   Image Name:   Linux Kernel Image
  77.   Image Type:   MIPS Linux Kernel Image (lzma compressed)
  78.   Data Size:    2107222 Bytes =  2 MB
  79.   Load Address: 81001000
  80.   Entry Point:  8100ef80
  81. .................................   Verifying Checksum ... OK
  82.   Uncompressing Kernel Image ... OK
  83. No initrd
  84. ## Transferring control to Linux (at address 8100ef80) ...
  85. ## Giving linux memsize in MB, 256
  86.  
  87. Starting kernel ...
  88.  
  89. Linux version 4.9.44 (Gagan@GagansMacPro) (gcc version 7.2.0 (GCC) ) #325 SMP Thu Aug 31 10:48:14 MDT 2017
  90. SoC Type: MediaTek MT7621 ver:1 eco:3
  91. bootconsole [early0] enabled
  92. CPU0 revision is: 0001992f (MIPS 1004Kc)
  93. MIPS: machine is Mediatek MT7621
  94. Determined physical RAM map:
  95. memory: 10000000 @ 00000000 (usable)
  96. VPE topology {2,2} total 4
  97. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  98. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  99. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  100. Zone ranges:
  101.  Normal   [mem 0x0000000000000000-0x000000000fffffff]
  102.  HighMem  empty
  103. Movable zone start for each node
  104. Early memory node ranges
  105.  node   0: [mem 0x0000000000000000-0x000000000fffffff]
  106. Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
  107. On node 0 totalpages: 65536
  108. free_area_init_node: node 0, pgdat 815c64c0, node_mem_map 8163a000
  109.  Normal zone: 512 pages used for memmap
  110.  Normal zone: 0 pages reserved
  111.  Normal zone: 65536 pages, LIFO batch:15
  112. percpu: Embedded 13 pages/cpu @81845000 s23376 r8192 d21680 u53248
  113. pcpu-alloc: s23376 r8192 d21680 u53248 alloc=13*4096
  114. pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  115. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
  116. Kernel command line: console=ttyS0,57600 root=/dev/mtdblock3 rw rootfstype=squashfs,jffs2 init=/sbin/init debug
  117. log_buf_len individual max cpu contribution: 4096 bytes
  118. log_buf_len total cpu_extra contributions: 12288 bytes
  119. log_buf_len min size: 16384 bytes
  120. log_buf_len: 32768 bytes
  121. early log buf free: 14336(87%)
  122. PID hash table entries: 1024 (order: 0, 4096 bytes)
  123. Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  124. Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  125. Writing ErrCtl register=000000f1
  126. Readback ErrCtl register=000000f1
  127. Memory: 236836K/262144K available (4706K kernel code, 262K rwdata, 948K rodata, 280K init, 144K bss, 25308K reserved, 0K cma-reserved, 0K highmem)
  128. Hierarchical RCU implementation.
  129.        Build-time adjustment of leaf fanout to 32.
  130. NR_IRQS:256
  131. clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
  132. clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
  133. sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
  134. Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
  135. pid_max: default: 4096 minimum: 301
  136. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  137. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  138. Performance counters: mips/1004K PMU enabled, 2 32-bit counters available to each CPU, irq 17
  139. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  140. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  141. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  142. CPU1 revision is: 0001992f (MIPS 1004Kc)
  143. Synchronize counters for CPU 1:
  144. done.
  145. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  146. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  147. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  148. CPU2 revision is: 0001992f (MIPS 1004Kc)
  149. Synchronize counters for CPU 2:
  150. done.
  151. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  152. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  153. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  154. CPU3 revision is: 0001992f (MIPS 1004Kc)
  155. Synchronize counters for CPU 3:
  156. done.
  157. Brought up 4 CPUs
  158. devtmpfs: initialized
  159. clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  160. pinctrl core: initialized pinctrl subsystem
  161. NET: Registered protocol family 16
  162. rt2880-pinmux pinctrl: try to register 61 pins ...
  163. pinctrl core: registered pin 0 (io0) on rt2880-pinmux
  164. pinctrl core: registered pin 1 (io1) on rt2880-pinmux
  165. pinctrl core: registered pin 2 (io2) on rt2880-pinmux
  166. pinctrl core: registered pin 3 (io3) on rt2880-pinmux
  167. pinctrl core: registered pin 4 (io4) on rt2880-pinmux
  168. pinctrl core: registered pin 5 (io5) on rt2880-pinmux
  169. pinctrl core: registered pin 6 (io6) on rt2880-pinmux
  170. pinctrl core: registered pin 7 (io7) on rt2880-pinmux
  171. pinctrl core: registered pin 8 (io8) on rt2880-pinmux
  172. pinctrl core: registered pin 9 (io9) on rt2880-pinmux
  173. pinctrl core: registered pin 10 (io10) on rt2880-pinmux
  174. pinctrl core: registered pin 11 (io11) on rt2880-pinmux
  175. pinctrl core: registered pin 12 (io12) on rt2880-pinmux
  176. pinctrl core: registered pin 13 (io13) on rt2880-pinmux
  177. pinctrl core: registered pin 14 (io14) on rt2880-pinmux
  178. pinctrl core: registered pin 15 (io15) on rt2880-pinmux
  179. pinctrl core: registered pin 16 (io16) on rt2880-pinmux
  180. pinctrl core: registered pin 17 (io17) on rt2880-pinmux
  181. pinctrl core: registered pin 18 (io18) on rt2880-pinmux
  182. pinctrl core: registered pin 19 (io19) on rt2880-pinmux
  183. pinctrl core: registered pin 20 (io20) on rt2880-pinmux
  184. pinctrl core: registered pin 21 (io21) on rt2880-pinmux
  185. pinctrl core: registered pin 22 (io22) on rt2880-pinmux
  186. pinctrl core: registered pin 23 (io23) on rt2880-pinmux
  187. pinctrl core: registered pin 24 (io24) on rt2880-pinmux
  188. pinctrl core: registered pin 25 (io25) on rt2880-pinmux
  189. pinctrl core: registered pin 26 (io26) on rt2880-pinmux
  190. pinctrl core: registered pin 27 (io27) on rt2880-pinmux
  191. pinctrl core: registered pin 28 (io28) on rt2880-pinmux
  192. pinctrl core: registered pin 29 (io29) on rt2880-pinmux
  193. pinctrl core: registered pin 30 (io30) on rt2880-pinmux
  194. pinctrl core: registered pin 31 (io31) on rt2880-pinmux
  195. pinctrl core: registered pin 32 (io32) on rt2880-pinmux
  196. pinctrl core: registered pin 33 (io33) on rt2880-pinmux
  197. pinctrl core: registered pin 34 (io34) on rt2880-pinmux
  198. pinctrl core: registered pin 35 (io35) on rt2880-pinmux
  199. pinctrl core: registered pin 36 (io36) on rt2880-pinmux
  200. pinctrl core: registered pin 37 (io37) on rt2880-pinmux
  201. pinctrl core: registered pin 38 (io38) on rt2880-pinmux
  202. pinctrl core: registered pin 39 (io39) on rt2880-pinmux
  203. pinctrl core: registered pin 40 (io40) on rt2880-pinmux
  204. pinctrl core: registered pin 41 (io41) on rt2880-pinmux
  205. pinctrl core: registered pin 42 (io42) on rt2880-pinmux
  206. pinctrl core: registered pin 43 (io43) on rt2880-pinmux
  207. pinctrl core: registered pin 44 (io44) on rt2880-pinmux
  208. pinctrl core: registered pin 45 (io45) on rt2880-pinmux
  209. pinctrl core: registered pin 46 (io46) on rt2880-pinmux
  210. pinctrl core: registered pin 47 (io47) on rt2880-pinmux
  211. pinctrl core: registered pin 48 (io48) on rt2880-pinmux
  212. pinctrl core: registered pin 49 (io49) on rt2880-pinmux
  213. pinctrl core: registered pin 50 (io50) on rt2880-pinmux
  214. pinctrl core: registered pin 51 (io51) on rt2880-pinmux
  215. pinctrl core: registered pin 52 (io52) on rt2880-pinmux
  216. pinctrl core: registered pin 53 (io53) on rt2880-pinmux
  217. pinctrl core: registered pin 54 (io54) on rt2880-pinmux
  218. pinctrl core: registered pin 55 (io55) on rt2880-pinmux
  219. pinctrl core: registered pin 56 (io56) on rt2880-pinmux
  220. pinctrl core: registered pin 57 (io57) on rt2880-pinmux
  221. pinctrl core: registered pin 58 (io58) on rt2880-pinmux
  222. pinctrl core: registered pin 59 (io59) on rt2880-pinmux
  223. pinctrl core: registered pin 60 (io60) on rt2880-pinmux
  224. pinctrl core: add 5 pinctrl maps
  225. rt2880-pinmux pinctrl: found group selector 1 for i2c
  226. rt2880-pinmux pinctrl: found group selector 3 for uart2
  227. rt2880-pinmux pinctrl: found group selector 2 for uart3
  228. rt2880-pinmux pinctrl: found group selector 8 for rgmii2
  229. rt2880-pinmux pinctrl: found group selector 10 for sdhci
  230. rt2880-pinmux pinctrl: request pin 3 (io3) for pinctrl
  231. rt2880-pinmux pinctrl: request pin 4 (io4) for pinctrl
  232. rt2880-pinmux pinctrl: request pin 9 (io9) for pinctrl
  233. rt2880-pinmux pinctrl: request pin 10 (io10) for pinctrl
  234. rt2880-pinmux pinctrl: request pin 11 (io11) for pinctrl
  235. rt2880-pinmux pinctrl: request pin 12 (io12) for pinctrl
  236. rt2880-pinmux pinctrl: request pin 5 (io5) for pinctrl
  237. rt2880-pinmux pinctrl: request pin 6 (io6) for pinctrl
  238. rt2880-pinmux pinctrl: request pin 7 (io7) for pinctrl
  239. rt2880-pinmux pinctrl: request pin 8 (io8) for pinctrl
  240. rt2880-pinmux pinctrl: request pin 22 (io22) for pinctrl
  241. rt2880-pinmux pinctrl: request pin 23 (io23) for pinctrl
  242. rt2880-pinmux pinctrl: request pin 24 (io24) for pinctrl
  243. rt2880-pinmux pinctrl: request pin 25 (io25) for pinctrl
  244. rt2880-pinmux pinctrl: request pin 26 (io26) for pinctrl
  245. rt2880-pinmux pinctrl: request pin 27 (io27) for pinctrl
  246. rt2880-pinmux pinctrl: request pin 28 (io28) for pinctrl
  247. rt2880-pinmux pinctrl: request pin 29 (io29) for pinctrl
  248. rt2880-pinmux pinctrl: request pin 30 (io30) for pinctrl
  249. rt2880-pinmux pinctrl: request pin 31 (io31) for pinctrl
  250. rt2880-pinmux pinctrl: request pin 32 (io32) for pinctrl
  251. rt2880-pinmux pinctrl: request pin 33 (io33) for pinctrl
  252. rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl
  253. rt2880-pinmux pinctrl: request pin 42 (io42) for pinctrl
  254. rt2880-pinmux pinctrl: request pin 43 (io43) for pinctrl
  255. rt2880-pinmux pinctrl: request pin 44 (io44) for pinctrl
  256. rt2880-pinmux pinctrl: request pin 45 (io45) for pinctrl
  257. rt2880-pinmux pinctrl: request pin 46 (io46) for pinctrl
  258. rt2880-pinmux pinctrl: request pin 47 (io47) for pinctrl
  259. rt2880-pinmux pinctrl: request pin 48 (io48) for pinctrl
  260. rt2880-pinmux pinctrl: failed to lookup the sleep state
  261. FPU Affinity set after 11720 emulations
  262. mt7621_gpio 1e000600.gpio: registering 32 gpios
  263. mt7621_gpio 1e000600.gpio: registering 32 gpios
  264. mt7621_gpio 1e000600.gpio: registering 32 gpios
  265. vgaarb: loaded
  266. SCSI subsystem initialized
  267. clocksource: Switched to clocksource GIC
  268. NET: Registered protocol family 2
  269. TCP established hash table entries: 2048 (order: 1, 8192 bytes)
  270. TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
  271. TCP: Hash tables configured (established 2048 bind 2048)
  272. UDP hash table entries: 128 (order: 0, 4096 bytes)
  273. UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
  274. NET: Registered protocol family 1
  275. PCI: CLS 0 bytes, default 32
  276. 4 CPUs re-calibrate udelay(lpj = 2924544)
  277. alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
  278. workingset: timestamp_bits=30 max_order=16 bucket_order=0
  279. squashfs: version 4.0 (2009/01/31) Phillip Lougher
  280. jffs2: version 2.2. (NAND) (SUMMARY)  (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
  281. fuse init (API version 7.26)
  282. io scheduler noop registered
  283. io scheduler deadline registered (default)
  284. random: fast init done
  285. serial8250_init
  286. Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
  287. serial8250 serial8250: no of_node; not parsing pinctrl DT
  288. console [ttyS0] disabled
  289. 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
  290. console [ttyS0] enabled
  291. console [ttyS0] enabled
  292. bootconsole [early0] disabled
  293. bootconsole [early0] disabled
  294. Ralink gpio driver initialized
  295. MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
  296. Allocate 16 byte aligned buffer: 8162a750
  297. Enable NFI Clock
  298. # MTK NAND # : Use HW ECC
  299. Device found in MTK table, ID: c2f1, EXT_ID: 809502
  300. Support this Device in MTK table! c2f1
  301. [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
  302. nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
  303. nand: Macronix MX30UF1G18AC 128MiB 1.8V
  304. nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
  305. Scanning device for bad blocks
  306. Bad eraseblock 640 at 0x000005000000
  307. Bad eraseblock 641 at 0x000005020000
  308. Bad eraseblock 642 at 0x000005040000
  309. Bad eraseblock 643 at 0x000005060000
  310. Bad eraseblock 644 at 0x000005080000
  311. Bad eraseblock 645 at 0x0000050a0000
  312. Bad eraseblock 646 at 0x0000050c0000
  313. Bad eraseblock 647 at 0x0000050e0000
  314. Bad eraseblock 648 at 0x000005100000
  315. Bad eraseblock 649 at 0x000005120000
  316. Bad eraseblock 650 at 0x000005140000
  317. Bad eraseblock 651 at 0x000005160000
  318. Bad eraseblock 652 at 0x000005180000
  319. Bad eraseblock 653 at 0x0000051a0000
  320. Bad eraseblock 654 at 0x0000051c0000
  321. Bad eraseblock 655 at 0x0000051e0000
  322. Bad eraseblock 656 at 0x000005200000
  323. Bad eraseblock 657 at 0x000005220000
  324. Bad eraseblock 658 at 0x000005240000
  325. Bad eraseblock 659 at 0x000005260000
  326. Bad eraseblock 660 at 0x000005280000
  327. Bad eraseblock 661 at 0x0000052a0000
  328. Bad eraseblock 662 at 0x0000052c0000
  329. Bad eraseblock 663 at 0x0000052e0000
  330. 5 ofpart partitions found on MTD device MT7621-NAND
  331. Creating 5 MTD partitions on "MT7621-NAND":
  332. 0x000000000000-0x000000100000 : "boot"
  333. 0x000000100000-0x000000200000 : "part_map"
  334. 0x000000200000-0x000000600000 : "kernel"
  335. 0x000000600000-0x000004600000 : "rootfs"
  336. mtd: partition "rootfs" set to be root filesystem
  337. 0x000005400000-0x000007f80000 : "reserved"
  338. [mtk_nand] probe successfully!
  339. Signature matched and data read!
  340. load_fact_bbt success 1023
  341. libphy: Fixed MDIO Bus: probed
  342. tun: Universal TUN/TAP device driver, 1.6
  343. tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
  344. netif_napi_add() called with weight 128 on device eth%d
  345. mtk_soc_eth 1e100000.ethernet: generated random MAC address 6a:5e:06:65:9a:e3
  346. libphy: mdio: probed
  347. mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
  348. mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
  349. u32 classifier
  350.    Performance counters on
  351.    Actions configured
  352. Netfilter messages via NETLINK v0.30.
  353. nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
  354. ctnetlink v0.93: registering with nfnetlink.
  355. ipip: IPv4 and MPLS over IPv4 tunneling driver
  356. ip_tables: (C) 2000-2006 Netfilter Core Team
  357. ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
  358. NET: Registered protocol family 17
  359. Bridge firewalling registered
  360. 8021q: 802.1Q VLAN Support v1.8
  361. VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
  362. devtmpfs: mounted
  363. Freeing unused kernel memory: 280K
  364. This architecture does not have kernel memory protection.
  365. Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
  366.  
  367. Rebooting in 1 seconds..
RAW Paste Data