coolsnowwolf / lede

Lean's LEDE source
Other
29.55k stars 19.5k forks source link

小米路由3启动不了 #9981

Open yuzhe1129 opened 2 years ago

yuzhe1129 commented 2 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

先刷了别人编译带pbboot的固件,然后在升级编译的固件,可以启动,但是WAN口失效的,没无线, 请问下百兆的R3,这个固件是要修改什么编译的吗?怎么我编译WAN口失效 没无线的,

(2) 路由器型号和固件版本

小米R3

(3) 详细日志

PandoraBox-Boot Version 2.1 Build:Mar 17 2▒▒▒▒▒▒▒▒▒:13 SoC:MT7620A Memory-Testing...131072K OK MT7620:CPU clock set to 580Mhz PCIe:reset controller PB-Boot running at 0x87FA4000! NAND: F59L1G▒▒▒▒▒▒▒▒iB ▒▒▒ng internal default config Board:X▒▒▒▒▒ҳ PandoraBox GPIO subsystem init PandoraBox MT762x GPIO driver initiali▒▒䮊▒▒▒▒O_Mode_REG: 0x0012391C PandoraBox LED subsystem init LED [Power] regis▒▒▒▒䊍▒andoraBox Button subsystem init Button [Reset] registered MT76▒ؠ▒▒נ▒nitialized 0 Booting from Fla▒议▒▒▒▒▒oting image from bc200000 ... Image Name: MIPS OpenWrt Linux-5.4.86 Image Type▒▒▒▒▒▒▒ӠLinux Kernel Image (lzma compressed) Data Size: 2120213 Bytes = ▒▒▒▒�▒▒▒ Load Address: 80000000 Entry Point: 80000000 Veri▒▒▒▒▒▒▒▒cksum ... OK Uncompr▒▒▒▒▒▒▒ernel Image ... ▒ˊ▒ Flushing cache from 0x80000000 size 66625 48 ... OK [ 0.000000] Linux versi▒▒▒▒▒▒ (zmf@zmf-virtual-machine) (gcc version 8.4.0 ( OpenWrt GCC 8.4.0 r3019-1▒巳▒䩩 #0 Sun Jan 17 03:10:55 2021 [ 0.000000] Board has DDR2 [ 0.0000▒▒ݠ▒▒▒▒▒g PMU set to hw control [ 0.000000] Digital PMU set to hw control [▒▒▒▒▒▒▒▒0000] SoC Type: MediaTek MT7620A ver:2 eco:6 [ 0.000000] printk: boo▒▒▒▒▒▒▒▒[early0] enabled [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)▒▒[ 0.000000] MIPS: mac hine is Xiaom▒▒▒▒▒▒ter R3 ▒▒▒▒▒▒00000] Initrd not found or empty - disabling initrd [ 0.000000] Prim▒▒▒▒▒▒▒▒uction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Prim▒▒▒▒▒▒▒cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ran▒▒󺍊۠ 0.000000] Normal [mem 0x0000000000000000-0x0000 000007ffffff] [ ▒▒▒▒▒▒▒▒▒0] Movable zone start for each node [ 0.000000] Early memory node ra▒▒▒▒۠ 0.000000] node 0: [mem 0x000000000 0000000-0x0000000007ffffff] [ ▒▒▒▒▒▒▒▒▒00] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0▒▒▒▒▒▒▒ݠBuilt 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000▒▒▒ݠ▒▒▒▒el command line: console=ttyS0,115200 rootfstype=squashfs,jffs 2 ▒▒▒▒▒▒00000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, li▒▒ ▒򩍊[ ▒▒▒▒▒▒▒▒▒00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, li near)▒▒[ 0.000000] Writing ErrCtl register=0007a61f [ 0.000000] Rea▒▒▒▒▒▒▒▒Ctl register=0007a61f [ 0.000000] mem auto-init: stack:off, heap all▒▒▒▒欠heap free:off [ 0.000000] Memory: 121960K/131072ˠ▒▒▒▒▒▒ble (5018K kernel code, 209K rwdata, 1104K rodata, 1212K init, 209K bss,▒▒▒▒▒ˠ▒▒served, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, ▒▒▒▒򽰭▒, MinObjects=0, CPUs=1, Nodes=1 ▒▒▒▒▒▒▒0000] NR_IRQS: 256 [ 0.000000] random: get_random_bytes called from start_kerne쫰▒▒0x518 with cr ng_init=0 [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource:▒▒▒▒▒▒▒▒: mask: 0xffff max_cycles: 0xffff, max_idle_n s: 583261500 ns [ 0.000▒▒▒ݠ▒▒▒▒ick: enable autosleep mode [ 0.000000] systick: running - mult: 2147▒▒▒▒▒▒▒▒t: 32 [ 0.000000] clocksource: MIPS: mask: 0xffffffff ma▒▒▒▒▒▒▒▒ 0xffffffff, max_id le_ns: 6590553264 ns [ 0.000012] sched_clock: 32 ▒▒▒▒▒▒90MHz, resolution 3ns, wraps every 74051159 02ns [ 0.007592ݠ▒▒▒▒▒▒▒ting delay loop... 385.02 BogoMIPS (lpj=770048) [ 0.045497] pid_max:▒▒▒▒▒▒▒▒ 32768 minimum: 301 [ 0.050183] Mount-cache hash table entries: 1024 (order▒▒▒▒▒▒▒▒6 bytes, linea r) [ 0.057236] Mountpoint-cache hash table entries: 10▒▒▒▒▒▒▒▒▒: 0, 4096 bytes, linear) [ 0.071566] clocksource: jiffie▒▒▒▒뺠0xffffffff max_cycles: 0xffffffff, max_i dle_ns: 7645041785100000 ns [ ▒▒▒▒▒▒▒▒40] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.087732] pinctrl core: initialized ▒▒▒▒▒▒▒▒ubsystem [ 0.093414] NET: R▒▒▒▒▒▒▒▒d protocol family 16 [ 0.583613] PCI host bridge /pcie@10140000 r▒▒▒▒󺍊▒ 0.588230] MEM 0x000000 0020000000..0x000000002fffffff [ 0.593287ݠ▒▒▒Ϡ▒x0000000010160000..0x000000001016ffff [ 0.624306] rt2880_gpio 10000600.gpio: register▒▒砲▒▒▒pios [ 0.629781] rt2880_gpio 10000600.gpio: registerin砲▒▒▒▒▒handlers [ 0.636142] rt2880_gpio 10000638.gpio: registe▒▒▒砱▒▒gpios [ 0.641570] rt2880▒▒▒▒▒▒00638.gpio: registering 16 irq handlers [ 0.648415] PCI host br▒▒▒▒▒▒bus 0000:00 [ 0.652396] pci_bus ▒▒▒▒▒▒▒▒ root bus resource [mem 0x20000000-0x2fffffff] [ 0.659019] pci_bus 0▒▒▒▒▒▒▒▒▒oot bus resource [io 0xffffffff] [ 0.664769] pci_bus 0000:00: root ▒▒▒▒▒▒▒urce [??? 0x00000000 flags 0x0] [ 0.671360] pci_bus 0000:00: No busn▒▒▒▒▒▒▒▒▒ found for root bus, will use [b us 00-ff] [ 0.679097] pci 0000:00:00▒▒▒▒۱▒▒4:0801] type 01 class 0x060400 [ 0.684919] pci 0000:00:00.0: reg 0x1▒▒▒▒▒▒▒x00000000-0x7fffffff] [ 0.690980] pci 0000:00:00.0: reg 0x14: [mem 0▒▒▒▒0-0x0000ffff] [ 0.697136] pci 0000:00▒▒▒▒▒▒▒▒▒pports D1 [ 0.700959] pci 0000:00:00.0: PME# supported from D0 D1 D▒▒▒▒[ 0.708663] p ci 0000:00:00.0: bridge configuration ▒▒▒▒▒▒䠨[bus 00-00]), reconfiguring [ 0.716631] pci 0000:01▒▒▒▒▒▒▒۱4c3:7662] type 00 class 0x028000 ▒ 0.722498] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bitݍ▒۠▒▒▒▒. 729089] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] ▒ 0.735663] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold ▒▒▒0.743498] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 ▒▒▒▒▒▒▒9911] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01 [ ▒▒▒▒▒▒▒▒▒ pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 0.76▒▒▒▒ݠ▒▒▒ 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 0.769▒▒▒ݠ▒▒▒ 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff] [ 0.77608▒ݠ▒▒頰▒00:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref] [ 0.783▒▒▒ݠ▒▒▒ 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] [ 0.78970▒ݠ▒▒頰▒00:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit] [ 0.79▒▒▒▒ݠ▒▒i 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref] [ 0▒▒▒▒▒▒▒ݠpci 0000:00:00.0: PCI bridge to [bus 01] [ 0.808621] pci 0000:00:00.▒▒▒▒▒▒▒▒dge window [mem 0x20000000-0x200fffff] [ 0.815213] pci 0000:00:00.0:▒▒▒▒▒▒▒▒▒ window [mem 0x20100000-0x201fffff pref ] [ 0.822339] workqueue: max_active 576 re▒▒▒▒▒▒▒▒or napi_workq is out of range , clamping between 1 and 512 [ 0.83700▒ݠ▒▒▒▒▒▒ource: Switched to clocksource systick [ 0.843624] NET: Registered protocol family 2 [ ▒▒▒▒▒▒▒▒▒ tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes,▒▒▒▒▒▒▒ ▒▒ 0.856910] TCP established hash table entries: 1024 (order: 0, 4096 byte▒▒▒▒▒▒ r) [ 0.864318] TCP bind hash table entries: 1024 (order: 0, 4096 byt▒▒▒▒▒▒▒r) [ 0.871160] TCP: Hash tables configured (established 1024 bind 10▒▒▒▒▒[ 0. 877476] UDP hash table entries: 256 (order: 0, 4096 bytes, l▒▒▒▒򩍊[ ▒▒▒▒▒▒▒▒] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.890907] NET: Registered protocol ▒▒▒▒▒▒ [ 0.895188] PCI: CLS 0 bytes, default 32 [ 0.901995] rt-timer 10000100.t▒▒▒▒▒▒ximum frequency is 1220Hz [ 0.910224] workingset: times▒▒▒▒▒▒▒▒▒=14 max_order=15 bucket_order=1 ▒▒▒▒▒▒▒5122] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.930741]▒▒▒▒󲺠▒ersion 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-20▒▒▒▒▒▒▒▒t, Inc. [ 0.957565] Serial: 8▒▒▒▒▒▒▒▒0 driver, 2 ports, IRQ sharing disabled [ 0.964870] printk: console [ttyS0]▒▒▒▒▒▒▒▒▒ ▒▒▒▒.969094] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_bau䠽▒▒ ▒▒▒▒00) is a Palmchip BK-3103 [ 0.978710] printk: console [ttyS0] enabled [ 0.978710] printk: console [ttyS0] enabled [ 0.987174] printk: bootconsole [early0] disabled [ 0.987174] printk: bootconsole [early0] disabled [ 0.998061] !!! nand page size = 2048, addr len=4 [ 1.007900] mtk_nand_probe: alloc 13c0, at (ptrval) , btt((ptrval), 100), ran fc_mtd:(ptrval) [ 1.016673] 10 fixed-partitions partitions found on MTD device ra_nfc [ 1.023256] Creating 10 MTD partitions on "ra_nfc": [ 1.028253] 0x000000000000-0x000000040000 : "Bootloader" [ 1.034767] 0x000000040000-0x000000080000 : "Config" [ 1.041100] 0x000000080000-0x0000000c0000 : "Bdata" [ 1.047136] 0x0000000c0000-0x000000100000 : "factory" [ 1.053511] 0x000000100000-0x000000140000 : "crash" [ 1.059593] 0x000000140000-0x000000180000 : "crash_syslog" [ 1.066338] 0x000000180000-0x000000200000 : "reserved0" [ 1.072847] 0x000000200000-0x000000600000 : "kernel_stock" [ 1.080395] 0x000000600000-0x000000a00000 : "kernel" [ 1.087371] 0x000000a00000-0x000008000000 : "ubi" [ 1.118982] libphy: Fixed MDIO Bus: probed [ 1.139889] gsw: setting port4 to ephy mode [ 1.144243] ralink_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 lin k up (100Mbps/Full duplex) [ 1.153829] ralink_soc_eth 10100000.ethernet eth0 (uninitialized): port 1 lin k up (100Mbps/Full duplex) [ 1.163928] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver [ 1.170974] ralink_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0 xb0100000, irq 5 [ 1.180281] rt2880_wdt 10000120.watchdog: Initialized [ 1.186982] NET: Registered protocol family 10 [ 1.196198] Segment Routing with IPv6 [ 1.200154] NET: Registered protocol family 17 [ 1.204784] 8021q: 802.1Q VLAN Support v1.8 [ 1.212036] UBI: auto-attach mtd9 [ 1.215526] ubi0: attaching mtd9 [ 1.412960] random: fast init done [ 1.759515] ubi0: scanning is finished [ 1.774421] ubi0: attached mtd9 (name "ubi", size 118 MiB) [ 1.780099] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 1.787133] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 1.794071] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 1.801185] ubi0: good PEBs: 944, bad PEBs: 0, corrupted PEBs: 0 [ 1.807322] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 12 8 [ 1.814701] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequ ence number: 1610853055 [ 1.824027] ubi0: available PEBs: 0, total reserved PEBs: 944, PEBs reserved for bad PEB handling: 20 [ 1.835083] block ubiblock0_0: created from ubi0:0(rootfs) [ 1.840765] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 1.848785] ubi0: background thread "ubi_bgt0d" started, PID 352 [ 1.863571] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 1.877863] Freeing unused kernel memory: 1212K [ 1.882514] This architecture does not have kernel memory protection. [ 1.889089] Run /sbin/init as init process [ 3.186223] init: Console is alive [ 3.190410] init: - watchdog - [ 3.506326] kmodloader: no module folders for kernel version 5.4.86 found [ 3.517698] init: - preinit - [ 4.992316] random: jshn: uninitialized urandom read (4 bytes read) [ 5.479717] random: jshn: uninitialized urandom read (4 bytes read) [ 5.707344] random: jshn: uninitialized urandom read (4 bytes read) [ 8.233470] 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 [ 8.335088] urandom_read: 4 callbacks suppressed [ 8.335098] random: procd: uninitialized urandom read (4 bytes read) [ 10.419039] mount_root: loading kmods from internal overlay [ 10.434652] kmodloader: no module folders for kernel version 5.4.86 found [ 10.442607] mount_root: failed to launch kmodloader from internal overlay [ 11.031133] block: attempting to load /etc/config/fstab [ 11.045868] block: unable to load configuration (fstab: Entry not found) [ 11.053240] block: no usable configuration [ 11.061749] UBIFS (ubi0:1): Mounting in unauthenticated mode [ 11.086254] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 456 [ 11.113983] UBIFS (ubi0:1): recovery needed [ 11.275822] UBIFS (ubi0:1): recovery completed [ 11.280531] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "root fs_data" [ 11.288543] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O u nit sizes: 2048 bytes/2048 bytes [ 11.298675] UBIFS (ubi0:1): FS size: 89518080 bytes (85 MiB, 705 LEBs), journ al size 4444160 bytes (4 MiB, 35 LEBs) [ 11.309330] UBIFS (ubi0:1): reserved for root: 4228160 bytes (4129 KiB) [ 11.316096] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID FA40B 607-FC05-4D70-A523-A3BC194CC6DC, small LPT model [ 11.328292] UBIFS (ubi0:1): full atime support is enabled. [ 11.340440] mount_root: loading kmods from internal overlay [ 11.356294] kmodloader: no module folders for kernel version 5.4.86 found [ 11.364237] mount_root: failed to launch kmodloader from internal overlay [ 11.762046] block: attempting to load /etc/config/fstab [ 11.768018] block: unable to load configuration (fstab: Entry not found) [ 11.775409] block: no usable configuration [ 11.781523] mount_root: switching to ubifs overlay [ 11.800451] urandom-seed: Seeding with /etc/urandom.seed [ 12.030033] procd: - early - [ 12.033583] procd: - watchdog - [ 13.336290] procd: - watchdog - [ 13.357646] procd: - ubus - [ 13.934268] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.944104] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.959347] procd: - init - Please press Enter to activate this console. [ 16.213515] kmodloader: no module folders for kernel version 5.4.86 found [ 27.070665] random: crng init done [ 41.435054] 8021q: adding VLAN 0 to HW filter on device eth0 [ 41.475753] device eth0 entered promiscuous mode [ 41.491485] br-lan: port 1(eth0.1) entered blocking state [ 41.497089] br-lan: port 1(eth0.1) entered disabled state [ 41.503016] device eth0.1 entered promiscuous mode [ 41.522665] br-lan: port 1(eth0.1) entered blocking state [ 41.528200] br-lan: port 1(eth0.1) entered forwarding state [ 42.447156] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready ___▒▒▒▒▒▒▒▒____ | ___ ▒▒▒▒| _ \ | | | ) | | | |) ▒▒▒▒▒ \ / ` |/ | '/ ` | \ / _ \ \/ / | | | / (| | | | | (▒▒▒ߩ▒| | | (| | |) | () > < | | || _,|| ||_,|\/|| \▒߬▒▒▒▒▒/ _//\\ | | ▒▒▒▒▒▒▒▒▒ | | PandoraBox Ralink/MTK Platform | | ▒▒▒▒▒▒▒▒ The Core of SmartRouter | | ▒▒▒▒▒▒▒▒▒t 2017 PandoraBox Team | |____▒▒▒▒▒▒▒▒____|

PandoraBox-Boot Version 2.1 Build:Mar 17 2▒▒▒▒▒▒▒▒▒:13 SoC:MT7620A Memory-Testing...131072K OK MT7620:CPU clock set to 580Mhz PCIe:reset controller PB-Boot running at 0x87FA4000! NAND: F59L1G▒▒▒▒▒▒▒▒iB ▒▒▒ng internal default config Board:X▒▒▒▒▒ҳ PandoraBox GPIO subsystem init PandoraBox MT762x GPIO driver initiali▒▒䮊▒▒▒▒O_Mode_REG: 0x0012391C PandoraBox LED subsystem init LED [Power] regis▒▒▒▒䊍▒andoraBox Button subsystem init Button [Reset] registered MT76▒ؠ▒▒נ▒nitialized 0 Booting from Fla▒议▒▒▒▒▒oting image from bc200000 ... Image Name: MIPS OpenWrt Linux-5.4.86 Image Type▒▒▒▒▒▒▒ӠLinux Kernel Image (lzma compressed) Data Size: 2120213 Bytes = ▒▒▒▒�▒▒▒ Load Address: 80000000 Entry Point: 80000000 Veri▒▒▒▒▒▒▒▒cksum ... OK Uncompr▒▒▒▒▒▒▒ernel Image ... ▒ˊ▒ Flushing cache from 0x80000000 size 66625 48 ... OK [ 0.000000] Linux versi▒▒▒▒▒▒ (zmf@zmf-virtual-machine) (gcc version 8.4.0 ( OpenWrt GCC 8.4.0 r3019-1▒巳▒䩩 #0 Sun Jan 17 03:10:55 2021 [ 0.000000] Board has DDR2 [ 0.0000▒▒ݠ▒▒▒▒▒g PMU set to hw control [ 0.000000] Digital PMU set to hw control [▒▒▒▒▒▒▒▒0000] SoC Type: MediaTek MT7620A ver:2 eco:6 [ 0.000000] printk: boo▒▒▒▒▒▒▒▒[early0] enabled [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)▒▒[ 0.000000] MIPS: mac hine is Xiaom▒▒▒▒▒▒ter R3 ▒▒▒▒▒▒00000] Initrd not found or empty - disabling initrd [ 0.000000] Prim▒▒▒▒▒▒▒▒uction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Prim▒▒▒▒▒▒▒cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ran▒▒󺍊۠ 0.000000] Normal [mem 0x0000000000000000-0x0000 000007ffffff] [ ▒▒▒▒▒▒▒▒▒0] Movable zone start for each node [ 0.000000] Early memory node ra▒▒▒▒۠ 0.000000] node 0: [mem 0x000000000 0000000-0x0000000007ffffff] [ ▒▒▒▒▒▒▒▒▒00] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0▒▒

BusyBox v1.35.0 (2022-08-21 07:18:14 UTC) built-in shell (ash)

▒▒▒▒▒ݠBuilt 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000▒▒▒ݠ▒▒▒▒el command line: console=ttyS0,115200 rootfstype=squashfs,jffs 2 ▒▒▒▒▒▒00000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, li▒▒ ▒򩍊[ ▒▒▒▒▒▒▒▒▒00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, li near)▒▒[ 0.000000] Writing ErrCtl register=0007a61f [ 0.000000] Rea▒▒▒▒▒▒▒▒Ctl register=0007a61f [ 0.000000] mem auto-init: stack:off, heap all▒▒▒▒欠heap free:off [ 0.000000] Memory: 121960K/131072ˠ▒▒▒▒▒▒ble (5018K kernel code, 209K rwdata, 1104K rodata, 1212K init, 209K bss,▒▒▒▒▒ˠ▒▒served, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, ▒▒▒▒򽰭▒, MinObjects=0, CPUs=1, Nodes=1 ▒▒▒▒▒▒▒0000] NR_IRQS: 256 [ 0.000000] random: get_random_bytes called from start_kerne쫰▒▒0x518 with cr nginit=0 [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource:▒▒▒▒▒▒▒▒: mask: 0xffff max ___ / /\ _ __ _ / LE / \ | | | | | | / DE / \ | || || |) | | /__/ LE \ |___||/|| \ \ DE / \ LE \ / ------------------------------------------- \ DE \ / OpenWrt SNAPSHOT, r4879-89cea5969 ____\/ -------------------------------------------

root@OpenWrt:/# _ __ ▒ ▒▒▒ _ \ __ _ _ ) ____ __ /bin/ash: syntax error: unexpected " " root@OpenWrt:/# ) ▒▒▒▒▒ \ / _` / _ \ '_/ ` \ / \ \ / / /bin/ash: syntax error: unexpected " " root@OpenWrt:/# _/ ( (▒▒▒ߩ▒ (_ _) (_) > <
/bin/ash: syntax error: unexpected " "
root@OpenWrt:/# _ _, _ _ _, ___/ _ \▒߬▒▒▒▒▒/ \
_//_\
/bin/ash: syntax error: unexpected " "
root@OpenWrt:/# ▒▒▒▒
▒▒▒▒▒▒
/bin/ash: syntax error: unexpected " "
root@OpenWrt:/# PandoraBox Ralink/MTK Platform
/bin/ash: syntax error: unexpected " "
root@OpenWrt:/# ▒▒▒▒▒▒▒▒ The Core of SmartRouter
/bin/ash: syntax error: unexpected " "
root@OpenWrt:/# ▒▒▒▒▒▒▒▒▒t 2017 PandoraBox Tea
m
/bin/ash: syntax error: unexpected " "
root@OpenWrt:/# __▒▒▒▒▒▒▒▒_____
___
/bin/ash: syntax error: unexpected " "

root@OpenWrt:/# root@OpenWrt:/# PandoraBox-Boot Version 2.1 /bin/ash: PandoraBox-Boot: not found root@OpenWrt:/# Build:Mar 17 2▒▒▒▒▒▒▒▒▒:13 /bin/ash: Build:Mar: not found root@OpenWrt:/# SoC:MT7620A /bin/ash: SoC:MT7620A: not found root@OpenWrt:/# Memory-Testing...131072K OK /bin/ash: Memory-Testing...131072K: not found root@OpenWrt:/# MT7620:CPU clock set to 580Mhz /bin/ash: MT7620:CPU: not found root@OpenWrt:/# PCIe:reset controller /bin/ash: PCIe:reset: not found root@OpenWrt:/# PB-Boot running at 0x87FA4000! /bin/ash: PB-Boot: not found root@OpenWrt:/# NAND: F59L1G▒▒▒▒▒▒▒▒iB /bin/ash: NAND:: not found root@OpenWrt:/# ▒▒▒ng internal default config /bin/ash: ▒▒▒ng: not found root@OpenWrt:/# Board:X▒▒▒▒▒ҳ /bin/ash: Board:X▒▒▒▒▒ҳ: not found root@OpenWrt:/# PandoraBox GPIO subsystem init /bin/ash: PandoraBox: not found root@OpenWrt:/# PandoraBox MT762x GPIO driver initiali▒▒䮊▒▒▒▒O_Mod e_REG: 0x0012391C /bin/ash: PandoraBox: not found root@OpenWrt:/# PandoraBox LED subsystem init /bin/ash: PandoraBox: not found root@OpenWrt:/# LED [Power] regis▒▒▒▒䊍▒andoraBox Button subsystem in it /bin/ash: LED: not found root@OpenWrt:/# Button [Reset] registered /bin/ash: Button: not found root@OpenWrt:/# MT76▒ؠ▒▒נ▒nitialized 0 /bin/ash: MT76▒ؠ▒▒נ▒nitialized: not found root@OpenWrt:/# Booting from Fla▒议▒▒▒▒▒oting image from bc200000 . .. /bin/ash: Booting: not found root@OpenWrt:/# Image Name: MIPS OpenWrt Linux-5.4.86 /bin/ash: Image: not found root@OpenWrt:/# Image Type▒▒▒▒▒▒▒ӠLinux Kernel Image (lzma com pressed) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# Data Size: 2120213 Bytes = ▒▒▒▒�▒▒▒ Load A ddress: 80000000 /bin/ash: Data: not found root@OpenWrt:/# Entry Point: 80000000 /bin/ash: Entry: not found root@OpenWrt:/# Veri▒▒▒▒▒▒▒▒cksum ... OK /bin/ash: Veri▒▒▒▒▒▒▒▒cksum: not found root@OpenWrt:/# Uncompr▒▒▒▒▒▒▒ernel Image ... ▒ˊ▒ Flushi ng cache from 0x80000000 size 6662548 ... OK /bin/ash: Uncompr▒▒▒▒▒▒▒ernel: not found root@OpenWrt:/# [ 0.000000] Linux versi▒▒▒▒▒▒ (zmf@zmf-virtual -machine) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r3019-1▒巳▒䩩 #0 Sun Jan 1 7 03:10:55 2021 /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.000000] Board has DDR2 ash: missing ] root@OpenWrt:/# [ 0.0000▒▒ݠ▒▒▒▒▒g PMU set to hw control ash: missing ] root@OpenWrt:/# [ 0.000000] Digital PMU set to hw control ash: missing ] root@OpenWrt:/# [▒▒▒▒▒▒▒▒0000] SoC Type: MediaTek MT7620A ver:2 eco:6 /bin/ash: [▒▒▒▒▒▒▒▒0000]: not found root@OpenWrt:/# [ 0.000000] printk: boo▒▒▒▒▒▒▒▒[early0] enabl ed ash: missing ] root@OpenWrt:/# [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)▒▒[ 0.000000] MIPS: machine is Xiaom▒▒▒▒▒▒ter R3 /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# ▒▒▒▒▒▒00000] Initrd not found or empty - disabling i nitrd /bin/ash: ▒▒▒▒▒▒00000]: not found root@OpenWrt:/# [ 0.000000] Prim▒▒▒▒▒▒▒▒uction cache 64kB, VI PT, 4-way, linesize 32 bytes. ash: missing ] root@OpenWrt:/# [ 0.000000] Prim▒▒▒▒▒▒▒cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes ash: missing ] root@OpenWrt:/# [ 0.000000] Zone ran▒▒󺍊۠ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] ash: missing ] root@OpenWrt:/# [ ▒▒▒▒▒▒▒▒▒0] Movable zone start for each nod e ash: missing ] root@OpenWrt:/# [ 0.000000] Early memory node ra▒▒▒▒۠ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] ash: missing ] root@OpenWrt:/# [ ▒▒▒▒▒▒▒▒▒00] Initmem setup node 0 [mem 0x000 0000000000000-0x0000000007ffffff] ash: missing ] root@OpenWrt:/# [ 0▒▒▒▒▒▒▒ݠBuilt 1 zonelists, mobility groupin g on. Total pages: 32480 ash: missing ] root@OpenWrt:/# [ 0.000▒▒▒ݠ▒▒▒▒el command line: console=ttyS0, 115200 rootfstype=squashfs,jffs2 ash: missing ] root@OpenWrt:/# ▒▒▒▒▒▒00000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, li▒▒▒򩍊[ ▒▒▒▒▒▒▒▒▒00] Inode-ca che hash table entries: 8192 (order: 3, 32768 bytes, linear)▒▒[ 0.000000] Writing ErrCtl register=0007a61f /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.000000] Rea▒▒▒▒▒▒▒▒Ctl register=0007a61f ash: missing ] root@OpenWrt:/# [ 0.000000] mem auto-init: stack:off, heap all▒▒▒▒欠 heap free:off ash: missing ] root@OpenWrt:/# [ 0.000000] Memory: 121960K/131072ˠ▒▒▒▒▒▒ble (50 18K kernel code, 209K rwdata, 1104K rodata, 1212K init, 209K bss,▒▒▒▒▒ ˠ▒▒served, 0K cma-reserved) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.000000] SLUB: HWalign=32, ▒▒▒▒򽰭▒, MinObjects =0, CPUs=1, Nodes=1 ash: missing ] root@OpenWrt:/# ▒▒▒▒▒▒▒0000] NR_IRQS: 256 /bin/ash: ▒▒▒▒▒▒▒0000]: not found root@OpenWrt:/# [ 0.000000] random: get_random_bytes called from start_kerne▒ ▒▒▒▒0x518 with crng_init=0 ash: missing ] root@OpenWrt:/# [ 0.000000] CPU Clock: 580MHz ash: missing ] root@OpenWrt:/# [ 0.000000] clocksource:▒▒▒▒▒▒▒▒: mask: 0xfff f max_cycles: 0xffff, max_idle_ns: 583261500 ns ash: missing ] root@OpenWrt:/# [ 0.000▒▒▒ݠ▒▒▒▒ick: enable autosleep mode ash: missing ] root@OpenWrt:/# [ 0.000000] systick: running - mult: 2147▒▒▒▒▒▒▒ ▒▒t: 32 ash: missing ] root@OpenWrt:/# [ 0.000000] clocksource: MIPS: mask: 0xffffffff ma▒▒▒▒ ▒▒▒▒▒ 0xffffffff, max_idle_ns: 6590553264 ns ash: missing ] root@OpenWrt:/# [ 0.000012] sched_clock: 32 ▒▒▒▒▒▒90MHz, resoluti on 3ns, wraps every 7405115902ns ash: missing ] root@OpenWrt:/# [ 0.007592ݠ▒▒▒▒▒▒▒ting delay loop... 385.02 Bo goMIPS (lpj=770048) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.045497] pidmax:▒▒▒▒▒▒▒▒ 32768 minimum: 3 01 ash: missing ] root@OpenWrt:/# [ 0.050183] Mount-cache hash table entries: 1024 (order▒▒ ▒▒▒▒▒▒6 bytes, linear) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.057236] Mountpoint-cache hash table entries: 10▒▒▒▒ ▒▒▒▒▒▒▒: 0, 4096 bytes, linear) /bin/ash: syntax error: unexpected ")" root@OpenWrt:/# [ 0.071566] clocksource: jiffie▒▒▒▒뺠0xffffffff max cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns ash: missing ] root@OpenWrt:/# [ ▒▒▒▒▒▒▒▒40] futex hash table entries: 256 (or der: -1, 3072 bytes, linear) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.087732] pinctrl core: initialized ▒▒▒▒▒▒▒▒ ▒ubsystem ash: missing ] root@OpenWrt:/# [ 0.093414] NET: R▒▒▒▒▒▒▒▒d protocol family 1 6 ash: missing ] root@OpenWrt:/# [ 0.583613] PCI host bridge /pcie@10140000 r▒▒▒▒󺍊▒ ▒▒ 0.588230] MEM 0x0000000020000000..0x000000002fffffff ash: missing ] root@OpenWrt:/# [ 0.593287ݠ▒▒▒Ϡ▒x0000000010160000..0x000000001016ff ff ash: missing ] root@OpenWrt:/# [ 0.624306] rt2880_gpio 10000600.gpio: register▒▒砲▒▒ ▒▒pios ash: missing ] root@OpenWrt:/# [ 0.629781] rt2880_gpio 10000600.gpio: registerin砲▒▒▒ ▒▒handlers ash: missing ] root@OpenWrt:/# [ 0.636142] rt2880_gpio 10000638.gpio: registe▒▒▒砱▒ ▒gpios ash: missing ] root@OpenWrt:/# [ 0.641570] rt2880▒▒▒▒▒▒00638.gpio: registerin g 16 irq handlers ash: missing ] root@OpenWrt:/# [ 0.648415] PCI host br▒▒▒▒▒▒bus 0000:00 ash: missing ] root@OpenWrt:/# [ 0.652396] pci_bus ▒▒▒▒▒▒▒▒ root bus resourc e [mem 0x20000000-0x2fffffff] ash: missing ] root@OpenWrt:/# [ 0.659019] pci_bus 0▒▒▒▒▒▒▒▒▒oot bus resou rce [io 0xffffffff] ash: missing ] root@OpenWrt:/# [ 0.664769] pci_bus 0000:00: root ▒▒▒▒▒▒▒urce [ ??? 0x00000000 flags 0x0] ash: missing ] root@OpenWrt:/# [ 0.671360] pci_bus 0000:00: No busn▒▒▒▒▒▒▒▒▒ ▒▒ found for root bus, will use [bus 00-ff] ash: missing ] root@OpenWrt:/# [ 0.679097] pci 0000:00:00▒▒▒▒۱▒▒4:0801] type 01 class 0x060400 ash: missing ] root@OpenWrt:/# [ 0.684919] pci 0000:00:00.0: reg 0x1▒▒▒▒▒▒▒x00 000000-0x7fffffff] ash: missing ] root@OpenWrt:/# [ 0.690980] pci 0000:00:00.0: reg 0x14: [mem 0▒▒▒▒0-0 x0000ffff] ash: missing ] root@OpenWrt:/# [ 0.697136] pci 0000:00▒▒▒▒▒▒▒▒▒pports D1 ash: missing ] root@OpenWrt:/# [ 0.700959] pci 0000:00:00.0: PME# supported from D0 D1 D▒▒ ▒▒▒▒[ 0.708663] pci 0000:00:00.0: bridge configuration ▒▒▒▒▒▒ 䠨[bus 00-00]), reconfiguring /bin/ash: syntax error: unexpected ")" root@OpenWrt:/# [ 0.716631] pci 0000:01▒▒▒▒▒▒▒۱4c3:7662] type 00 class 0x028000 ash: missing ] root@OpenWrt:/# ▒ 0.722498] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000 fffff 64bitݍ▒۠▒▒▒▒.729089] pci 0000:01:00.0: reg 0x30: [mem 0x000000 00-0x0000ffff pref] /bin/ash: ▒: not found root@OpenWrt:/# ▒ 0.735663] pci 0000:01:00.0: PME# supported from D0 D3hot D3 cold /bin/ash: ▒: not found root@OpenWrt:/# ▒▒▒0.743498] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 /bin/ash: ▒▒▒0.743498]: not found root@OpenWrt:/# ▒▒▒▒▒▒▒9911] pci_bus 0000:00: busn_res: [bus 00-ff ] end is updated to 01 /bin/ash: ▒▒▒▒▒▒▒9911]: not found root@OpenWrt:/# [ ▒▒▒▒▒▒▒▒▒ pci 0000:00:00.0: BAR 0: no spa ce for [mem size 0x80000000] ash: missing ] root@OpenWrt:/# [ 0.76▒▒▒▒ݠ▒▒▒ 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] ash: missing ] root@OpenWrt:/# [ 0.769▒▒▒ݠ▒▒▒ 0000:00:00.0: BAR 8: assigned [me m 0x20000000-0x200fffff] ash: missing ] root@OpenWrt:/# [ 0.77608▒ݠ▒▒頰▒00:00:00.0: BAR 9: assigned [mem 0x 20100000-0x201fffff pref] ash: missing ] root@OpenWrt:/# [ 0.783▒▒▒ݠ▒▒▒ 0000:00:00.0: BAR 1: assigned [me m 0x20200000-0x2020ffff] ash: missing ] root@OpenWrt:/# [ 0.78970▒ݠ▒▒頰▒00:01:00.0: BAR 0: assigned [mem 0x 20000000-0x200fffff 64bit] ash: missing ] root@OpenWrt:/# [ 0.79▒▒▒▒ݠ▒▒i 0000:01:00.0: BAR 6: assigned [me m 0x20100000-0x2010ffff pref] ash: missing ] root@OpenWrt:/# [ 0▒▒▒▒▒▒▒ݠpci 0000:00:00.0: PCI bridge to [bu s 01] ash: missing ] root@OpenWrt:/# [ 0.808621] pci 0000:00:00.▒▒▒▒▒▒▒▒dge window [mem 0x20000000-0x200fffff] ash: missing ] root@OpenWrt:/# [ 0.815213] pci 0000:00:00.0:▒▒▒▒▒▒▒▒▒ wind ow [mem 0x20100000-0x201fffff pref] ash: missing ] root@OpenWrt:/# [ 0.822339] workqueue: max_active 576 re▒▒▒▒▒▒▒ ▒or napi_workq is out of range, clamping between 1 and 512 ash: missing ] root@OpenWrt:/# [ 0.83700▒ݠ▒▒▒▒▒▒ource: Switched to clocksourc e systick ash: missing ] root@OpenWrt:/# [ 0.843624] NET: Registered protocol family 2 ash: missing ] root@OpenWrt:/# [ ▒▒▒▒▒▒▒▒▒ tcp_listen_portaddr_hash hash t able entries: 512 (order: 0, 4096 bytes,▒▒▒▒▒▒▒ /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# ▒▒ 0.856910] TCP established hash table entries: 1024 (order : 0, 4096 byte▒▒▒▒▒▒r) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.864318] TCP bind hash table entries: 1024 (order: 0, 4096 byt▒▒▒▒▒▒▒r) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.871160] TCP: Hash tables configured (established 1024 bin d 10▒▒▒▒▒[ 0.877476] UDP hash table entries: 256 (order: 0, 4096 by tes, l▒▒▒▒򩍊[ ▒▒▒▒▒▒▒▒] UDP-Lite hash table entries : 256 (order: 0, 4096 bytes, linear) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.890907] NET: Registered protocol ▒▒▒▒▒▒ ash: missing ] root@OpenWrt:/# [ 0.895188] PCI: CLS 0 bytes, default 32 ash: missing ] root@OpenWrt:/# [ 0.901995] rt-timer 10000100.t▒▒▒▒▒▒ximum freque ncy is 1220Hz ash: missing ] root@OpenWrt:/# [ 0.910224] workingset: times▒▒▒▒▒▒▒▒▒=14 m ax_order=15 bucket_order=1 ash: missing ] root@OpenWrt:/# ▒▒▒▒▒▒▒5122] squashfs: version 4.0 (2009/01/31) Ph illip Lougher /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.930741]▒▒▒▒󲺠▒ersion 2.2 (NAND) (SUMMARY) (LZ MA) (RTIME) (CMODE_PRIORITY) (c) 2001-20▒▒▒▒▒▒▒▒t, Inc. /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.957565] Serial: 8▒▒▒▒▒▒▒▒0 driver, 2 port s, IRQ sharing disabled ash: missing ] root@OpenWrt:/# [ 0.964870] printk: console [ttyS0]▒▒▒▒▒▒▒▒▒ ▒ ash: missing ] root@OpenWrt:/# ▒▒▒▒.969094] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_bau䠽▒▒▒▒▒▒00) is a Palmchip BK-3103 /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 0.978710] printk: console [ttyS0] enabled ash: missing ] root@OpenWrt:/# [ 0.978710] printk: console [ttyS0] enabled ash: missing ] root@OpenWrt:/# [ 0.987174] printk: bootconsole [early0] disabled ash: missing ] root@OpenWrt:/# [ 0.987174] printk: bootconsole [early0] disabled ash: missing ] root@OpenWrt:/# [ 0.998061] !!! nand page size = 2048, addr len=4 ash: missing ] root@OpenWrt:/# [ 1.007900] mtk_nand_probe: alloc 13c0, at (ptrval) , btt((pt rval), 100), ranfc_mtd:(ptrval) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 1.016673] 10 fixed-partitions partitions found on MTD devic e ra_nfc ash: missing ] root@OpenWrt:/# [ 1.023256] Creating 10 MTD partitions on "ra_nfc": ash: missing ] root@OpenWrt:/# [ 1.028253] 0x000000000000-0x000000040000 : "Bootloader" ash: missing ] root@OpenWrt:/# [ 1.034767] 0x000000040000-0x000000080000 : "Config" ash: missing ] root@OpenWrt:/# [ 1.041100] 0x000000080000-0x0000000c0000 : "Bdata" ash: missing ] root@OpenWrt:/# [ 1.047136] 0x0000000c0000-0x000000100000 : "factory" ash: missing ] root@OpenWrt:/# [ 1.053511] 0x000000100000-0x000000140000 : "crash" ash: missing ] root@OpenWrt:/# [ 1.059593] 0x000000140000-0x000000180000 : "crash_syslog" ash: missing ] root@OpenWrt:/# [ 1.066338] 0x000000180000-0x000000200000 : "reserved0" ash: missing ] root@OpenWrt:/# [ 1.072847] 0x000000200000-0x000000600000 : "kernel_stock" ash: missing ] root@OpenWrt:/# [ 1.080395] 0x000000600000-0x000000a00000 : "kernel" ash: missing ] root@OpenWrt:/# [ 1.087371] 0x000000a00000-0x000008000000 : "ubi" ash: missing ] root@OpenWrt:/# [ 1.118982] libphy: Fixed MDIO Bus: probed ash: missing ] root@OpenWrt:/# [ 1.139889] gsw: setting port4 to ephy mode ash: missing ] root@OpenWrt:/# [ 1.144243] ralink_soc_eth 10100000.ethernet eth0 (uninitiali zed): port 0 link up (100Mbps/Full duplex) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 1.153829] ralink_soc_eth 10100000.ethernet eth0 (uninitiali zed): port 1 link up (100Mbps/Full duplex) /bin/ash: syntax error: unexpected "(" root@OpenWrt:/# [ 1.163928] ralink_soc_eth 10100000.ethernet: loaded mt7620 d river ash: missing ] root@OpenWrt:/# [ 1.170974] ralink_soc_eth 10100000.ethernet eth0: mediatek

yuzhe1129 commented 2 years ago

一开始是默认的, define Device/xiaomi_miwifi-r3 SOC := mt7620a BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE := 4096k IMAGE_SIZE := 32768k UBINIZE_OPTS := -E 5 IMAGES += kernel1.bin rootfs0.bin IMAGE/kernel1.bin := append-kernel | check-size $$$$(KERNEL_SIZE) IMAGE/rootfs0.bin := append-ubi | check-size $$$$(IMAGE_SIZE) IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata DEVICE_VENDOR := Xiaomi DEVICE_MODEL := Mi Router R3 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci uboot-envtools endef TARGET_DEVICES += xiaomi_miwifi-r3 然后刷了没无线 WAN用不了就修改分区 KERNEL_SIZE := 4096k IMAGE_SIZE := 32768k UBINIZE_OPTS := -E 5 IMAGES += kernel1.bin rootfs0.bin IMAGES += kernel1.bin rootfs0.bin pb-boot.bin boot.bin IMAGE/kernel1.bin := append-kernel | check-size $$$$(KERNEL_SIZE) IMAGE/rootfs0.bin := append-ubi | check-size $$$$(IMAGE_SIZE) IMAGE/rootfs0.bin := append-ubi | check-size IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata IMAGE/boot.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size IMAGE/pb-boot.bin := append-kernel | pad-to $$(KERNEL_SIZE) | \ append-kernel | pad-to $$(KERNEL_SIZE) | \ append-ubi | check-size DEVICE_VENDOR := Xiaomi DEVICE_MODEL := Mi Router R3 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci uboot-envtools 生成的后缀有个boot的文件,刷了无限重启,