|
|
现在已经连上了TTL,但是无法中断引导进不去cef怎么办。
以下是跑码无限循环
*** U-Boot Boot Menu ***
1. Factory Network Boot
2. Auto Dual System Boot
3. Upgrade firmware
4. Upgrade bootloader
5. Upgrade bootloader (advanced mode)
6. Load image
7. Main system
8. Boot From Firmware2
0. U-Boot console
Press UP/DOWN to move, ENTER to select
Factory: go as factory_boot=1
NAND read: device 0 offset 0x100000, size 0x20000
131072 bytes read: OK
Factory: using ipaddr 192.168.1.144
Using eth@1e100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.144
Filename 'factory.bin'.
Load address: 0x80010000
Loading: ## Warning: gatewayip needed but not set
## Warning: gatewayip needed but not set
## Warning: gatewayip needed but not set
## Warning: gatewayip needed but not set
ARP Retry count exceeded; starting again
Factory: tftp download fail
Select Firmware1 to start
Loading from nand0, offset 0x180000
Fit image detected...
c FIT description: MIPS OpenWrt FIT (Flattened Image Tree)
Image 0 (kernel-1)
Description: MIPS OpenWrt Linux-6.6.73
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x800100e4
Data Size: 3172964 Bytes = 3 MiB
Architecture: MIPS
OS: Linux
Load Address: 0x82000000
Entry Point: 0x82000000
Hash algo: crc32
Hash value: 9ab81d34
Hash algo: sha1
Hash value: d72858af971341eedfae5557cf99e5137ffdd4d6
Image 1 (fdt-1)
Description: MIPS OpenWrt sim_simax1800t device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x80316c88
Data Size: 12226 Bytes = 11.9 KiB
Architecture: MIPS
Hash algo: crc32
Hash value: 2b7b78b0
Hash algo: sha1
Hash value: 1bd58c0100a0afed36537faf1a3021355f4d1982
Default Configuration: 'config-1'
Configuration 0 (config-1)
Description: OpenWrt sim_simax1800t
Kernel: kernel-1
FDT: fdt-1
Automatic boot of image at addr 0x80010000 ...
## Loading kernel from FIT Image at 80010000 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: MIPS OpenWrt Linux-6.6.73
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x800100e4
Data Size: 3172964 Bytes = 3 MiB
Architecture: MIPS
OS: Linux
Load Address: 0x82000000
Entry Point: 0x82000000
Hash algo: crc32
Hash value: 9ab81d34
Hash algo: sha1
Hash value: d72858af971341eedfae5557cf99e5137ffdd4d6
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 80010000 ...
Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: MIPS OpenWrt sim_simax1800t device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x80316c88
Data Size: 12226 Bytes = 11.9 KiB
Architecture: MIPS
Hash algo: crc32
Hash value: 2b7b78b0
Hash algo: sha1
Hash value: 1bd58c0100a0afed36537faf1a3021355f4d1982
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x80316c88
Uncompressing Kernel Image ... OK
Loading Device Tree to 8fe76000, end 8fe7bfc1 ... OK
[ 0.000000] Linux version 6.6.73 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28417-daef29c75d) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Jan 27 22:53:29 2025
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is SIM SIMAX1800T
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] percpu: Embedded 12 pages/cpu s19136 r8192 d21824 u49152
[ 0.000000] Kernel command line: console=ttyS0,115200
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Writing ErrCtl register=00005450
[ 0.000000] Readback ErrCtl register=00005450
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000] mem auto-init: stack ff, heap alloc ff, heap free ff
[ 0.000000] Memory: 247800K/262144K available (8363K kernel code, 653K rwdata, 1016K rodata, 1284K init, 229K bss, 14344K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000004] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[ 0.008088] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.066230] pid_max: default: 32768 minimum: 301
[ 0.079704] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.086957] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.103765] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.113647] rcu: Hierarchical SRCU implementation.
[ 0.118354] rcu: Max phase no-delay instances is 1000.
[ 0.124475] smp: Bringing up secondary CPUs ...
[ 0.129900] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.129934] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.129949] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.129998] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.183892] Synchronize counters for CPU 1: done.
[ 0.216549] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.216578] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.216592] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.216626] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.275539] Synchronize counters for CPU 2: done.
[ 0.306312] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.306342] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.306355] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.306394] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.360761] Synchronize counters for CPU 3: done.
[ 0.390649] smp: Brought up 1 node, 4 CPUs
[ 0.401786] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.411607] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.422440] pinctrl core: initialized pinctrl subsystem
[ 0.431028] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.437729] thermal_sys: Registered thermal governor 'step_wise'
[ 0.439526] /pinctrl: Fixed dependency cycle(s) with /pinctrl/pinctrl0
[ 0.468214] clocksource: Switched to clocksource GIC
[ 0.483357] NET: Registered PF_INET protocol family
[ 0.488507] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.497446] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.505801] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.513490] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.521102] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.528330] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.535640] MPTCP token hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.543187] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.549688] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.557564] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.563254] PCI: CLS 0 bytes, default 32
[ 0.571165] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 0.578852] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.584604] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.600612] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.612098] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.618269] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.624341] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.630536] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[ 0.637218] mt7621-pci 1e140000.pcie: No bus range found for /pcie@1e140000, using [bus 00-ff]
[ 0.646004] mt7621-pci 1e140000.pcie: MEM 0x0060000000..0x006fffffff -> 0x0060000000
[ 0.654120] mt7621-pci 1e140000.pcie: IO 0x001e160000..0x001e16ffff -> 0x0000000000
[ 1.018209] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[ 1.025117] mt7621-pci 1e140000.pcie: PCIE0 enabled
[ 1.030003] mt7621-pci 1e140000.pcie: PCIE1 enabled
[ 1.034974] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 1.042214] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[ 1.048559] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.053975] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 1.060826] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 1.066992] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 1.072948] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.079185] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[ 1.085489] pci 0000:00:00.0: supports D1
[ 1.089445] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.095811] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 1.101846] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.108043] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[ 1.114367] pci 0000:00:01.0: supports D1
[ 1.118314] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 1.126098] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.134094] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.142325] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[ 1.148354] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[ 1.155511] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[ 1.162707] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[ 1.170013] pci 0000:01:00.0: supports D1 D2
[ 1.174192] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.180887] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[ 1.196008] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 1.201256] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 1.207280] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 1.214051] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff pref]
[ 1.221226] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.228048] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[ 1.234090] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[ 1.241285] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[ 1.248455] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[ 1.255707] pci 0000:02:00.0: supports D1 D2
[ 1.259923] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.266485] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[ 1.281642] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[ 1.286810] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff]
[ 1.292898] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff]
[ 1.299620] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff pref]
[ 1.306764] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 1.313409] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 1.319969] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 1.326896] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 1.333439] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 1.340357] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 1.347058] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[ 1.354264] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[ 1.361001] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref]
[ 1.368139] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[ 1.374888] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[ 1.381662] pci 0000:00:00.0: BAR 7: assigned [io 0x0000-0x0fff]
[ 1.387665] pci 0000:00:01.0: BAR 7: assigned [io 0x1000-0x1fff]
[ 1.393760] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[ 1.401449] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[ 1.409136] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[ 1.416794] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.421739] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 1.427757] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 1.434524] pci 0000:00:00.0: bridge window [mem 0x60100000-0x602fffff pref]
[ 1.441715] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bit pref]
[ 1.449399] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bit pref]
[ 1.457055] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bit pref]
[ 1.464780] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 1.469689] pci 0000:00:01.0: bridge window [io 0x1000-0x1fff]
[ 1.475708] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff]
[ 1.482479] pci 0000:00:01.0: bridge window [mem 0x60400000-0x605fffff pref]
[ 1.489650] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[ 1.498643] pci_bus 0000:00: resource 4 [mem 0x60000000-0x6fffffff]
[ 1.504823] pci_bus 0000:00: resource 5 [io 0x0000-0xffff]
[ 1.510383] pci_bus 0000:01: resource 0 [io 0x0000-0x0fff]
[ 1.515882] pci_bus 0000:01: resource 1 [mem 0x60000000-0x600fffff]
[ 1.522133] pci_bus 0000:01: resource 2 [mem 0x60100000-0x602fffff pref]
[ 1.528786] pci_bus 0000:02: resource 0 [io 0x1000-0x1fff]
[ 1.534285] pci_bus 0000:02: resource 1 [mem 0x60300000-0x603fffff]
[ 1.540537] pci_bus 0000:02: resource 2 [mem 0x60400000-0x605fffff pref]
[ 1.548949] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 1.565933] printk: console [ttyS0] disabled
[ 1.571375] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[ 1.580468] printk: console [ttyS0] enabled
[ 1.580468] printk: console [ttyS0] enabled
[ 1.588770] printk: bootconsole [early0] disabled
[ 1.588770] printk: bootconsole [early0] disabled
[ 1.603083] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[ 1.609499] nand: Toshiba NAND 128MiB 3,3V 8-bit
[ 1.614108] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.621675] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[ 1.628218] nand: WARNING: mt7621-nand: the ECC used on your system (4b/512B) is too weak compared to the one required by the NAND chip (8b/512B)
[ 1.641305] 4 fixed-partitions partitions found on MTD device mt7621-nand
[ 1.648462] Creating 4 MTD partitions on "mt7621-nand":
[ 1.653708] 0x000000000000-0x000000080000 : "u-boot"
[ 1.664199] 0x000000080000-0x000000100000 : "u-boot-env"
[ 1.674730] 0x000000100000-0x000000180000 : "factory"
[ 1.685305] 0x000000180000-0x000007c00000 : "firmware"
[ 2.593268] 2 fixed-partitions partitions found on MTD device firmware
[ 2.599944] Creating 2 MTD partitions on "firmware":
[ 2.604906] 0x000000000000-0x000000400000 : "kernel"
[ 2.640612] 0x000000400000-0x000007a80000 : "ubi"
▒▒▒▒
U-Boot SPL 2018.09-g6c1f25b (Mar 29 2021 - 10:59:27 +0800)
Trying to boot from NAND
U-Boot 2018.09-g6c1f25b (Mar 29 2021 - 10:59:27 +0800)
CPU: MediaTek MT7621AT ver 1, eco 3
Clocks: CPU: 1100MHz, DDR: 1200MHz, Bus: 275MHz, XTAL: 40MHz
Model: MediaTek MT7621 reference board (NAND)
DRAM: 256 MiB
NAND: 128 MiB
Loading Environment from NAND... OK
In: uartlite0@1e000c00
Out: uartlite0@1e000c00
Err: uartlite0@1e000c00
Net: Factory: using factory mac
NAND read: device 0 offset 0x100000, size 0x20000
131072 bytes read: OK
Warning: eth@1e100000 (eth0) using random MAC address - 9a:ca:20:15:14:69
eth0: eth@1e100000
Hit any key to stop autoboot: 0
gpio: pin 7 (gpio 7) value is 1
gpio: pin 8 (gpio 8) value is 1
gpio: pin 6 (gpio 6) value is 1
gpio: pin 8 (gpio 8) value is 0 |
|