|
本帖最后由 fejich 于 2023-12-21 22:54 编辑
前一阵子看到论坛贴子:沛喆PZ-L5可以刷集客AX1800H
尝试了刷机,翻了车
大佬们看看是什么地方操作错了,指导指导
mtkautoboot 启动菜单里边选择了
2. Upgrade firmware
最后从 tftp 传输 集客AX1800H 固件刷入
- => mtkautoboot
- *** U-Boot Boot Menu ***
- 1. Startup system (Default)
- 2. Upgrade firmware
- 3. Upgrade bootloader
- 4. Upgrade bootloader (advanced mode)
- 5. Load image
- 0. U-Boot console
- Press UP/DOWN to move, ENTER to select
- *** Upgrading Firmware ***
- Available load methods:
- 0 - TFTP client (Default)
- 1 - Xmodem
- 2 - Ymodem
- 3 - Kermit
- 4 - S-Record
- Select (enter for default):
- Input U-Boot's IP address: 192.168.168.14
- Input TFTP server's IP address: 192.168.168.4
- Input IP netmask: 255.255.255.0
- Input file name: AX1800.bin
- Using eth@1e100000 device
- TFTP from server 192.168.168.4; our IP address is 192.168.168.14
- Filename 'AX1800.bin'.
- Load address: 0x80010000
- Loading: T #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #
- 1.1 MiB/s
- done
- Bytes transferred = 6684911 (6600ef hex)
- *** Loaded 6684911 (0x6600ef) bytes at 0x80010000 ***
- Verifying image from 0x80010000 to 0x806700ee, size 0x6600ef ... ## Checking hash(es) for FIT Image at 80010000 ...
- Hash(es) for Image 0 (kernel@1): crc32+ sha1+
- Hash(es) for Image 1 (fdt@1): crc32+ sha1+
- OK
- Erasing from 0x200000 to 0x87ffff, size 0x680000 ... OK
- Writting from 0x80010000 to 0x200000, size 0x6600ef ... OK
- Saving Environment to NAND... Erasing NAND...
- Erasing at 0xa0000 -- 100% complete.
- Writing to NAND... OK
- OK
- Verifying flash from 0x200000 to 0x8600ee, size 0x6600ef ... OK
- Updating backup image ...
- Erasing from 0x2000000 to 0x267ffff, size 0x680000 ... OK
- Writting from 0x80010000 to 0x2000000, size 0x6600ef ... OK
- Verifying flash from 0x2000000 to 0x26600ee, size 0x6600ef ... OK
- *** reset rootfs_data partition data! ***
- *** Firmware upgrade completed! ***
- Hit any key to stop firmware bootup: 2
- =>
复制代码
开机无限重启,输出如下
- U-Boot SPL 2018.09.04-g5c61a11 (Dec 16 2022 - 13:20:39 +0800)
- Trying to boot from NAND
- U-Boot 2018.09.04-g5c61a11 (Dec 16 2022 - 13:20:39 +0800)
- CPU: MediaTek MT7621AT ver 1, eco 3
- Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 220MHz, 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:
- Warning: eth@1e100000 (eth0) using random MAC address - 8e:4f:1f:60:f9:06
- eth0: eth@1e100000
- ### bootdelay_process use default bootcmd="mtkboardboot"
- GPIO: get pin 4 value:1
- Hit any key to stop autoboot: 0
- Starting dual image checking ...
- Verifying main image at 0x200000 ...
- ## Checking hash(es) for FIT Image at 80020000 ...
- Hash(es) for Image 0 (kernel@1): crc32+ sha1+
- Hash(es) for Image 1 (fdt@1): crc32+ sha1+
- Passed
- Loading from nand0, offset 0x200000
- Fit image detected...
- FIT description: #JikeAP_AX1800H <AX1800H>
- Image 0 (kernel@1)
- Description: MIPS GECOOS Linux-4.4.198
- Type: Kernel Image
- Compression: lzma compressed
- Data Start: 0x800100d8
- Data Size: 2917839 Bytes = 2.8 MiB
- Architecture: MIPS
- OS: Linux
- Load Address: 0x81001000
- Entry Point: 0x81001000
- Hash algo: crc32
- Hash value: 7eea3216
- Hash algo: sha1
- Hash value: 320648f8d62168b7533bdb7a8469bbb9ea24a4a7
- Image 1 (fdt@1)
- Description: MIPS GECOOS ax1800h device tree blob
- Type: Flat Device Tree
- Compression: uncompressed
- Data Start: 0x802d87e0
- Data Size: 10516 Bytes = 10.3 KiB
- Architecture: MIPS
- Hash algo: crc32
- Hash value: 61eb9064
- Hash algo: sha1
- Hash value: 610ce037135f60cf9ba76dd226cf58016276c7da
- Default Configuration: 'config@1'
- Configuration 0 (config@1)
- Description: GECOOS
- 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 GECOOS Linux-4.4.198
- Type: Kernel Image
- Compression: lzma compressed
- Data Start: 0x800100d8
- Data Size: 2917839 Bytes = 2.8 MiB
- Architecture: MIPS
- OS: Linux
- Load Address: 0x81001000
- Entry Point: 0x81001000
- Hash algo: crc32
- Hash value: 7eea3216
- Hash algo: sha1
- Hash value: 320648f8d62168b7533bdb7a8469bbb9ea24a4a7
- Verifying Hash Integrity ... crc32+ sha1+ OK
- ## Loading fdt from FIT Image at 80010000 ...
- Using 'config@1' configuration
- Trying 'fdt@1' fdt subimage
- Description: MIPS GECOOS ax1800h device tree blob
- Type: Flat Device Tree
- Compression: uncompressed
- Data Start: 0x802d87e0
- Data Size: 10516 Bytes = 10.3 KiB
- Architecture: MIPS
- Hash algo: crc32
- Hash value: 61eb9064
- Hash algo: sha1
- Hash value: 610ce037135f60cf9ba76dd226cf58016276c7da
- Verifying Hash Integrity ... crc32+ sha1+ OK
- Booting using the fdt blob at 0x802d87e0
- Uncompressing Kernel Image ... OK
- Loading Device Tree to 8fe47000, end 8fe4c913 ... OK
- [ 0.000000] Linux version 4.4.198 (axinchan@cnrouter.com) (GECOOS Wireless AP based on MEDIATEK SDK) 2023-07-24 06:07:34
- [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
- [ 0.000000] bootconsole [early0] enabled
- [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
- [ 0.000000] MIPS: machine is MediaTek MT7621 AX1800H (802.11ax,NAND)
- [ 0.000000] Determined physical RAM map:
- [ 0.000000] memory: 10000000 [url=home.php?mod=space&uid=162986]@[/url] 00000000 (usable)
- [ 0.000000] Zone ranges:
- [ 0.000000] DMA [mem 0x0000000000000000-0x0000000000ffffff]
- [ 0.000000] Normal [mem 0x0000000001000000-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] 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] PERCPU: Embedded 10 pages/cpu @81d29000 s8544 r8192 d24224 u40960
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
- [ 0.000000] Kernel command line: console=ttyS0,115200 firmware=0 ubootver=2018.09.04-g5c61a11 rootfstype=squashfs,jffs2
- [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
- [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.000000] Writing ErrCtl register=00043a40
- [ 0.000000] Readback ErrCtl register=00043a40
- [ 0.000000] Memory: 248292K/262144K available (5909K kernel code, 4031K rwdata, 636K rodata, 228K init, 540K bss, 13852K reserved, 0K cma-reserved)
- [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] NR_IRQS:256
- [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
- [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
- [ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
- [ 0.007775] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
- [ 0.070398] pid_max: default: 32768 minimum: 301
- [ 0.075115] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.081641] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 4.174808] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 4.174818] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 4.174828] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 4.174973] CPU1 revision is: 0001992f (MIPS 1004Kc)
- [ 0.177561] Synchronize counters for CPU 1: done.
- [ 3.948342] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 3.948350] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 3.948355] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 3.948425] CPU2 revision is: 0001992f (MIPS 1004Kc)
- [ 0.267910] Synchronize counters for CPU 2: done.
- [ 4.038429] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 4.038435] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 4.038441] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 4.038519] CPU3 revision is: 0001992f (MIPS 1004Kc)
- [ 0.353078] Synchronize counters for CPU 3: done.
- [ 0.357815] Brought up 4 CPUs
- [ 0.365090] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- [ 0.374864] futex hash table entries: 1024 (order: 3, 32768 bytes)
- [ 0.381075] pinctrl core: initialized pinctrl subsystem
- [ 0.387475] NET: Registered protocol family 16
- [ 0.399528] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 0.405121] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 0.410745] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 0.416752] mt7621-pci 1e140000.pcie: Got GPIO 19 for PCIe0
- [ 0.522498] mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe1
- [ 0.528601] mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe2
- [ 1.736057] PCIe port 2 link down
- [ 1.739288] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
- [ 1.753845] PCI host bridge to bus 0000:00
- [ 1.757884] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
- [ 1.764718] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff]
- [ 1.771522] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
- [ 1.778278] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
- [ 1.786892] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
- [ 1.794814] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
- [ 1.804077] pci 0000:00:00.0: BAR 9: assigned [mem 0x60000000-0x601fffff pref]
- [ 1.811225] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x603fffff pref]
- [ 1.818359] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
- [ 1.825124] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
- [ 1.831855] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref]
- [ 1.839567] pci 0000:01:00.0: BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref]
- [ 1.847233] pci 0000:01:00.0: BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref]
- [ 1.854941] pci 0000:00:00.0: PCI bridge to [bus 01]
- [ 1.859841] pci 0000:00:00.0: bridge window [mem 0x60000000-0x601fffff pref]
- [ 1.867039] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref]
- [ 1.874717] pci 0000:02:00.0: BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref]
- [ 1.882420] pci 0000:02:00.0: BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref]
- [ 1.890091] pci 0000:00:01.0: PCI bridge to [bus 02]
- [ 1.895017] pci 0000:00:01.0: bridge window [mem 0x60200000-0x603fffff pref]
- [ 1.903674] clocksource: Switched to clocksource GIC
- [ 1.910503] NET: Registered protocol family 2
- [ 1.915512] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
- [ 1.922395] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
- [ 1.928824] TCP: Hash tables configured (established 2048 bind 2048)
- [ 1.935172] UDP hash table entries: 256 (order: 1, 8192 bytes)
- [ 1.940921] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
- [ 1.947431] NET: Registered protocol family 1
- [ 1.965294] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 1.971035] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 1.983512] io scheduler noop registered
- [ 1.987399] io scheduler deadline registered (default)
- [ 1.994114] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
- [ 2.001415] console [ttyS0] disabled
- [ 2.004973] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33, base_baud = 3125000) is a 16550A
- [ 2.013946] console [ttyS0] enabled
- [ 2.013946] console [ttyS0] enabled
- [ 2.020845] bootconsole [early0] disabled
- [ 2.020845] bootconsole [early0] disabled
- [ 2.029298] 1e000d00.uartfull: ttyS1 at MMIO 0x1e000d00 (irq = 34, base_baud = 3125000) is a 16550A
- [ 2.040558] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
- [ 2.047145] nand: AMD/Spansion S34ML01G2
- [ 2.051067] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
- [ 2.059229] Scanning device for bad blocks
- [ 2.967186] 4 ofpart partitions found on MTD device mtk-nand
- [ 2.972849] Creating 4 MTD partitions on "mtk-nand":
- [ 2.977832] 0x000000000000-0x000000080000 : "Bootloader"
- [ 2.984656] 0x000000080000-0x000000100000 : "Config"
- [ 2.990848] 0x000000100000-0x000000180000 : "Factory"
- [ 2.997229] 0x000000180000-0x000007fe0000 : "firmware"
- [ 3.454628] len should not be over partition end
- [ 3.459258] no rootfs found after FIT image in "firmware"
- [ 4.797921] libphy: Fixed MDIO Bus: probed
- [ 4.863878] libphy: mdio: probed
- [ 4.868070] mac MAC (Factory)(0X03FFF4) A4:39:B6:40:40:08
- [ 4.874034] mtk_soc_eth 1e100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
- [ 4.885218] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 10
- [ 4.931559] MT7915 DBDC Enabled, VERSION: 20221209
- [ 4.936401] LITTLE_ENDIAN
- [ 4.939019] Use the default iPAiLNA bin image!
- [ 4.944300] MT7915 [ra0] type:256 num:0 pre:ra0
- [ 4.960661] mt7621_wdt 1e000100.wdt: Initialized
- [ 4.966808] NET: Registered protocol family 10
- [ 4.972624] NET: Registered protocol family 17
- [ 4.977192] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
- [ 4.989814] 8021q: 802.1Q VLAN Support v1.8
- [ 5.033761] mt753x gsw: Switch is MediaTek MT7530 rev 1
- [ 5.060482] libphy: mt753x_mdio: probed
- [ 5.070379] hctosys: unable to open rtc device (rtc0)
- [ 5.076503] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
- [ 5.084010] Please append a correct "root=" boot option; here are the available partitions:
- [ 5.092370] 1f00 512 mtdblock0 (driver?)
- [ 5.097441] 1f01 512 mtdblock1 (driver?)
- [ 5.102493] 1f02 512 mtdblock2 (driver?)
- [ 5.107559] 1f03 129408 mtdblock3 (driver?)
- [ 5.112611] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
- [ 5.120890] Rebooting in 1 seconds..
复制代码
2023.12.21 更新
刷入另一个贴子的 u-boot 后,再次刷入 集客AX1800H 固件
成功启动
jcg q20 路由刷了集客246nd 固件速率 速度慢 5g只能跑150M
刷入 u-boot 记录
- => mtkautoboot
- *** U-Boot Boot Menu ***
- 1. Startup system (Default)
- 2. Upgrade firmware
- 3. Upgrade bootloader
- 4. Upgrade bootloader (advanced mode)
- 5. Load image
- 0. U-Boot console
- Press UP/DOWN to move, ENTER to select
- *** Upgrading Bootloader ***
- Available load methods:
- 0 - TFTP client (Default)
- 1 - Xmodem
- 2 - Ymodem
- 3 - Kermit
- 4 - S-Record
- Select (enter for default):
- Input U-Boot's IP address: 192.168.168.14
- Input TFTP server's IP address: 192.168.168.4
- Input IP netmask: 255.255.255.0
- Input file name: mtk-uboot.bin
- Using eth@1e100000 device
- TFTP from server 192.168.168.4; our IP address is 192.168.168.14
- Filename 'mtk-uboot.bin'.
- Load address: 0x80010000
- Loading: ####################################
- 50.8 KiB/s
- done
- Bytes transferred = 524288 (80000 hex)
- *** Loaded 524288 (0x80000) bytes at 0x80010000 ***
- Erasing from 0x20000 to 0x7ffff, size 0x60000 ... OK
- Writting from 0x80030000 to 0x20000, size 0x60000 ... OK
- Verifying from 0x20000 to 0x7ffff, size 0x60000 ... OK
- *** Bootloader upgrade completed! ***
复制代码
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|