找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 13545|回复: 18

大麦dw33d openwrt系统启用nand闪存

[复制链接]
本帖最后由 shanpo 于 2018-11-27 17:50 编辑

做了两个小补丁,在op官方代码最近的几个快照上应用都没发现什么问题,分享出来给大家!

  1. [    0.000000] Linux version 4.14.82 (jwd@d2680) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8474-0191a06985)) #0 Thu Nov 22 11:40:19 2018
  2. [    0.000000] bootconsole [early0] enabled
  3. [    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
  4. [    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
  5. [    0.000000] Determined physical RAM map:
  6. [    0.000000]  memory: 10000000 [url=home.php?mod=space&uid=162986]@[/url] 00000000 (usable)
  7. [    0.000000] Initrd not found or empty - disabling initrd
  8. [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  9. [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
  10. [    0.000000] Zone ranges:
  11. [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
  12. [    0.000000] Movable zone start for each node
  13. [    0.000000] Early memory node ranges
  14. [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
  15. [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
  16. [    0.000000] On node 0 totalpages: 65536
  17. [    0.000000] free_area_init_node: node 0, pgdat 80588760, node_mem_map 81000020
  18. [    0.000000]   Normal zone: 512 pages used for memmap
  19. [    0.000000]   Normal zone: 0 pages reserved
  20. [    0.000000]   Normal zone: 65536 pages, LIFO batch:15
  21. [    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x47c with crng_init=0
  22. [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  23. [    0.000000] pcpu-alloc: [0] 0
  24. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
  25. [    0.000000] Kernel command line:  board=DW33D mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),13952k(rootfs),2048k(kernel),64k(art)ro,16000k@0x50000(firmware);ar934x-nfc:96m(rootfs_data),32m(backup)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
  26. [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
  27. [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  28. [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  29. [    0.000000] Writing ErrCtl register=00000000
  30. [    0.000000] Readback ErrCtl register=00000000
  31. [    0.000000] Memory: 253732K/262144K available (4171K kernel code, 172K rwdata, 940K rodata, 212K init, 212K bss, 8412K reserved, 0K cma-reserved)
  32. [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  33. [    0.000000] NR_IRQS: 51
  34. [    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
  35. [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
  36. [    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
  37. [    0.008293] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
  38. [    0.074984] pid_max: default: 32768 minimum: 301
  39. [    0.080078] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  40. [    0.087115] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  41. [    0.096410] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  42. [    0.106904] futex hash table entries: 256 (order: -1, 3072 bytes)
  43. [    0.114346] NET: Registered protocol family 16
  44. [    0.120153] MIPS: machine is DomyWifi DW33D
  45. [    0.125016] registering PCI controller with io_map_base unset
  46. [    0.131294] ar724x-pci ar724x-pci.1: PCIe link is down
  47. [    0.136761] registering PCI controller with io_map_base unset
  48. [    0.635867] PCI host bridge to bus 0000:00
  49. [    0.640232] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
  50. [    0.647579] pci_bus 0000:00: root bus resource [io  0x0000]
  51. [    0.653505] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
  52. [    0.660734] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
  53. [    0.669188] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
  54. [    0.669242] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
  55. [    0.669297] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
  56. [    0.669369] pci 0000:00:00.0: supports D1
  57. [    0.669378] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
  58. [    0.669550] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
  59. [    0.669572] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
  60. [    0.677389] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
  61. [    0.685165] PCI host bridge to bus 0000:01
  62. [    0.689540] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
  63. [    0.696848] pci_bus 0000:01: root bus resource [io  0x0001]
  64. [    0.702783] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
  65. [    0.710003] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
  66. [    0.718449] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
  67. [    0.721149] clocksource: Switched to clocksource MIPS
  68. [    0.727334] NET: Registered protocol family 2
  69. [    0.732719] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
  70. [    0.740153] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  71. [    0.746976] TCP: Hash tables configured (established 2048 bind 2048)
  72. [    0.753861] UDP hash table entries: 256 (order: 0, 4096 bytes)
  73. [    0.760085] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  74. [    0.766977] NET: Registered protocol family 1
  75. [    0.771669] PCI: CLS 0 bytes, default 32
  76. [    0.774033] Crashlog allocated RAM at address 0x3f00000
  77. [    0.780612] workingset: timestamp_bits=30 max_order=16 bucket_order=0
  78. [    0.791618] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  79. [    0.797821] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  80. [    0.816743] io scheduler noop registered
  81. [    0.820913] io scheduler deadline registered (default)
  82. [    0.826760] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
  83. [    0.835210] console [ttyS0] disabled
  84. [    0.859087] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
  85. [    0.868271] console [ttyS0] enabled
  86. [    0.875687] bootconsole [early0] disabled
  87. [    0.889276] m25p80 spi0.0: found mx25l12805d, expected m25p80
  88. [    0.895669] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
  89. [    0.900820] 6 cmdlinepart partitions found on MTD device spi0.0
  90. [    0.906852] Creating 6 MTD partitions on "spi0.0":
  91. [    0.911727] 0x000000000000-0x000000040000 : "u-boot"
  92. [    0.918140] 0x000000040000-0x000000050000 : "u-boot-env"
  93. [    0.924615] 0x000000050000-0x000000df0000 : "rootfs"
  94. [    0.930254] mtd: device 2 (rootfs) set to be root filesystem
  95. [    0.937020] 0x000000df0000-0x000000ff0000 : "kernel"
  96. [    0.943143] 0x000000ff0000-0x000001000000 : "art"
  97. [    0.949498] 0x000000050000-0x000000ff0000 : "firmware"
  98. [    0.956804] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
  99. [    0.963281] nand: AMD/Spansion NAND 128MiB 3,3V 8-bit
  100. [    0.968405] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
  101. [    0.976115] Scanning device for bad blocks
  102. [    0.983988] random: fast init done
  103. [    1.075265] 2 cmdlinepart partitions found on MTD device ar934x-nfc
  104. [    1.081639] Creating 2 MTD partitions on "ar934x-nfc":
  105. [    1.086860] 0x000000000000-0x000006000000 : "rootfs_data"
  106. [    1.093754] 0x000006000000-0x000008000000 : "backup"
  107. [    1.101007] libphy: Fixed MDIO Bus: probed
  108. [    1.112279] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
  109. [    1.800184] libphy: ag71xx_mdio: probed
  110. [    2.432559] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
  111. [    2.443800] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
  112. [    3.072700] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
  113. [    3.080537] NET: Registered protocol family 10
  114. [    3.089008] Segment Routing with IPv6
  115. [    3.092856] NET: Registered protocol family 17
  116. [    3.097399] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
  117. [    3.110800] 8021q: 802.1Q VLAN Support v1.8
  118. [    3.117704] hctosys: unable to open rtc device (rtc0)
  119. [    3.128864] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
  120. [    3.136799] Freeing unused kernel memory: 212K
  121. [    3.141337] This architecture does not have kernel memory protection.
  122. [    3.864825] init: Console is alive
  123. [    3.868454] init: - watchdog -
  124. [    5.261981] kmodloader: loading kernel modules from /etc/modules-boot.d/*
  125. [    5.320526] usbcore: registered new interface driver usbfs
  126. [    5.326195] usbcore: registered new interface driver hub
  127. [    5.331689] usbcore: registered new device driver usb
  128. [    5.341181] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  129. [    5.354698] SCSI subsystem initialized
  130. [    5.362435] ehci-platform: EHCI generic platform driver
  131. [    5.367807] ehci-platform ehci-platform.0: EHCI Host Controller
  132. [    5.373880] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
  133. [    5.384154] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
  134. [    5.390259] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
  135. [    5.421188] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
  136. [    5.428388] hub 1-0:1.0: USB hub found
  137. [    5.432508] hub 1-0:1.0: 1 port detected
  138. [    5.436884] ehci-platform ehci-platform.1: EHCI Host Controller
  139. [    5.442953] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
  140. [    5.453250] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
  141. [    5.459357] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
  142. [    5.491191] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
  143. [    5.498379] hub 2-0:1.0: USB hub found
  144. [    5.502511] hub 2-0:1.0: 1 port detected
  145. [    5.510244] usbcore: registered new interface driver usb-storage
  146. [    5.516958] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
  147. [    5.534673] init: - preinit -
  148. [    6.241221] usb 1-1: new high-speed USB device number 2 using ehci-platform
  149. [    6.594345] random: procd: uninitialized urandom read (4 bytes read)
  150. [    6.601440] usb-storage 1-1:1.0: USB Mass Storage device detected
  151. [    6.613425] scsi host0: usb-storage 1-1:1.0
  152. [    6.631820] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  153. [    7.642599] eth0: link up (1000Mbps/Full duplex)
  154. [    7.647459] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  155. [    7.655160] scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0903 PQ: 0 ANSI: 6
  156. [    8.248724] sd 0:0:0:0: [sda] 31127552 512-byte logical blocks: (15.9 GB/14.8 GiB)
  157. [    8.257708] sd 0:0:0:0: [sda] Write Protect is off
  158. [    8.262612] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00
  159. [    8.263835] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
  160. [    8.279696]  sda: sda1
  161. [    8.286584] sd 0:0:0:0: [sda] Attached SCSI removable disk
  162. [   10.794304] random: crng init done
  163. [   11.915760] jffs2: notice: (447) jffs2_build_xattr_subsystem: complete building xattr subsystem, 5 of xdatum (3 unchecked, 2 orphan) and 82 of xref (2 dead, 2 orphan) found.
  164. [   11.979162] mount_root: loading kmods from internal overlay
  165. [   13.288383] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
  166. [   14.038059] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
  167. [   14.331768] print_req_error: I/O error, dev mtdblock7, sector 0
  168. [   14.338990] print_req_error: I/O error, dev mtdblock7, sector 8
  169. [   14.346223] print_req_error: I/O error, dev mtdblock7, sector 16
  170. [   14.353546] print_req_error: I/O error, dev mtdblock7, sector 24
  171. [   14.366157] print_req_error: I/O error, dev mtdblock7, sector 0
  172. [   14.372172] Buffer I/O error on dev mtdblock7, logical block 0, async page read
  173. [   14.398078] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
  174. [   14.429769] block: extroot: not configured
  175. [   14.436181] mount_root: switching to jffs2 overlay
  176. [   14.463102] overlayfs: upper fs does not support tmpfile.
  177. [   14.473640] urandom-seed: Seeding with /etc/urandom.seed
  178. [   14.979436] eth0: link down
  179. [   14.992289] procd: - early -
  180. [   14.995291] procd: - watchdog -
  181. [   15.619363] procd: - watchdog -
  182. [   15.623293] procd: - ubus -
  183. [   15.737315] procd: - init -
  184. [   15.977202] F2FS-fs (sda1): Mounted with checkpoint version = 15c4bd57
  185. [   16.450683] kmodloader: loading kernel modules from /etc/modules.d/*
  186. [   16.513155] Key type dns_resolver registered
  187. [   16.613981] RPC: Registered named UNIX socket transport module.
  188. [   16.619984] RPC: Registered udp transport module.
  189. [   16.624793] RPC: Registered tcp transport module.
  190. [   16.629558] RPC: Registered tcp NFSv4.1 backchannel transport module.
  191. [   16.728817] ntfs: driver 2.1.32 [Flags: R/O MODULE].
  192. [   17.034493] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
  193. [   17.124792] NFS: Registering the id_resolver key type
  194. [   17.129941] Key type id_resolver registered
  195. [   17.134225] Key type id_legacy registered
  196. [   17.142899] ip6_tables: (C) 2000-2006 Netfilter Core Team
  197. [   17.162642] Loading modules backported from Linux version v4.19-rc5-0-g6bf4ca7fbc85
  198. [   17.170407] Backport generated by backports.git v4.19-rc5-1-0-g05571dcd
  199. [   17.179981] ip_tables: (C) 2000-2006 Netfilter Core Team
  200. [   17.197076] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
  201. [   17.270177] xt_time: kernel timezone is -0000
  202. [   17.331649] PPP generic driver version 2.4.2
  203. [   17.338401] NET: Registered protocol family 24
  204. [   17.542191] pci 0000:00:00.0: using irq 40 for pin 1
  205. [   17.548366] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
  206. [   17.554322] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
  207. [   17.841861] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
  208. [   17.852739] ath10k_pci 0000:00:00.0: Falling back to user helper
  209. [   17.927334] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
  210. [   17.987541] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
  211. [   17.998432] ath10k_pci 0000:00:00.0: Falling back to user helper
  212. [   18.091023] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
  213. [   18.549174] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
  214. [   18.558581] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
  215. [   18.571628] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00041 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 f43fa422
  216. [   18.616762] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
  217. [   18.627393] ath10k_pci 0000:00:00.0: Falling back to user helper
  218. [   18.700874] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
  219. [   18.781409] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
  220. [   19.828641] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
  221. [   19.972390] ath: EEPROM regdomain: 0x0
  222. [   19.972396] ath: EEPROM indicates default country code should be used
  223. [   19.972399] ath: doing EEPROM country->regdmn map search
  224. [   19.972411] ath: country maps to regdmn code: 0x3a
  225. [   19.972416] ath: Country alpha2 being used: US
  226. [   19.972419] ath: Regpair used: 0x3a
  227. [   20.336776] batman_adv: B.A.T.M.A.N. advanced openwrt-2018.4-0 (compatibility version 15) loaded
  228. [   20.379949] ath: EEPROM regdomain: 0x0
  229. [   20.379955] ath: EEPROM indicates default country code should be used
  230. [   20.379959] ath: doing EEPROM country->regdmn map search
  231. [   20.379971] ath: country maps to regdmn code: 0x3a
  232. [   20.379975] ath: Country alpha2 being used: US
  233. [   20.379978] ath: Regpair used: 0x3a
  234. [   20.397450] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
  235. [   20.399087] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
  236. [   20.486260] kmodloader: done loading kernel modules from /etc/modules.d/*
  237. [   24.964499] print_req_error: I/O error, dev mtdblock7, sector 0
  238. [   24.982098] print_req_error: I/O error, dev mtdblock7, sector 8
  239. [   24.995405] print_req_error: I/O error, dev mtdblock7, sector 16
  240. [   25.012100] print_req_error: I/O error, dev mtdblock7, sector 24
  241. [   25.032542] print_req_error: I/O error, dev mtdblock7, sector 0
  242. [   25.038558] Buffer I/O error on dev mtdblock7, logical block 0, async page read
  243. [   28.891871] eth1: link up (1000Mbps/Full duplex)
  244. [   28.925441] br-lan: port 1(eth1.1) entered blocking state
  245. [   28.930926] br-lan: port 1(eth1.1) entered disabled state
  246. [   28.936711] device eth1.1 entered promiscuous mode
  247. [   28.941619] device eth1 entered promiscuous mode
  248. [   29.012469] br-lan: port 1(eth1.1) entered blocking state
  249. [   29.017972] br-lan: port 1(eth1.1) entered forwarding state
  250. [   29.023798] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
  251. [   29.087816] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  252. [   29.132165] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
  253. [   29.961506] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
  254. [   30.122749] eth0: link up (1000Mbps/Full duplex)
  255. [   30.127574] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  256. [   30.201258] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
  257. [   30.626875] 8021q: adding VLAN 0 to HW filter on device bat0
  258. [   30.711473] br-lan: port 2(bat0) entered blocking state
  259. [   30.716798] br-lan: port 2(bat0) entered disabled state
  260. [   30.722371] device bat0 entered promiscuous mode
  261. [   30.727121] br-lan: port 2(bat0) entered blocking state
  262. [   30.732461] br-lan: port 2(bat0) entered forwarding state
  263. [   30.882566] batman_adv: bat0: fragmentation: Changing from: enabled to: disabled
  264. [   31.139687] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
  265. [   31.147934] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
  266. [   31.871660] ath: EEPROM regdomain: 0x809c
  267. [   31.875727] ath: EEPROM indicates we should expect a country code
  268. [   31.881944] ath: doing EEPROM country->regdmn map search
  269. [   31.887325] ath: country maps to regdmn code: 0x52
  270. [   31.892199] ath: Country alpha2 being used: CN
  271. [   31.896704] ath: Regpair used: 0x52
  272. [   31.900235] ath: regdomain 0x809c dynamically updated by user
  273. [   31.906137] ath: EEPROM regdomain: 0x809c
  274. [   31.910203] ath: EEPROM indicates we should expect a country code
  275. [   31.916399] ath: doing EEPROM country->regdmn map search
  276. [   31.921798] ath: country maps to regdmn code: 0x52
  277. [   31.926651] ath: Country alpha2 being used: CN
  278. [   31.931169] ath: Regpair used: 0x52
  279. [   31.934705] ath: regdomain 0x809c dynamically updated by user
  280. [   35.815998] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
  281. [   37.024379] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
  282. [   37.044940] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  283. [   37.690432] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
  284. [   37.826324] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  285. [   38.007159] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
  286. [   38.289691] br-lan: port 3(wlan0) entered blocking state
  287. [   38.295148] br-lan: port 3(wlan0) entered disabled state
  288. [   38.300818] device wlan0 entered promiscuous mode
  289. [   38.305726] br-lan: port 3(wlan0) entered blocking state
  290. [   38.311134] br-lan: port 3(wlan0) entered forwarding state
  291. [   38.856976] batman_adv: bat0: Adding interface: wlan1
  292. [   38.862245] batman_adv: bat0: The MTU of interface wlan1 is too small (1500) to handle the transport of batman-adv packets. If you experience problems getting traffic through try increasing the MTU to 1532.
  293. [   38.880949] batman_adv: bat0: Interface activated: wlan1
  294. [   39.641710] br-lan: port 4(wlan1-1) entered blocking state
  295. [   39.647402] br-lan: port 4(wlan1-1) entered disabled state
  296. [   39.653293] device wlan1-1 entered promiscuous mode
  297. [   40.656130] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
  298. [   40.900379] br-lan: port 4(wlan1-1) entered blocking state
  299. [   40.906003] br-lan: port 4(wlan1-1) entered forwarding state
  300. [   65.015604] br-lan: received packet on bat0 with own address as source address (addr:14:3d:f2:cc:14:3d, vlan:0)
  301. [   65.026000] br-lan: received packet on bat0 with own address as source address (addr:14:3d:f2:cc:14:3d, vlan:0)
复制代码


dw33d固件版本比较多,u-boot版本也有不同,如果发布固件,不能保证都能安全升级,所以还是放代码补丁吧,有能力的玩家可以试试。
补丁发布在github上:https://github.com/shanpo/dw33d-nand-overlay

发现一个BUG!
sysupgrade升级固件时,不保留配置的选项无效!升级后旧的用户配置仍然存在。如果用户在之前的固件上安装过内核驱动模块,有一定概率会出现路由器无限重启!
导致此问题的原因是sysupgrade脚本不能正确删除nand闪存rootfs_data分区数据。因此在解决此BUG前,升级固件时务必先恢复出厂设置再升级。
经过测试,即使出现无限重启现象,也可以通过进入openwrt故障安全模式解决:在故障安全模式下,ssh登录地址192.168.1.1,挂载/dev/mtdblock6设备,删除该设备分区下所有文件即可恢复!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 2恩山币 +2 收起 理由
linu*** + 1 一看就是觉得高端、大气、上档次!
edm*** + 1 面对这种帖子,我内心复杂,真不知道说什么好……

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
来自手机 | 显示全部楼层
感谢分享~~~~~~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

启用nand能做什么,软件包默认能装进去吗?可用空间是不是直接就扩大了

点评

是的,用户可用空间96M,就像原厂固件一样。  详情 回复 发表于 2018-11-27 14:35
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
nianqing126 发表于 2018-11-27 12:39
启用nand能做什么,软件包默认能装进去吗?可用空间是不是直接就扩大了

是的,用户可用空间96M,就像原厂固件一样。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
这几天又完成了启用nand闪存的另一种方法:移植合勤nbg6716固件!固件择日发布。

  1. [    0.000000] Linux version 4.14.82 (jwd@d2680) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8614-78ca6a5578)) #0 Fri Nov 30 08:04:29 2018
  2. [    0.000000] bootconsole [early0] enabled
  3. [    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
  4. [    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
  5. [    0.000000] Determined physical RAM map:
  6. [    0.000000]  memory: 10000000 [url=home.php?mod=space&uid=162986]@[/url] 00000000 (usable)
  7. [    0.000000] User-defined physical RAM map:
  8. [    0.000000]  memory: 10000000 @ 00000000 (usable)
  9. [    0.000000] Initrd not found or empty - disabling initrd
  10. [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  11. [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
  12. [    0.000000] Zone ranges:
  13. [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
  14. [    0.000000] Movable zone start for each node
  15. [    0.000000] Early memory node ranges
  16. [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
  17. [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
  18. [    0.000000] On node 0 totalpages: 65536
  19. [    0.000000] free_area_init_node: node 0, pgdat 805f83c0, node_mem_map 81000020
  20. [    0.000000]   Normal zone: 512 pages used for memmap
  21. [    0.000000]   Normal zone: 0 pages reserved
  22. [    0.000000]   Normal zone: 65536 pages, LIFO batch:15
  23. [    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x48c with crng_init=0
  24. [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  25. [    0.000000] pcpu-alloc: [0] 0
  26. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
  27. [    0.000000] Kernel command line:  board=NBG6716 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(env),64k(RFdata)ro,-(nbu);ar934x-nfc:2048k(zyxel_rfsd),2048k(romd),1024k(header),2048k(kernel),-(ubi) mem=256M ethaddr=FC:F5:28:D3:5A:B4 rootfstype=squashfs noinitrd
  28. [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
  29. [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  30. [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  31. [    0.000000] Writing ErrCtl register=00000000
  32. [    0.000000] Readback ErrCtl register=00000000
  33. [    0.000000] Memory: 253212K/262144K available (4431K kernel code, 268K rwdata, 1040K rodata, 268K init, 220K bss, 8932K reserved, 0K cma-reserved)
  34. [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  35. [    0.000000] NR_IRQS: 51
  36. [    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
  37. [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
  38. [    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
  39. [    0.008294] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
  40. [    0.074985] pid_max: default: 32768 minimum: 301
  41. [    0.080060] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  42. [    0.087097] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  43. [    0.096497] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  44. [    0.106996] futex hash table entries: 256 (order: -1, 3072 bytes)
  45. [    0.114454] NET: Registered protocol family 16
  46. [    0.120329] MIPS: machine is Zyxel NBG6716
  47. [    0.125125] registering PCI controller with io_map_base unset
  48. [    0.131398] ar724x-pci ar724x-pci.1: PCIe link is down
  49. [    0.136861] registering PCI controller with io_map_base unset
  50. [    0.636774] PCI host bridge to bus 0000:00
  51. [    0.641140] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
  52. [    0.648488] pci_bus 0000:00: root bus resource [io  0x0000]
  53. [    0.654413] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
  54. [    0.661639] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
  55. [    0.670095] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
  56. [    0.670149] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
  57. [    0.670204] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
  58. [    0.670277] pci 0000:00:00.0: supports D1
  59. [    0.670286] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
  60. [    0.670464] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
  61. [    0.670488] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
  62. [    0.678307] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
  63. [    0.686087] PCI host bridge to bus 0000:01
  64. [    0.690465] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
  65. [    0.697773] pci_bus 0000:01: root bus resource [io  0x0001]
  66. [    0.703709] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
  67. [    0.710927] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
  68. [    0.719370] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
  69. [    0.722234] clocksource: Switched to clocksource MIPS
  70. [    0.764686] NET: Registered protocol family 2
  71. [    0.770022] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
  72. [    0.777501] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  73. [    0.784295] TCP: Hash tables configured (established 2048 bind 2048)
  74. [    0.791156] UDP hash table entries: 256 (order: 0, 4096 bytes)
  75. [    0.797415] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  76. [    0.804300] NET: Registered protocol family 1
  77. [    0.808969] PCI: CLS 0 bytes, default 32
  78. [    0.811468] Crashlog allocated RAM at address 0x3f00000
  79. [    0.818142] workingset: timestamp_bits=30 max_order=16 bucket_order=0
  80. [    0.829200] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  81. [    0.835441] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  82. [    0.855023] io scheduler noop registered
  83. [    0.859192] io scheduler deadline registered (default)
  84. [    0.865052] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
  85. [    0.873559] console [ttyS0] disabled
  86. [    0.897444] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
  87. [    0.906631] console [ttyS0] enabled
  88. [    0.914048] bootconsole [early0] disabled
  89. [    0.927975] m25p80 spi0.0: found mx25l12805d, expected m25p80
  90. [    0.934397] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
  91. [    0.939549] 4 cmdlinepart partitions found on MTD device spi0.0
  92. [    0.945585] Creating 4 MTD partitions on "spi0.0":
  93. [    0.950451] 0x000000000000-0x000000040000 : "u-boot"
  94. [    0.956638] 0x000000040000-0x000000050000 : "env"
  95. [    0.963161] 0x000000050000-0x000000060000 : "RFdata"
  96. [    0.969323] 0x000000060000-0x000001000000 : "nbu"
  97. [    0.976729] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
  98. [    0.983213] nand: AMD/Spansion NAND 128MiB 3,3V 8-bit
  99. [    0.988339] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
  100. [    0.996046] Scanning device for bad blocks
  101. [    1.003564] random: fast init done
  102. [    1.093917] 5 cmdlinepart partitions found on MTD device ar934x-nfc
  103. [    1.100272] Creating 5 MTD partitions on "ar934x-nfc":
  104. [    1.105507] 0x000000000000-0x000000200000 : "zyxel_rfsd"
  105. [    1.112003] 0x000000200000-0x000000400000 : "romd"
  106. [    1.118583] 0x000000400000-0x000000500000 : "header"
  107. [    1.124772] 0x000000500000-0x000000700000 : "kernel"
  108. [    1.131482] 0x000000700000-0x000008000000 : "ubi"
  109. [    1.138417] libphy: Fixed MDIO Bus: probed
  110. [    1.150054] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
  111. [    1.841471] libphy: ag71xx_mdio: probed
  112. [    2.473642] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
  113. [    2.484891] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
  114. [    3.113785] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
  115. [    3.121626] NET: Registered protocol family 10
  116. [    3.130296] Segment Routing with IPv6
  117. [    3.134140] NET: Registered protocol family 17
  118. [    3.138684] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
  119. [    3.152094] 8021q: 802.1Q VLAN Support v1.8
  120. [    3.159675] UBI: auto-attach mtd8
  121. [    3.163097] ubi0: attaching mtd8
  122. [    4.854863] random: crng init done
  123. [    4.973956] ubi0: scanning is finished
  124. [    4.997071] ubi0: attached mtd8 (name "ubi", size 121 MiB)
  125. [    5.002681] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  126. [    5.009649] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
  127. [    5.016541] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
  128. [    5.023606] ubi0: good PEBs: 968, bad PEBs: 0, corrupted PEBs: 0
  129. [    5.029695] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
  130. [    5.037028] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 130395751
  131. [    5.046206] ubi0: available PEBs: 0, total reserved PEBs: 968, PEBs reserved for bad PEB handling: 20
  132. [    5.055594] ubi0: background thread "ubi_bgt0d" started, PID 364
  133. [    5.063070] block ubiblock0_0: created from ubi0:0(rootfs)
  134. [    5.068644] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
  135. [    5.075745] hctosys: unable to open rtc device (rtc0)
  136. [    5.088568] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
  137. [    5.096784] Freeing unused kernel memory: 268K
  138. [    5.101288] This architecture does not have kernel memory protection.
  139. [    5.636695] init: Console is alive
  140. [    5.640332] init: - watchdog -
  141. [    7.329689] kmodloader: loading kernel modules from /etc/modules-boot.d/*
  142. [    7.421509] usbcore: registered new interface driver usbfs
  143. [    7.427196] usbcore: registered new interface driver hub
  144. [    7.432689] usbcore: registered new device driver usb
  145. [    7.519358] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  146. [    7.534727] SCSI subsystem initialized
  147. [    7.542927] ehci-platform: EHCI generic platform driver
  148. [    7.548292] ehci-platform ehci-platform.0: EHCI Host Controller
  149. [    7.554369] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
  150. [    7.564644] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
  151. [    7.570752] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
  152. [    7.602274] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
  153. [    7.609478] hub 1-0:1.0: USB hub found
  154. [    7.613628] hub 1-0:1.0: 1 port detected
  155. [    7.618027] ehci-platform ehci-platform.1: EHCI Host Controller
  156. [    7.624097] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
  157. [    7.634393] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
  158. [    7.640500] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
  159. [    7.672279] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
  160. [    7.679506] hub 2-0:1.0: USB hub found
  161. [    7.683636] hub 2-0:1.0: 1 port detected
  162. [    7.691789] usbcore: registered new interface driver usb-storage
  163. [    7.698597] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
  164. [    7.716318] init: - preinit -
  165. [    8.046933] usb 1-1: new high-speed USB device number 2 using ehci-platform
  166. [    8.307294] usb-storage 1-1:1.0: USB Mass Storage device detected
  167. [    8.323693] scsi host0: usb-storage 1-1:1.0
  168. [    8.578972] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  169. [    9.403897] scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0903 PQ: 0 ANSI: 6
  170. [    9.644750] eth0: link up (1000Mbps/Full duplex)
  171. [    9.649574] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  172. [    9.738719] sd 0:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
  173. [    9.747700] sd 0:0:0:0: [sda] Write Protect is off
  174. [    9.752612] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00
  175. [    9.753828] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
  176. [    9.772949]  sda: sda1
  177. [    9.779827] sd 0:0:0:0: [sda] Attached SCSI removable disk
  178. [   11.834685] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 496
  179. [   11.987611] UBIFS (ubi0:1): recovery needed
  180. [   12.160903] UBIFS (ubi0:1): recovery completed
  181. [   12.165516] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
  182. [   12.173475] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  183. [   12.183546] UBIFS (ubi0:1): FS size: 114532352 bytes (109 MiB, 902 LEBs), journal size 5713920 bytes (5 MiB, 45 LEBs)
  184. [   12.194313] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
  185. [   12.201022] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID C430CFD2-7484-4F25-B19D-D11E29C28665, small LPT model
  186. [   12.244974] mount_root: loading kmods from internal overlay
  187. [   12.285203] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
  188. [   12.318677] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
  189. [   12.756235] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
  190. [   12.770598] block: extroot: not configured
  191. [   12.778486] mount_root: switching to ubifs overlay
  192. [   12.828566] urandom-seed: Seeding with /etc/urandom.seed
  193. [   13.028822] eth0: link down
  194. [   13.044366] procd: - early -
  195. [   13.047371] procd: - watchdog -
  196. [   13.723601] F2FS-fs (sda1): Mounted with checkpoint version = 3d0cc6b1
  197. [   13.751234] procd: - watchdog -
  198. [   13.755270] procd: - ubus -
  199. [   13.985719] procd: - init -
  200. [   14.494314] kmodloader: loading kernel modules from /etc/modules.d/*
  201. [   14.529977] FS-Cache: Loaded
  202. [   14.544777] Initializing XFRM netlink socket
  203. [   14.551488] NET: Registered protocol family 15
  204. [   14.584714] ip6_tables: (C) 2000-2006 Netfilter Core Team
  205. [   14.601057] i2c /dev entries driver
  206. [   14.608553] Loading modules backported from Linux version v4.19-rc5-0-g6bf4ca7fbc85
  207. [   14.616364] Backport generated by backports.git v4.19-rc5-1-0-g05571dcd
  208. [   14.625973] ip_tables: (C) 2000-2006 Netfilter Core Team
  209. [   14.645464] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
  210. [   14.709513] usbcore: registered new interface driver usblp
  211. [   14.732798] xt_time: kernel timezone is -0000
  212. [   15.018803] PPP generic driver version 2.4.2
  213. [   15.025618] NET: Registered protocol family 24
  214. [   15.054290] pci 0000:00:00.0: using irq 40 for pin 1
  215. [   15.060457] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
  216. [   15.066400] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
  217. [   15.347137] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
  218. [   15.358030] ath10k_pci 0000:00:00.0: Falling back to user helper
  219. [   15.431048] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
  220. [   15.443941] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
  221. [   15.454833] ath10k_pci 0000:00:00.0: Falling back to user helper
  222. [   15.590463] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
  223. [   15.604414] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
  224. [   15.613827] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
  225. [   15.626863] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00041 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 f43fa422
  226. [   15.719609] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
  227. [   15.730250] ath10k_pci 0000:00:00.0: Falling back to user helper
  228. [   15.811131] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
  229. [   15.841939] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
  230. [   16.957765] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
  231. [   17.093469] ath: EEPROM regdomain: 0x0
  232. [   17.093475] ath: EEPROM indicates default country code should be used
  233. [   17.093478] ath: doing EEPROM country->regdmn map search
  234. [   17.093491] ath: country maps to regdmn code: 0x3a
  235. [   17.093495] ath: Country alpha2 being used: US
  236. [   17.093499] ath: Regpair used: 0x3a
  237. [   17.206371] batman_adv: B.A.T.M.A.N. advanced openwrt-2018.4-0 (compatibility version 15) loaded
  238. [   17.235577] ath: EEPROM regdomain: 0x0
  239. [   17.235584] ath: EEPROM indicates default country code should be used
  240. [   17.235587] ath: doing EEPROM country->regdmn map search
  241. [   17.235600] ath: country maps to regdmn code: 0x3a
  242. [   17.235604] ath: Country alpha2 being used: US
  243. [   17.235608] ath: Regpair used: 0x3a
  244. [   17.253090] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
  245. [   17.254741] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
  246. [   17.272655] kmodloader: done loading kernel modules from /etc/modules.d/*
  247. [   25.890901] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  248. [   25.930005] br-lan: port 1(eth0.1) entered blocking state
  249. [   25.935530] br-lan: port 1(eth0.1) entered disabled state
  250. [   25.941267] device eth0.1 entered promiscuous mode
  251. [   25.946176] device eth0 entered promiscuous mode
  252. [   26.013486] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
  253. [   26.059146] eth1: link up (1000Mbps/Full duplex)
  254. [   26.927977] eth0: link up (1000Mbps/Full duplex)
  255. [   26.975015] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  256. [   27.035483] br-lan: port 1(eth0.1) entered blocking state
  257. [   27.040970] br-lan: port 1(eth0.1) entered forwarding state
  258. [   27.144619] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
  259. [   27.907927] 8021q: adding VLAN 0 to HW filter on device bat0
  260. [   27.938587] br-lan: port 2(bat0) entered blocking state
  261. [   27.943942] br-lan: port 2(bat0) entered disabled state
  262. [   27.949506] device bat0 entered promiscuous mode
  263. [   27.954389] br-lan: port 2(bat0) entered blocking state
  264. [   27.959699] br-lan: port 2(bat0) entered forwarding state
  265. [   28.058058] batman_adv: bat0: fragmentation: Changing from: enabled to: disabled
  266. [   28.412330] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
  267. [   28.420542] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
  268. [   28.916761] ath: EEPROM regdomain: 0x809c
  269. [   28.920830] ath: EEPROM indicates we should expect a country code
  270. [   28.927051] ath: doing EEPROM country->regdmn map search
  271. [   28.932452] ath: country maps to regdmn code: 0x52
  272. [   28.937312] ath: Country alpha2 being used: CN
  273. [   28.941815] ath: Regpair used: 0x52
  274. [   28.945359] ath: regdomain 0x809c dynamically updated by user
  275. [   28.951242] ath: EEPROM regdomain: 0x809c
  276. [   28.955321] ath: EEPROM indicates we should expect a country code
  277. [   28.961493] ath: doing EEPROM country->regdmn map search
  278. [   28.966891] ath: country maps to regdmn code: 0x52
  279. [   28.971745] ath: Country alpha2 being used: CN
  280. [   28.976262] ath: Regpair used: 0x52
  281. [   28.979798] ath: regdomain 0x809c dynamically updated by user
  282. [   34.059549] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
  283. [   34.081227] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  284. [   34.116613] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
  285. [   34.293577] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
  286. [   34.416497] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
  287. [   34.639275] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  288. [   34.881757] br-lan: port 3(wlan0) entered blocking state
  289. [   34.887212] br-lan: port 3(wlan0) entered disabled state
  290. [   34.892912] device wlan0 entered promiscuous mode
  291. [   34.897795] br-lan: port 3(wlan0) entered blocking state
  292. [   34.903228] br-lan: port 3(wlan0) entered forwarding state
  293. [   35.436001] batman_adv: bat0: Adding interface: wlan1
  294. [   35.441258] batman_adv: bat0: The MTU of interface wlan1 is too small (1500) to handle the transport of batman-adv packets. If you experience problems getting traffic through try increasing the MTU to 1560.
  295. [   35.459991] batman_adv: bat0: Interface activated: wlan1
  296. [   35.764298] br-lan: port 4(wlan1-1) entered blocking state
  297. [   35.769909] br-lan: port 4(wlan1-1) entered disabled state
  298. [   35.775795] device wlan1-1 entered promiscuous mode
  299. [   36.629222] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
  300. [   36.984301] br-lan: port 4(wlan1-1) entered blocking state
  301. [   36.989900] br-lan: port 4(wlan1-1) entered forwarding state
复制代码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

膜拜高手  
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

期待新的方法
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

支持一下,nand可以用了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

大佬在群里吗?能否加大麦路由刷机交流群一下:214491970?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
又折腾好一种分区布局,使用原厂u-boot或者breed,kernel刷在16M NOR闪存上,rootfs刷在NAND闪存上,整个NAND闪存使用ubifs。与nbg6716移植固件比较,这种分区布局似乎对闪存空间使用率最好;不过nbg6716移植版有tftp recovery固件恢复功能。到底哪种分区布局更好呢?

  1. [    0.000000] Linux version 4.14.82 (jwd@d2680) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8661-32bc733796)) #0 Sun Dec 9 19:39:35 2018
  2. [    0.000000] bootconsole [early0] enabled
  3. [    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
  4. [    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
  5. [    0.000000] Determined physical RAM map:
  6. [    0.000000]  memory: 10000000 [url=home.php?mod=space&uid=162986]@[/url] 00000000 (usable)
  7. [    0.000000] Initrd not found or empty - disabling initrd
  8. [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  9. [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
  10. [    0.000000] Zone ranges:
  11. [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
  12. [    0.000000] Movable zone start for each node
  13. [    0.000000] Early memory node ranges
  14. [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
  15. [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
  16. [    0.000000] On node 0 totalpages: 65536
  17. [    0.000000] free_area_init_node: node 0, pgdat 805bea00, node_mem_map 81000020
  18. [    0.000000]   Normal zone: 512 pages used for memmap
  19. [    0.000000]   Normal zone: 0 pages reserved
  20. [    0.000000]   Normal zone: 65536 pages, LIFO batch:15
  21. [    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x484 with crng_init=0
  22. [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  23. [    0.000000] pcpu-alloc: [0] 0
  24. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
  25. [    0.000000] Kernel command line:  board=DW33D mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),64k(art),5120k(kernel),-(fr);ar934x-nfc:128m(ubi) console=ttyS0,115200 rootfstype=squashfs noinitrd
  26. [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
  27. [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  28. [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  29. [    0.000000] Writing ErrCtl register=00000000
  30. [    0.000000] Readback ErrCtl register=00000000
  31. [    0.000000] Memory: 253476K/262144K available (4251K kernel code, 264K rwdata, 996K rodata, 240K init, 215K bss, 8668K reserved, 0K cma-reserved)
  32. [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  33. [    0.000000] NR_IRQS: 51
  34. [    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
  35. [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
  36. [    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
  37. [    0.008292] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
  38. [    0.074993] pid_max: default: 32768 minimum: 301
  39. [    0.080069] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  40. [    0.087105] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  41. [    0.096432] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  42. [    0.106929] futex hash table entries: 256 (order: -1, 3072 bytes)
  43. [    0.113813] NET: Registered protocol family 16
  44. [    0.119604] MIPS: machine is DomyWifi DW33D
  45. [    0.124465] registering PCI controller with io_map_base unset
  46. [    0.130748] ar724x-pci ar724x-pci.1: PCIe link is down
  47. [    0.136214] registering PCI controller with io_map_base unset
  48. [    0.635079] PCI host bridge to bus 0000:00
  49. [    0.639442] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
  50. [    0.646793] pci_bus 0000:00: root bus resource [io  0x0000]
  51. [    0.652716] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
  52. [    0.659944] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
  53. [    0.668398] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
  54. [    0.668453] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
  55. [    0.668507] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
  56. [    0.668580] pci 0000:00:00.0: supports D1
  57. [    0.668589] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
  58. [    0.668771] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
  59. [    0.668794] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
  60. [    0.676617] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
  61. [    0.684409] PCI host bridge to bus 0000:01
  62. [    0.688789] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
  63. [    0.696101] pci_bus 0000:01: root bus resource [io  0x0001]
  64. [    0.702035] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
  65. [    0.709255] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
  66. [    0.717699] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
  67. [    0.718206] clocksource: Switched to clocksource MIPS
  68. [    0.760426] NET: Registered protocol family 2
  69. [    0.765741] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
  70. [    0.773218] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  71. [    0.780014] TCP: Hash tables configured (established 2048 bind 2048)
  72. [    0.786883] UDP hash table entries: 256 (order: 0, 4096 bytes)
  73. [    0.793140] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  74. [    0.800021] NET: Registered protocol family 1
  75. [    0.804686] PCI: CLS 0 bytes, default 32
  76. [    0.808715] Crashlog allocated RAM at address 0x3f00000
  77. [    0.815331] workingset: timestamp_bits=30 max_order=16 bucket_order=0
  78. [    0.826470] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  79. [    0.832711] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  80. [    0.851928] io scheduler noop registered
  81. [    0.856101] io scheduler deadline registered (default)
  82. [    0.861893] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  83. [    0.868990] console [ttyS0] disabled
  84. [    0.892871] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
  85. [    0.902058] console [ttyS0] enabled
  86. [    0.909483] bootconsole [early0] disabled
  87. [    0.920974] m25p80 spi0.0: found mx25l12805d, expected m25p80
  88. [    0.927329] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
  89. [    0.932518] 5 cmdlinepart partitions found on MTD device spi0.0
  90. [    0.938535] Creating 5 MTD partitions on "spi0.0":
  91. [    0.943405] 0x000000000000-0x000000040000 : "u-boot"
  92. [    0.949567] 0x000000040000-0x000000050000 : "u-boot-env"
  93. [    0.956572] 0x000000050000-0x000000060000 : "art"
  94. [    0.962466] 0x000000060000-0x000000560000 : "kernel"
  95. [    0.969181] 0x000000560000-0x000001000000 : "fr"
  96. [    0.975975] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
  97. [    0.982462] nand: AMD/Spansion NAND 128MiB 3,3V 8-bit
  98. [    0.987583] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
  99. [    0.995295] Scanning device for bad blocks
  100. [    1.003053] random: fast init done
  101. [    1.093747] 1 cmdlinepart partitions found on MTD device ar934x-nfc
  102. [    1.100122] Creating 1 MTD partitions on "ar934x-nfc":
  103. [    1.105344] 0x000000000000-0x000008000000 : "ubi"
  104. [    1.112263] libphy: Fixed MDIO Bus: probed
  105. [    1.123686] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
  106. [    1.818590] libphy: ag71xx_mdio: probed
  107. [    2.449617] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
  108. [    2.460862] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
  109. [    3.089753] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
  110. [    3.097488] NET: Registered protocol family 10
  111. [    3.105753] Segment Routing with IPv6
  112. [    3.109609] NET: Registered protocol family 17
  113. [    3.114411] 8021q: 802.1Q VLAN Support v1.8
  114. [    3.121869] UBI: auto-attach mtd5
  115. [    3.125260] ubi0: attaching mtd5
  116. [    4.818607] random: crng init done
  117. [    5.045179] ubi0: scanning is finished
  118. [    5.068462] ubi0: attached mtd5 (name "ubi", size 128 MiB)
  119. [    5.074030] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  120. [    5.081033] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
  121. [    5.087914] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
  122. [    5.094986] ubi0: good PEBs: 1024, bad PEBs: 0, corrupted PEBs: 0
  123. [    5.101171] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
  124. [    5.108503] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 129184386
  125. [    5.117676] ubi0: available PEBs: 0, total reserved PEBs: 1024, PEBs reserved for bad PEB handling: 20
  126. [    5.127160] ubi0: background thread "ubi_bgt0d" started, PID 321
  127. [    5.134614] block ubiblock0_0: created from ubi0:0(rootfs)
  128. [    5.140234] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
  129. [    5.154974] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
  130. [    5.163098] Freeing unused kernel memory: 240K
  131. [    5.167605] This architecture does not have kernel memory protection.
  132. [    5.704280] init: Console is alive
  133. [    5.707910] init: - watchdog -
  134. [    7.377793] kmodloader: loading kernel modules from /etc/modules-boot.d/*
  135. [    7.468411] usbcore: registered new interface driver usbfs
  136. [    7.474058] usbcore: registered new interface driver hub
  137. [    7.479553] usbcore: registered new device driver usb
  138. [    7.566919] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  139. [    7.582843] SCSI subsystem initialized
  140. [    7.590853] ehci-platform: EHCI generic platform driver
  141. [    7.596219] ehci-platform ehci-platform.0: EHCI Host Controller
  142. [    7.602294] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
  143. [    7.612574] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
  144. [    7.618704] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
  145. [    7.648245] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
  146. [    7.655406] hub 1-0:1.0: USB hub found
  147. [    7.659579] hub 1-0:1.0: 1 port detected
  148. [    7.663984] ehci-platform ehci-platform.1: EHCI Host Controller
  149. [    7.670061] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
  150. [    7.680358] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
  151. [    7.686462] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
  152. [    7.718253] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
  153. [    7.725471] hub 2-0:1.0: USB hub found
  154. [    7.729602] hub 2-0:1.0: 1 port detected
  155. [    7.737500] usbcore: registered new interface driver usb-storage
  156. [    7.744280] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
  157. [    7.762012] init: - preinit -
  158. [    8.094323] usb 1-1: new high-speed USB device number 2 using ehci-platform
  159. [    8.352818] usb-storage 1-1:1.0: USB Mass Storage device detected
  160. [    8.369240] scsi host0: usb-storage 1-1:1.0
  161. [    8.625023] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  162. [    9.399952] scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0903 PQ: 0 ANSI: 6
  163. [    9.639657] eth0: link up (1000Mbps/Full duplex)
  164. [    9.644486] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  165. [    9.983643] sd 0:0:0:0: [sda] 31127552 512-byte logical blocks: (15.9 GB/14.8 GiB)
  166. [    9.992630] sd 0:0:0:0: [sda] Write Protect is off
  167. [    9.997501] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00
  168. [    9.998759] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
  169. [   10.014619]  sda: sda1
  170. [   10.021632] sd 0:0:0:0: [sda] Attached SCSI removable disk
  171. [   11.874256] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 454
  172. [   12.023310] UBIFS (ubi0:1): recovery needed
  173. [   12.289847] UBIFS (ubi0:1): recovery completed
  174. [   12.294433] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
  175. [   12.302418] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  176. [   12.312489] UBIFS (ubi0:1): FS size: 121643008 bytes (116 MiB, 958 LEBs), journal size 6094848 bytes (5 MiB, 48 LEBs)
  177. [   12.323254] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
  178. [   12.329981] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 9B493B44-5CCC-4AD0-A2BC-D8CD55C6E1E7, small LPT model
  179. [   12.361196] mount_root: loading kmods from internal overlay
  180. [   12.400818] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
  181. [   12.440808] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
  182. [   12.750041] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
  183. [   12.763197] block: extroot: not configured
  184. [   12.770272] mount_root: switching to ubifs overlay
  185. [   12.818949] urandom-seed: Seeding with /etc/urandom.seed
  186. [   13.015431] eth0: link down
  187. [   13.029487] procd: - early -
  188. [   13.032496] procd: - watchdog -
  189. [   13.593141] F2FS-fs (sda1): Mounted with checkpoint version = 15c4bd67
  190. [   13.646799] procd: - watchdog -
  191. [   13.658533] procd: - ubus -
  192. [   13.766181] procd: - init -
  193. [   14.328095] kmodloader: loading kernel modules from /etc/modules.d/*
  194. [   14.362745] FS-Cache: Loaded
  195. [   14.376887] Initializing XFRM netlink socket
  196. [   14.383521] NET: Registered protocol family 15
  197. [   14.415812] ip6_tables: (C) 2000-2006 Netfilter Core Team
  198. [   14.433933] Loading modules backported from Linux version v4.19-rc5-0-g6bf4ca7fbc85
  199. [   14.441747] Backport generated by backports.git v4.19-rc5-1-0-g05571dcd
  200. [   14.451523] ip_tables: (C) 2000-2006 Netfilter Core Team
  201. [   14.469787] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
  202. [   14.528739] usbcore: registered new interface driver usblp
  203. [   14.551243] xt_time: kernel timezone is -0000
  204. [   14.833995] PPP generic driver version 2.4.2
  205. [   14.840733] NET: Registered protocol family 24
  206. [   14.868716] pci 0000:00:00.0: using irq 40 for pin 1
  207. [   14.874842] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
  208. [   14.880806] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
  209. [   15.163086] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
  210. [   15.173976] ath10k_pci 0000:00:00.0: Falling back to user helper
  211. [   15.246420] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
  212. [   15.258987] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
  213. [   15.269888] ath10k_pci 0000:00:00.0: Falling back to user helper
  214. [   15.406241] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
  215. [   15.420162] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
  216. [   15.429575] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
  217. [   15.442616] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00041 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 f43fa422
  218. [   15.533093] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
  219. [   15.543738] ath10k_pci 0000:00:00.0: Falling back to user helper
  220. [   15.622533] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
  221. [   15.653344] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
  222. [   16.765031] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
  223. [   16.899519] ath: EEPROM regdomain: 0x0
  224. [   16.899526] ath: EEPROM indicates default country code should be used
  225. [   16.899529] ath: doing EEPROM country->regdmn map search
  226. [   16.899541] ath: country maps to regdmn code: 0x3a
  227. [   16.899546] ath: Country alpha2 being used: US
  228. [   16.899549] ath: Regpair used: 0x3a
  229. [   17.014027] batman_adv: B.A.T.M.A.N. advanced openwrt-2018.4-0 (compatibility version 15) loaded
  230. [   17.043009] ath: EEPROM regdomain: 0x0
  231. [   17.043016] ath: EEPROM indicates default country code should be used
  232. [   17.043019] ath: doing EEPROM country->regdmn map search
  233. [   17.043032] ath: country maps to regdmn code: 0x3a
  234. [   17.043036] ath: Country alpha2 being used: US
  235. [   17.043039] ath: Regpair used: 0x3a
  236. [   17.060511] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
  237. [   17.062151] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
  238. [   17.078630] kmodloader: done loading kernel modules from /etc/modules.d/*
  239. [   25.802868] eth1: link up (1000Mbps/Full duplex)
  240. [   25.840772] br-lan: port 1(eth1.1) entered blocking state
  241. [   25.846254] br-lan: port 1(eth1.1) entered disabled state
  242. [   25.852055] device eth1.1 entered promiscuous mode
  243. [   25.856917] device eth1 entered promiscuous mode
  244. [   25.928356] br-lan: port 1(eth1.1) entered blocking state
  245. [   25.933843] br-lan: port 1(eth1.1) entered forwarding state
  246. [   25.939673] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
  247. [   26.025578] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  248. [   26.059377] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
  249. [   26.838688] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
  250. [   27.079719] eth0: link up (1000Mbps/Full duplex)
  251. [   27.084540] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  252. [   27.144055] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
  253. [   27.641374] 8021q: adding VLAN 0 to HW filter on device bat0
  254. [   27.669949] br-lan: port 2(bat0) entered blocking state
  255. [   27.675275] br-lan: port 2(bat0) entered disabled state
  256. [   27.680871] device bat0 entered promiscuous mode
  257. [   27.685687] br-lan: port 2(bat0) entered blocking state
  258. [   27.691030] br-lan: port 2(bat0) entered forwarding state
  259. [   27.806652] batman_adv: bat0: fragmentation: Changing from: enabled to: disabled
  260. [   28.148351] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
  261. [   28.156572] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
  262. [   28.706168] ath: EEPROM regdomain: 0x809c
  263. [   28.710280] ath: EEPROM indicates we should expect a country code
  264. [   28.716457] ath: doing EEPROM country->regdmn map search
  265. [   28.721865] ath: country maps to regdmn code: 0x52
  266. [   28.726720] ath: Country alpha2 being used: CN
  267. [   28.731237] ath: Regpair used: 0x52
  268. [   28.734772] ath: regdomain 0x809c dynamically updated by user
  269. [   28.740675] ath: EEPROM regdomain: 0x809c
  270. [   28.744739] ath: EEPROM indicates we should expect a country code
  271. [   28.750935] ath: doing EEPROM country->regdmn map search
  272. [   28.756321] ath: country maps to regdmn code: 0x52
  273. [   28.761194] ath: Country alpha2 being used: CN
  274. [   28.765692] ath: Regpair used: 0x52
  275. [   28.769236] ath: regdomain 0x809c dynamically updated by user
  276. [   32.163065] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
  277. [   34.021293] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
  278. [   34.041625] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  279. [   34.074095] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
  280. [   34.207940] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
  281. [   34.503943] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  282. [   34.650006] br-lan: port 3(wlan0) entered blocking state
  283. [   34.655426] br-lan: port 3(wlan0) entered disabled state
  284. [   34.661152] device wlan0 entered promiscuous mode
  285. [   34.666045] br-lan: port 3(wlan0) entered blocking state
  286. [   34.671497] br-lan: port 3(wlan0) entered forwarding state
  287. [   35.410428] batman_adv: bat0: Adding interface: wlan1
  288. [   35.415579] batman_adv: bat0: The MTU of interface wlan1 is too small (1500) to handle the transport of batman-adv packets. If you experience problems getting traffic through try increasing the MTU to 1560.
  289. [   35.434247] batman_adv: bat0: Interface activated: wlan1
  290. [   35.482256] br-lan: port 4(wlan1-1) entered blocking state
  291. [   35.487850] br-lan: port 4(wlan1-1) entered disabled state
  292. [   35.493768] device wlan1-1 entered promiscuous mode
  293. [   36.106661] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
  294. [   36.316571] br-lan: port 4(wlan1-1) entered blocking state
  295. [   36.322187] br-lan: port 4(wlan1-1) entered forwarding state
复制代码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

老哥请教一下 Kernel command line: board=DW33D mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),64k(art),5120k(kernel),-(fr);ar934x-nfc:128m(ubi) console=ttyS0,115200 rootfstype=squashfs noinitrd 1.其  详情 回复 发表于 2019-1-24 11:29
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 phoniex 于 2019-1-24 11:34 编辑
shanpo 发表于 2018-12-10 21:03
又折腾好一种分区布局,使用原厂u-boot或者breed,kernel刷在16M NOR闪存上,rootfs刷在NAND闪存上,整个NA ...

老哥请教一下
Kernel command line:  board=DW33D mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),64k(art),5120k(kernel),-(fr);ar934x-nfc:128m(ubi) console=ttyS0,115200 rootfstype=squashfs noinitrd

1.其它都是指分区大小。上述的这个-(fr)啥意思?
2.求教一下openwrt下编译上述的Uboot以及kernel.binrootfs.bin,该如何编译?我想用上述这分区,毕竟BACKUP分区对我来说没啥用。
3.这个还是一样bootcmd 'bootm 0x9fe80000吗?能解释一下这个0x9fe80000是如何计算出来的吗?  另外最新分区哪个bootcmd 'nboot 0x8050000 0;bootm'这个0x8050000是如何计算出来的?
我只知道这个是引导地址,但是不知道如何计算的,貌似是从基址开始计算?

如何方便的话请私信我你的QQ加一下。

点评

1.-(fr)表示剩余空间全部给fr。 2.dw33d的uboot没有源码,所以也编译不了;kernel和rootfs编译一般不需要用户介入配置,我们只需要关注kernel/rootfs打包格式,op有一系列脚本处理镜像文件的生成,不同的分区布局、  详情 回复 发表于 2019-1-24 15:33
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
phoniex 发表于 2019-1-24 11:29
老哥请教一下
Kernel command line:  board=DW33D mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),64k(a ...

1.-(fr)表示剩余空间全部给fr。
2.dw33d的uboot没有源码,所以也编译不了;kernel和rootfs编译一般不需要用户介入配置,我们只需要关注kernel/rootfs打包格式,op有一系列脚本处理镜像文件的生成,不同的分区布局、闪存类型、文件系统、写入方法都是在配置中需要考虑的,实际上我也没完全搞懂。建议你阅读下代码树image目录下的各个mk文件,寻找相似布局的配置进行参考。
3.dw33d访问nor闪存的起始地址是0x9f000000,在log中可以看到整个nor闪存地址范围是0x0-0x1000000,对应的内存地址范围是0x9f000000-0x9f100000。本例中,内核分区起始地址是0x60000,对应内存地址是0x9f060000。
与nor启动不同,nand启动需要用nboot指令,‘nboot 0x8050000 0;bootm’的含义是从设备号0(对应nand设备)读数据(内核)存放到地址为0x8050000的内存中,再从0x8050000处运行;所以0x8050000可以改变,比如0x80a0000,也没问题。地址使用由cpu体系结构决定,我也不是很明白,遵守就行了。

我不用QQ,可以在坛子里交流。

点评

1.我想问的是为啥我OPENWRT生成时按照你最新的布局,Uboot-envtools 中也加入了 domywifi dw33d support,只生成了固件,但是还是没有生成kernel与rootfs的BIN文件呢?需要使用什么命令生成吗? 2.原厂固件分区 de  详情 回复 发表于 2019-1-24 17:24
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 phoniex 于 2019-1-24 17:30 编辑
shanpo 发表于 2019-1-24 15:33
1.-(fr)表示剩余空间全部给fr。
2.dw33d的uboot没有源码,所以也编译不了;kernel和rootfs编译一般不需 ...

1.我想问的是为啥我OPENWRT生成时按照你最新的布局,Uboot-envtools 中也加入了 domywifi dw33d support,只生成了固件,但是还是没有生成kernel与rootfs的BIN文件呢?需要使用什么命令生成吗?
2.原厂固件分区
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00e30000 00010000 "rootfs"
mtd3: 00170000 00010000 "kernel"
mtd4: 00010000 00010000 "art"
mtd5: 00f90000 00010000 "firmware"
mtd6: 06000000 00020000 "rootfs_data"
mtd7: 02000000 00020000 "backup"
kenel起始内核地址是0xE80000,所以对应内存地址就是0x9fe80000。
从TTL中可以获得如下参数
boot_params = 0x8FF6BFB0
memstart    = 0x80000000
memsize     = 0x10000000
flashstart  = 0x9F000000
flashsize   = 0x01000000
flashoffset = 0x0002E194
上面可以查看到NOR闪存起始地址flashstart  = 0x9F000000
NAND内存起始地址如何查看呢?没有查看到相应的信息。
从你的最新布局分区表来看
0x000000000000-0x000000200000 : "kernel"
0x000000200000-0x000006000000 : "ubi"
0x000006000000-0x000008000000 : "backup"
我现在假定NAND闪存起始地址为0x8000000(因为我查不到),哪我可不可以设置为
‘nboot 0x8000000-0x8200000 0;bootm’ 这个范围启动呢?
3.因为看到你上面哪个例子不用分区backup,所以把你的最新布局改了一下参数,
MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),14528k(rf),1472k(kl),64k(art)ro,15936k@0x50000(fw);ar934x-nfc:2048k(kernel),94m(ubi),32m(backup)ro
改为
MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),14528k(rf),1472k(kl),64k(art)ro,15936k@0x50000(fw);ar934x-nfc:2048k(kernel),126m(ubi)
刷入路由器后无法运行。启动参数也是‘nboot 0x8050000 0;bootm’,我觉得哪个BACKUP分区是多余的想减掉他,但是失败了。有办法解决吗?
谢谢解答。

点评

为啥要单独打包kernel/rootfs?固件包含这两部分。 注意factory/sysupgrade这两种固件的区别,factory固件可以写入裸设备,一般从原厂系统更新需要用到,或者要改变分区布局时也需通过将factory固件直接写入设备  详情 回复 发表于 2019-1-24 18:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 shanpo 于 2019-1-24 18:44 编辑
phoniex 发表于 2019-1-24 17:24
1.我想问的是为啥我OPENWRT生成时按照你最新的布局,Uboot-envtools 中也加入了 domywifi dw33d support ...

为啥要单独打包kernel/rootfs?固件包含这两部分。

注意factory/sysupgrade这两种固件的区别,factory固件可以写入裸设备,一般从原厂系统更新需要用到,或者要改变分区布局时也需通过将factory固件直接写入设备的方法更新。

nand只能通过专用接口访问,不能像nor闪存一样直接地址访问,对dw33d来说,只能通过设备号加偏移量将数据读入内存。具体可以搜索nboot命令用法。

点评

1.如图看我用OPENWRT生成时就没有kernel/rootfs 为BIN的。因为我看到你发布的最新布局中你提供了解锁固件。所以想问一下如何生成的。[attachimg]267127[/attachimg] 2.我就是用factory刷进去的,无法启动。  详情 回复 发表于 2019-1-24 19:54
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 phoniex 于 2019-1-24 20:01 编辑
shanpo 发表于 2019-1-24 18:38
为啥要单独打包kernel/rootfs?固件包含这两部分。

注意factory/sysupgrade这两种固件的区别,factory ...

1.我知道固件包含KERNEL与ROOTFS。如图看我用OPENWRT生成时就没有kernel/rootfs 为BIN的。因为我看到你发布的最新布局中你提供了解锁固件为后缀为BIN的kernel与rootfs两个文件。所以想问一下如何生成的。2.我就是用factory刷进去的,无法启动。(仅把UBI改成126M)




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

明白了,你删掉backup分区生成的factory固件确实不能在openwrt下直接写入,因为op下Nand上第一个分区只有2M,只有在原厂固件下写才行。 我第一次发布的ubi固件分别写入到nor和nand,从原厂固件更新是需要分别将ke  详情 回复 发表于 2019-1-24 22:47
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-2 14:54

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表