Closed imhansai closed 5 years ago
可能还是 kernel 配的不对🤣
可能还是 kernel 配的不对🤣
似乎在合并lede主分支代码时将mi3的适配删掉了部分 mi3适配相关提交:https://github.com/coolsnowwolf/lede/commit/42d3498f558e64f73e50609df5d72197acc90119 https://github.com/coolsnowwolf/lede/commit/ec8d2878e4e344065d24947f4eb209fb923cf431
@LiuJiangshan 大兄弟,折腾了下,现在能创建分区了,但是ubi貌似挂了,所以还是不能正常使用🤣
Please choose the operation:
1: Load system ??????SDRAM via TFTP.
2: Load system code then write to Flash via ???Ю??? 3: Boot system code via Flash (default).
4: Entr boot comma?????? interface.
9: Load Boot Loader code then write to Flash via T??Ю 2 ??? 0
3: Sys???????? system code via Flash.
Boot failure detect??????th systems
Verifying kernel1 uImage CRC, addr: 0xbc200000
Image Name: MIPS OpenWrt Linux-4.14.136
Image????庠? MIPS Linux Kernel Image (lzma compressed)
Data Size: 6379????????s = 6.1 MB
Load Address: 80000000
Entry Point: 80000000
???............?..?..?...........?..?..?..............?..?..............?..?..............?........ Verifying Checksum ... ???Data CRC
Verifying kernel2 uImage CRC, addr: 0xbc600000
Image Name: MIPS OpenWrt Linux-4.???????? Image Type: MIPS Linux Kernel Image (lzma compressed)
Da?????? 6379130 Bytes = 6.1 MB
Load Address: 80000000
Entry ????????80000000
............?..?..?...........?..?..?...........?..?...........?..?..?...........?..?...........?. Verifying Checksum ... OK
Booting System 2
?.ranand_erase_write: offs:40000, count:20000
.Done!
done
## Booting image at bc600000 ...
Image Name: MIPS ????????Linux-4.14.136
Image Type: MIPS Linux Kernel Image (lzma co????????)
Data Size: 6379130 Bytes = 6.1 MB
Load Address: 800???????? Entry Point: 80000000
..........?....?................?....??...............??...??...............?....?................ Verifying Checksum ... OK
Uncompressing Ker???????e ... OK
commandline uart_en=1 factory_mode=0 mem=128m
No initrd
#????????erring control to Linux (at address 80000000) ...
## Giving linux???????e in MB, 128
Starting kernel ...
[ 0.000000] Linux version 4.14.136 (hansai@ha????????cBook-Air) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r1433-7f39235e))???????Aug 6 13:10:35 2019
[ 0.000000] Board has DDR2
[ 0.000000ݠ?????? PMU set to hw control
[ 0.000000] Digital PMU set to hw contr?썊۠? 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000]????????sole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 ????Ӡ??KEc)
[ 0.000000] MIPS: machine is???????Mi Router R3
[ 0.000000] Determined???????al RAM map:
?[ 0.000000] Initrd not found or empty????????ling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT,????????linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way,????Ԭ?no aliases, linesize 32 bytes
[ 0.000000] Zone r????[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007fff???ݍ?۠ 0.000000] Movable zone start for each node
[ 0.000000] Ear????????y node ranges
[ 0.000000] node 0: [mem 0x0000000000000000????????00007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x000000000???????-0x0000000007ffffff]
[ 0.000000] random: get_ra????????es called from start_kernel+0x90/0x478 with crng_init=0
[ 0.000000] Built 1 z????????, mobility grouping on. Total pages: 32512
[ 0.000000] Kerne???????d line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order????????48 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (orde????536 bytes)
[ 0.000000] In???????e hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00037d90
[ ????????0] Readback ErrCtl register=00037d90
[ 0.0?????ݠ?emory: 118724K/131072K available (4081K kernel code, 178K rwdata,????ˠ??data, 5680K init, 213K bss, 12348K reserved, 0K cma-reserved)
۠?????000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=???[ 0.0?????ݠ?R_IRQS: 256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocks????庠?ystick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns??۠???0.000000] systick: enable autosleep mode
[ 0.000000] systick: ???????- mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xfffff???????cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000011] sch???????k: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007589] Calibrating d????????p... 385.84 BogoMIPS (lpj=1929216)
[ 0.073539] pid_max: defau????????8 minimum: 301
[ 0.078255] Mount-cache hash table entries: 1024 ??????0, 4096 bytes)
[ 0.084632] Mountpoint-cache hash table entrie????(order: 0, 4096 bytes)
[ 0.097840] clocksource: jiffies: mask: 0xffffffff max_cycl???fffffff, max_idle_ns: 19112604462750000 ns
[ 0.107391] futex h???????e entries: 256 (order: -1, 3072 bytes)
[ ???????67] pinctrl core: initialized pinctrl subsystem
[ ????????965] NET: Registered protocol family 16
[ 0.385907] PCI host bridge /pcie@10140000 ranges:
[ 0.390???ݠ???M 0x0000000020000000..0x000000002fffffff
[ 0.395573] IO 0x0????????0160000..0x000000001016ffff
[ 0.418205] rt2880_gpio 10000600.gpio????????ering 24 gpios
[ 0.423669] rt2880_gpio 10000600.gpio: re???????ng 24 irq handlers
[ 0.430005] rt2880_gpio 10000638.gpio: registering 16 ?????[ 0.435431] rt2880_gpio ????????.gpio: registering 16 irq handlers
[ 0.442233] PCI host bridge?????? 0000:00
[ 0.446208] pci_bus 0000:00: root b???????rce [mem 0x20000000-0x2fffffff]
[ 0.452824] pci_bus 0000:00: ???????? resource [io 0xffffffff]
[ 0.458588] pci_bus 0000:00: root b??????urce [??? 0x00000000 flags 0x0]
[ 0.465165] pci_bus 0000:00: N??????esource found for root bus, will use [bus 00-ff]
[ 0.473???ݠ??? 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconf???????
[ 0.481773] p?頰????00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 0.488190]???頰?00:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 0.??????ݠpci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[ ????????508] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff?????ݍ?[ 0.508507] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0???????ff]
[ 0.515125] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000????????0fffff 64bit]
[ 0.522212] pci 0000:01:00.0: BAR 6: assigned [????????100000-0x2010ffff pref]
[ 0.529231] pci 0000:00:00.0: PCI bri??????bus 01]
[ 0.534035] pci 0000:00:00.0: bridge window [mem 0x2???????-0x200fffff]
[ 0.540642] pci 0000:00:00.0: bridge window [me????????0000-0x201fffff pref]
? 0.551852] clocksource: Switched to clocksource systick
?[ ????????98] TCP established hash table entries: 1024 (order: 0, 4096 byte۠?? 0.570024] TCP bind hash table entries: 1024 (order: 0, 4096 bytes???[ 0???????] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.582528] UDP ??????ble entries: 256 (order: 0, 4096 bytes)
[ 0.588159] UDP-Lite h???????e entries: 256 (order: 0, 4096 bytes)
[ ????????29] NET: Registered protocol family 1
[ 2.601857] random: fast init done
[ 6.858559] rt-timer 10000100.time?????mum frequency is 1220Hz
[ 6.8652??ݠ????hlog allocated RAM at address 0x3f00000
[ 6.872115] workingset: timestamp_bits=30 max_order=???????et_order=0
[ 6.8840??ݠ????shfs: version 4.0 (2009/01/31) Phillip Lougher
[ 6.889641] jff???sion 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001????????d Hat, Inc.
? 7.324368] io scheduler noop registered
[ 7.328116] io sch???????eadline registered (default)
[ 7.334024] Serial: 8???????50 driver, 2 ports, IRQ sharing disabled
[ 7.341189] console [ttyS0] disabled
[ 7.344706] 10000c00.uartlite: ttyS0 at MMIO 0x10000c??????? = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 7.354317] console [ttyS0] enabled
[ 7.354317] console [ttyS0] enabled
[ 7.361368] bootconsole [early0] disabled
[ 7.361368] bootconsole [early0] disabled
[ 7.370120] cacheinfo: Failed to find cpu0 device node
[ 7.375403] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 7.382275] !!! nand page size = 2048, addr len=4
[ 7.390195] mtk_nand_probe: alloc 13b0, at 87df4000 , btt(87df50c0, 100), ranfc_mtd:87df51c0
[ 7.398966] 10 fixed-partitions partitions found on MTD device ra_nfc
[ 7.405550] Creating 10 MTD partitions on "ra_nfc":
[ 7.410539] 0x000000000000-0x000000040000 : "Bootloader"
[ 7.416940] 0x000000040000-0x000000080000 : "Config"
[ 7.422979] 0x000000080000-0x0000000c0000 : "Bdata"
[ 7.428820] 0x0000000c0000-0x000000100000 : "Factory"
[ 7.434939] 0x000000100000-0x000000140000 : "crash"
[ 7.440761] 0x000000140000-0x000000180000 : "crash_syslog"
[ 7.447376] 0x000000180000-0x000000200000 : "reserved0"
[ 7.453711] 0x000000200000-0x000000600000 : "kernel0_rsvd"
[ 7.460954] 0x000000600000-0x000000a00000 : "kernel"
[ 7.467755] 0x000000a00000-0x000008000000 : "ubi"
[ 7.499042] libphy: Fixed MDIO Bus: probed
[ 7.517086] gsw: setting port4 to ephy mode
[ 7.521406] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex)
[ 7.530726] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 1 link up (100Mbps/Full duplex)
[ 7.540555] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 7.547304] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 7.556302] rt2880_wdt 10000120.watchdog: Initialized
[ 7.562807] NET: Registered protocol family 10
[ 7.571018] Segment Routing with IPv6
[ 7.574964] NET: Registered protocol family 17
[ 7.579560] 8021q: 802.1Q VLAN Support v1.8
[ 7.587338] UBI error: no valid UBI magic found inside mtd9
[ 7.625915] Freeing unused kernel memory: 5680K
[ 7.630550] This architecture does not have kernel memory protection.
[ 7.651791] init: Console is alive
[ 7.655704] init: - watchdog -
[ 7.711993] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 7.790343] usbcore: registered new interface driver usbfs
[ 7.796118] usbcore: registered new interface driver hub
[ 7.801649] usbcore: registered new device driver usb
[ 7.812906] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.821513] ehci-platform: EHCI generic platform driver
[ 7.837242] phy phy-usbphy.0: remote usb device wakeup disabled
[ 7.843305] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 7.847856] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 7.853767] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 7.861989] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 7.876537] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 7.883961] hub 1-0:1.0: USB hub found
[ 7.888296] hub 1-0:1.0: 1 port detected
[ 7.895968] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 7.904007] ohci-platform: OHCI generic platform driver
[ 7.909692] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 7.916692] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 7.924883] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 7.958461] hub 2-0:1.0: USB hub found
[ 7.962801] hub 2-0:1.0: 1 port detected
[ 7.971451] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 7.983033] init: - preinit -
[ 8.190076] 8021q: adding VLAN 0 to HW filter on device eth0
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 9.347386] procd: - early -
[ 9.350442] procd: - watchdog -
[ 9.890192] procd: - watchdog -
[ 9.893711] procd: - ubus -
[ 9.904224] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.924176] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.931196] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.938833] procd: - init -
Please press Enter to activate this console.
[ 10.208805] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.234559] gre: GRE over IPv4 demultiplexor driver
[ 10.253449] ip_gre: GRE over IPv4 tunneling driver
[ 10.265133] Netfilter messages via NETLINK v0.30.
[ 10.281725] ip_set: protocol 6
[ 10.425436] u32 classifier
[ 10.428208] input device check on
[ 10.432009] Actions configured
[ 10.447188] Mirror/redirect action on
[ 10.484561] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 10.537986] Loading modules backported from Linux version v4.19.32-0-g3a2156c839c7
[ 10.545798] Backport generated by backports.git v4.19.32-1-0-g1c4f7569
[ 10.581538] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.760060] ctnetlink v0.93: registering with nfnetlink.
[ 11.036403] usbcore: registered new interface driver usblp
[ 11.089851] xt_time: kernel timezone is -0000
[ 11.190065] mt76x2e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[ 11.196665] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 11.422872] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[ 11.434046] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 11.439656] mt76x2e 0000:01:00.0: Build: 1
[ 11.443884] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[ 11.459142] mt76x2e 0000:01:00.0: Firmware running!
[ 11.498074] PPP generic driver version 2.4.2
[ 11.514798] PPP MPPE Compression module registered
[ 11.530573] NET: Registered protocol family 24
[ 11.611576] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "Factory"
[ 11.618968] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 11.626958] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 11.687513] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 11.928274] urandom_read: 5 callbacks suppressed
[ 11.928284] random: jshn: uninitialized urandom read (4 bytes read)
[ 12.118850] random: jshn: uninitialized urandom read (4 bytes read)
[ 18.786203] xt_FULLCONENAT: RFC3489 Full Cone NAT module
[ 18.786203] xt_FULLCONENAT: Copyright (C) 2018 Chion Tang <tech@chionlab.moe>
[ 27.952218] 8021q: adding VLAN 0 to HW filter on device eth0
[ 27.970526] device eth0 entered promiscuous mode
[ 27.976545] br-lan: port 1(eth0.1) entered blocking state
[ 27.982297] br-lan: port 1(eth0.1) entered disabled state
[ 27.988169] device eth0.1 entered promiscuous mode
[ 28.040522] br-lan: port 1(eth0.1) entered blocking state
[ 28.046049] br-lan: port 1(eth0.1) entered forwarding state
[ 28.051982] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 28.969609] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 32.171661] ieee80211 phy1: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration start
[ 32.180383] ieee80211 phy1: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration end
[ 36.167574] ieee80211 phy1: rt2800_loft_iq_calibration: Info - LOFT Calibration Done!
[ 36.179468] ieee80211 phy1: rt2800_iq_search: Info - IQCalibration Start!
[ 36.200785] ieee80211 phy1: rt2800_iq_search: Info - IQCalibration Done! CH = 0, (gain= 0, phase=3e)
[ 36.211028] ieee80211 phy1: rt2800_iq_search: Info - IQCalibration Start!
[ 36.231888] ieee80211 phy1: rt2800_iq_search: Info - IQCalibration Done! CH = 1, (gain= 0, phase=3a)
[ 36.241249] ieee80211 phy1: rt2800_loft_iq_calibration: Info - TX IQ Calibration Done!
[ 36.439610] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ G_imb=2, Ph_rx=-4
[ 36.457602] ieee80211 phy1: rt2800_rxiq_calibration: Info - RXIQ G_imb=0, Ph_rx=-3
[ 36.516687] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 36.593358] br-lan: port 2(wlan1) entered blocking state
[ 36.598894] br-lan: port 2(wlan1) entered disabled state
[ 36.604748] device wlan1 entered promiscuous mode
[ 37.091625] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 37.141383] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 37.148065] br-lan: port 2(wlan1) entered blocking state
[ 37.153566] br-lan: port 2(wlan1) entered forwarding state
[ 37.164080] br-lan: port 3(wlan0) entered blocking state
[ 37.169745] br-lan: port 3(wlan0) entered disabled state
[ 37.175529] device wlan0 entered promiscuous mode
[ 37.180522] br-lan: port 3(wlan0) entered blocking state
[ 37.185948] br-lan: port 3(wlan0) entered forwarding state
[ 37.539337] br-lan: port 3(wlan0) entered disabled state
[ 38.009154] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 38.015867] br-lan: port 3(wlan0) entered blocking state
[ 38.021376] br-lan: port 3(wlan0) entered forwarding state
其中 UBI error: no valid UBI magic found inside mtd9 这个应该是提示信息
@LiuJiangshan 老哥,解决了,应该是缺了个补丁,还有kernel配置下应该就可以了,我那个错看了openwrt 一个设备的wiki说是坏块的什么问题,反正后来格式化之后重新attach就好了😆可以愉快的玩耍了
@hanandjun 能把修改的代码提个push request吗?
@LiuJiangshan 大兄弟,待会儿我编译一个发给你,你刷一下试试,先不提pl了,我改动的地方还不是很明白什么意思,就不污染代码了
小米3g出现了同样的问题,说真的挺着急的。
小米3g出现了同样的问题,说真的挺着急的。
看我fork的仓库,里面第一条提交
刷入启动后的日志:
Byte?????sferred = 6240445 (5f38bd hex) ??????tFileXferSize= 005f38bd Writing ?????to 0x200000 ranand_erase_write: offs:200000, cou?????8bd ....???.....?................................?...Done! Writing ?????to 0x600000 ranand_erase_write: offs:600000, cou?????8bd ....?.....???.....................?..............Done!
Booting image at bc200000 ...
? Image Name: MIPS OpenWrt Linux-4.14.134 Im????ype: MIPS Linux Kernel Image (lzma compressed) ?????ta Size: 6240381 Bytes = 6 MB Load Addres??00000 Entry Point: 80000000 ...?.................?......?.......?................??.....??......?.........?.......?......?..???Verifying Checksum ... Bad Da?????
U-Boot 1.1.3 (Apr 15 2016 - 17:46:32)
Boar亠???ink APSoC DRAM: 128 MB Power on memory test. Me??????ize= 128 MB...OK! relocate_code Pointer at: 87fb8000 enable ephy clock...done. rf re砲??= 5 SSC disabled. **?????tware System Reset Occurred *****?????**** !!! nand page size = 2048, addr len=4 ..???========================================= Ralin?????t Version: 4.2.S.1 -----------------------------??????--------- ASIC 7620_MP (Port5<->None) DRAM_CON??????: Auto-detection DRAM_TYPE: DDR2 DRAM compone??????24 Mbits DRAM bus: 16 bit Total memory: 128 MBy???Flash component: NAND Flash Date:Apr 15 2016 Tim庱??46:32 ===========================================?????cache: sets:512, ways:4, linesz:32 ,total:65536 d?????: sets:256, ways:4, linesz:32 ,total:32768
?????he CPU freq = 580 MHZ
estimate memory size????? Mbytes
Please?????se the operation: 1: Load system code to SDRA͠??? TFTP. 2: Load system code then write to Flas???? TFTP. 3: Boot system code via Flash (default????? 4: Entr boot command line interface. 9: Load????? Loader code then write to Flash via TFTP. 4 1 ??????
3: System Boot system code via Flash. Boot failure detected on both systems Ver?????? kernel1 uImage CRC, addr: 0xbc200000 Image Name: MIPS OpenWrt Linux-4??????4 Image Type: MIPS Linux Kernel Image (lzma??????essed) Data Size: 6240381 Bytes = 6 MB ?????? Address: 80000000 Entry Point: 80000000 .......................?..?..?..?..............................?..?..?.......................... Verifying ?????sum ... Bad Data CRC Verifyi?????nel2 uImage CRC, addr: 0xbc600000 ?????age Name: MIPS OpenWrt Linux-4.14.134 Image????? MIPS Linux Kernel Image (lzma compressed) ?????ize: 6240381 Bytes = 6 MB Load Address: 8??????0 Entry Point: 80000000 ..................?..??..?..?.............................??..?..?.............................? V?????ing Checksum ... OK Booting System 2 ..ranand_er??????ite: offs:40000, count:20000 ????? done
Booting image at bc600000 ...
Image Name: M??Ӡ?penWrt Linux-4.14.134 Image Type: MIPS Linux?????el Image (lzma compressed) Data Size: 62403?????tes = 6 MB Load Address: 80000000 Entry ?????? 80000000 .?................?......??......?................?......?................?.......?......?...... Verifying Checksum ... OK commandline uart_en=1 factory_mod彰???m=128m No initrd
Transferring control to Lin?????? address 80000000) ...
Giving linux memsize i??¬?128
Starting kernel ...
[ 0.00000?ݠ???ux version 4.14.134 (hansai@hansaideMacBook-Air) ?????ersion 7.4.0 (OpenWrt GCC 7.4.0 r1433-7f39235e)) ?????? Aug 5 10:53:26 2019 [ 0.000000] Board has DDҲ??۠ 0.000000] Analog PMU set to hw control [ 0??????0] Digital PMU set to hw control [ 0.000000] ??à??pe: MediaTek MT7620A ver:2 eco:6 [ 0.000000] ??????nsole [early0] enabled [ 0.000000] CPU0 revis?????: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine ????aomi Mi Router R3 [ 0.000000] Deter????? physical RAM map: [ 0.000000] memory: 08000??????00000000 (usable) ۠?? 0.000000] Initrd not found or empty - disabling ?????? [ 0.000000] Primary instruction cache 64kB, ???Ԭ?4-way, linesize 32 bytes. [ 0.000000] Primary?????cache 32kB, 4-way, PIPT, no aliases, linesize 32 ????? [ 0.000000] Zone ranges: [ 0.000000] Nor??젠 [mem 0x0000000000000000-0x0000000007ffffff] [ ?????0000] Movable zone start for each node [ 0.000???ݠEarly memory node ranges [ 0.000000] node ?????em 0x0000000000000000-0x0000000007ffffff] [ 0.?????0] Initmem setup node 0 [mem 0x0000000000000000-0x?????00007ffffff] [ 0.000000] random: getrandom?????called from start_kernel+0x90/0x478 with crng_ini?????[ 0.000000] Built 1 zonelis???obility grouping on. Total pages: 32512 [ 0.0?????] Kernel command line: console=ttyS0,115200 rootfs????squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order????? 2048 bytes) [ 0.000000] Dentry cache has?????e entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash ta?????tries: 8192 (order: 3, 32768 bytes) [ 0.000000] ??????g ErrCtl register=00067000 [ 0.000000] Readba?????Ctl register=00067000 [ 0.000000] Memory: 120140K/?????2K available (3746K kernel code, 174K rwdata, 868K?????ta, 4676K init, 207K bss, 10932K reserved, 0K cma-?????ved) [ 0.000000] SLUB: HWalign=??????der=0-3, MinObjects=0, CPUs=1, Nodes=1 [ ??????00] NR_IRQS: 256 [ ?????000] CPU Clock: 580MHz [ ??????000] clocksource: systick: mask: 0xffff max_cycle??fff, max_idle_ns: 583261500 ns [ 0.000000] sy????? enable autosleep mode [ 0.000000] systick: r?????? - mult: 214748, shift: 32 [ 0.000000] clocksource: MIPS: mask: 0??????fff max_cycles: 0xffffffff, max_idle_ns: 65905532????? [ 0.000009] sched_clock: 32 bits at 290MHz, r??????ion 3ns, wraps every 7405115902ns [ 0.007591] Calibrating?????? loop... 385.84 BogoMIPS (lpj=1929216) [ 0.07????ݠpid_max: default: 32768 minimum: 301 ? 0.078257] Mount-cache hash table entries: 1024?????er: 0, 4096 bytes) [ 0.084639] Mountpoint-cac?????h table entries: 1024 (order: 0, 4096 bytes) [ 0.097821] clocksourc庠??ffies: mask: 0xffffffff max_cycles: 0xffffffff, ma?????e_ns: 19112604462750000 ns [ 0.107374] futex h????able entries: 256 (order: -1, 3072 bytes) [ ?????113347] pinctrl core: initialized pinctrl subsyste퍊[ 0.118946]???Ժ?Registered protocol family 16 [ 0.607722] PCI????? bridge /pcie@10140000 ranges: [ 0.612342] ME͠???000000020000000..0x000000002fffffff [ 0.617389ݠ???O 0x0000000010160000..0x000000001016ffff ۠????.639986] rt2880_gpio 10000600.gpio: registering 2??????s [ 0.6454??ݠ??2880_gpio 10000600.gpio: registering 24 irq handl???[ 0??????1] rt2880gpio 10000638.gpio: registering 16 gpio?[ 0.657196] rt2880???0000638.gpio: registering 16 irq handlers [ ??????998] PCI host bridge to bus 0000:00 [ 0.66797?ݠ???_bus 0000:00: root bus resource [mem 0x20000000-0??????fff] [ 0.674589] pci_bus 0000:00: root bus re?????? [io 0xffffffff] [ 0.680350] pci_bus 0000:00?????t bus resource [??? 0x00000000 flags 0x0] [ 0.?????1] pci_bus 0000:00: No busn resource found for roo?????, will use [bus 00-ff] [ 0.69????ݠpci 0000:00:00.0: bridge configuration invalid ([??-00]), reconfiguring [ ??????03538] pci 0000:00:00.0: BAR 0: no space for [mem?????0x80000000] [ 0.709958] pci 0000:00:00.0: BAR??????iled to assign [mem size 0x80000000] [ 0.7166??ݠ??i 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0?????ffff] [ 0.723277] pci 0000:00:00.0: BAR 9: ass????? [mem 0x20100000-0x201fffff pref] [ 0.730273] ??頰000:00:00.0: BAR 1: assigned [mem 0x20200000-0x202?????] [ 0.736893] pci 0000:01:00.0: BAR 0: assigne????m 0x20000000-0x200fffff 64bit] [ 0.743983] pci?????:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010f?????ef] [ 0.751001] pci 0000:00:00.0: PCI bridge ?????s 01] [ 0.755803] pci 0000:00:00.0: bridge ?????? [mem 0x20000000-0x200fffff] [ 0.762410] pci ??????0:00.0: bridge window [mem 0x20100000-0x201ffff?????] [ 0.773689] clocksource: Switched to??????source systick [ 0.779996] NET: Registered p??????l family 2 [ 0.7?????] TCP established hash table entries: 1024 (order:?????096 bytes) [ 0.791836] TCP bind hash table ent???? 1024 (order: 0, 4096 bytes) [ 0.798061] ??к?Hash tables configured (established 1024 bind 1024???[ 0.804349] UDP hash table entries: ??????rder: 0, 4096 bytes) [ 0.809982] UDP-Lite has?????e entries: 256 (order: 0, 4096 bytes) [ 0.816351] NET: Registered pro????? family 1 [ 2.753707] random: fa?????it done [ 7.108503] rt-timer 10000100.timer: maximu??????uency is 1220Hz [ 7.115194] Crashlog allocated RAM at add????0x3f00000 [ 7.121896] workingset: timestamp_bit??ax_order=15 bucket_order=0 [ 7.133890] squashfs: version 4.0 (200??????1) Phillip Lougher [ 7.139490] jffs2: version??????NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (㩠???1-2006 Red Hat, Inc. [ 7.315241] io schedu?????op registered [ 7.318989] io scheduler deadli?????istered (default) [ 7.324907] Serial: 8250/16550 driver??????rts, IRQ sharing disabled [ 7.332081] console [ttyS?ݠ???abled [ 7.335602] 10000c00.uartl??庠?tyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 25?????? is a Palmchip BK-3103 [ 7.345220] console [ttyS0] enabled [ 7.345220] console [ttyS0] enabled [ 7.352256] bootconsole [early0] disabled [ 7.352256] bootconsole [early0] disabled [ 7.361028] cacheinfo: Failed to find cpu0 device node [ 7.366314] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 7.373839] libphy: Fixed MDIO Bus: probed [ 7.388328] gsw: setting port4 to ephy mode [ 7.392648] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 1 link up (100Mbps/Full duplex) [ 7.402057] mtk_soc_eth 10100000.ethernet: generated random MAC address f2:a6:f6:b0:04:15 [ 7.410511] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 7.417240] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 7.426230] rt2880_wdt 10000120.watchdog: Initialized [ 7.432735] NET: Registered protocol family 10 [ 7.441161] Segment Routing with IPv6 [ 7.445093] NET: Registered protocol family 17 [ 7.449683] 8021q: 802.1Q VLAN Support v1.8 [ 7.482194] Freeing unused kernel memory: 4676K [ 7.486855] This architecture does not have kernel memory protection. [ 7.506612] init: Console is alive [ 7.510325] init: - watchdog - [ 7.566565] kmodloader: loading kernel modules from /etc/modules-boot.d/ [ 7.645180] usbcore: registered new interface driver usbfs [ 7.650892] usbcore: registered new interface driver hub [ 7.656473] usbcore: registered new device driver usb [ 7.667980] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 7.676658] ehci-platform: EHCI generic platform driver [ 7.692366] phy phy-usbphy.0: remote usb device wakeup disabled [ 7.698432] phy phy-usbphy.0: UTMI 16bit 30MHz [ 7.702981] ehci-platform 101c0000.ehci: EHCI Host Controller [ 7.708890] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 7.717099] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 7.730516] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 7.737946] hub 1-0:1.0: USB hub found [ 7.742300] hub 1-0:1.0: 1 port detected [ 7.749730] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 7.757911] ohci-platform: OHCI generic platform driver [ 7.763591] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 7.770596] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 7.778772] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 7.812402] hub 2-0:1.0: USB hub found [ 7.816745] hub 2-0:1.0: 1 port detected [ 7.825459] kmodloader: done loading kernel modules from /etc/modules-boot.d/ [ 7.837036] init: - preinit - [ 8.043357] 8021q: adding VLAN 0 to HW filter on device eth0 Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 9.200699] procd: - early - [ 9.203757] procd: - watchdog - [ 9.454373] procd: - watchdog - [ 9.457904] procd: - ubus - [ 9.468369] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.487975] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.495011] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.502620] procd: - init - Please press Enter to activate this console. [ 9.771599] kmodloader: loading kernel modules from /etc/modules.d/ [ 9.800246] gre: GRE over IPv4 demultiplexor driver [ 9.807913] ip_gre: GRE over IPv4 tunneling driver [ 9.832026] Netfilter messages via NETLINK v0.30. [ 9.844294] ip_set: protocol 6 [ 9.987870] u32 classifier [ 9.990643] input device check on [ 9.994370] Actions configured [ 10.009608] Mirror/redirect action on [ 10.054421] nf_conntrack version 0.5.0 (2048 buckets, 8192 max) [ 10.100189] Loading modules backported from Linux version v4.19.32-0-g3a2156c839c7 [ 10.107989] Backport generated by backports.git v4.19.32-1-0-g1c4f7569 [ 10.140382] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.315161] ctnetlink v0.93: registering with nfnetlink. [ 10.600556] usbcore: registered new interface driver usblp [ 10.652239] xt_time: kernel timezone is -0000 [ 10.753410] mt76x2e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4 [ 10.760011] mt76x2e 0000:01:00.0: ASIC revision: 76120044 [ 10.977966] mt76x2e 0000:01:00.0: Invalid MAC address, using random address 6a:12:95:86:29:24 [ 10.992206] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a [ 11.003236] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00 [ 11.008842] mt76x2e 0000:01:00.0: Build: 1 [ 11.013074] mt76x2e 0000:01:00.0: Build Time: 201507311614____ [ 11.028767] mt76x2e 0000:01:00.0: Firmware running! [ 11.067785] PPP generic driver version 2.4.2 [ 11.084563] PPP MPPE Compression module registered [ 11.100300] NET: Registered protocol family 24 [ 11.180135] rt2800_wmac 10180000.wmac: failed to get mtd device "Factory" [ 11.187082] ieee80211 phy1: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'. [ 11.223898] rt2800_wmac 10180000.wmac: Direct firmware load for soc_wmac.eeprom failed with error -2 [ 11.233302] rt2800_wmac 10180000.wmac: Falling back to user helper [ 11.444042] firmware soc_wmac.eeprom: firmware_loading_store: map pages failed [ 11.451695] ieee80211 phy1: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM. [ 11.460399] rt2800_wmac: probe of 10180000.wmac failed with error -11 [ 11.479195] kmodloader: done loading kernel modules from /etc/modules.d/ [ 11.615741] urandom_read: 5 callbacks suppressed [ 11.615752] random: jshn: uninitialized urandom read (4 bytes read) [ 11.699748] random: jshn: uninitialized urandom read (4 bytes read) [ 18.135751] xt_FULLCONENAT: RFC3489 Full Cone NAT module [ 18.135751] xt_FULLCONENAT: Copyright (C) 2018 Chion Tang tech@chionlab.moe [ 26.932115] 8021q: adding VLAN 0 to HW filter on device eth0 [ 26.944189] br-lan: port 1(eth0.1) entered blocking state [ 26.949793] br-lan: port 1(eth0.1) entered disabled state [ 26.955654] device eth0.1 entered promiscuous mode [ 26.960727] device eth0 entered promiscuous mode [ 27.001141] br-lan: port 1(eth0.1) entered blocking state [ 27.006668] br-lan: port 1(eth0.1) entered forwarding state [ 27.012602] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 27.929258] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 30.867991] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 30.893048] br-lan: port 2(wlan0) entered blocking state [ 30.898486] br-lan: port 2(wlan0) entered disabled state
然后
烦请大佬分析下问题,感谢