3天前
昨天已经刷了上一个,固件版本 OpenWrt,要再刷uboot如何刷,直接从第3步刷入uboot不行,谢谢
登录为: root
root@192.168.1.1'的密码:
┌──────────────────────────────────────────────────────────────────────┐
│ • MobaXterm Personal Edition v26.4 • │
│ (SSH client, X server and network tools) │
│ │
│ ⮞ SSH session to root@192.168.1.1 │
│ • Direct SSH : ✓ │
│ • SSH compression : ✗ │
│ • SSH-browser : ✓ │
│ • X11-forwarding : ✗ (disabled or not supported by server) │
│ │
│ ⮞ For more info, ctrl+click on help or visit our website. │
└──────────────────────────────────────────────────────────────────────┘
BusyBox v1.36.1 (2025-06-23 20:40:36 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 24.10.2, r28739-d9340319c6
-----------------------------------------------------
root@AX69:~# mtd erase /dev/mtd1
Could not open mtd device: /dev/mtd1
Could not open mtd device: /dev/mtd1
root@AX69:~# cd ..
root@AX69:/# cd /dev/
root@AX69:/dev# ls
console mtd1 mtd8 ppp ttyS2
cpu_dma_latency mtd10 mtd8ro ptmx ttyS3
fd mtd10ro mtd9 pts ttyS4
full mtd11 mtd9ro random ttyS5
gpiochip0 mtd11ro mtdblock0 remoteproc0 ttyS6
gpiochip1 mtd12 mtdblock1 shm ttyS7
hwrng mtd12ro mtdblock10 stderr ttyS8
kmsg mtd1ro mtdblock11 stdin ttyS9
log mtd2 mtdblock12 stdout ubi0
loop-control mtd2ro mtdblock2 switch_ssdk ubi0_0
loop0 mtd3 mtdblock3 tty ubi0_1
loop1 mtd3ro mtdblock4 ttyMSM0 ubi_ctrl
loop2 mtd4 mtdblock5 ttyS0 ubiblock0_0
loop3 mtd4ro mtdblock6 ttyS1 urandom
loop4 mtd5 mtdblock7 ttyS10 watchdog
loop5 mtd5ro mtdblock8 ttyS11 watchdog0
loop6 mtd6 mtdblock9 ttyS12 zero
loop7 mtd6ro net ttyS13
mtd0 mtd7 null ttyS14
mtd0ro mtd7ro port ttyS15
root@AX69:/dev# cd /
root@AX69:/# pwd
/
root@AX69:/# mtd erase /dev/mtd1
Could not open mtd device: /dev/mtd1
Could not open mtd device: /dev/mtd1
root@AX69:/# mtd write /tmp/ax6-mibib-stock.bin /dev/mtd1
Could not open mtd device: /dev/mtd1
Can't open device for writing!
root@AX69:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "0:sbl1"
mtd1: 00100000 00020000 "0:mibib"
mtd2: 00300000 00020000 "0:qsee"
mtd3: 00080000 00020000 "0:devcfg"
mtd4: 00080000 00020000 "0:rpm"
mtd5: 00080000 00020000 "0:cdt"
mtd6: 00080000 00020000 "0:appsblenv"
mtd7: 00100000 00020000 "0:appsbl"
mtd8: 00080000 00020000 "0:art"
mtd9: 00080000 00020000 "bdata"
mtd10: 00100000 00020000 "pstore"
mtd11: 023c0000 00020000 "ubi_kernel"
mtd12: 05220000 00020000 "rootfs"
root@AX69:/# mtd erase /dev/mtd1
Could not open mtd device: /dev/mtd1
Could not open mtd device: /dev/mtd1
root@AX69:/#
Remote side unexpectedly closed network connection
────────────────────────────────────────────────────────────────────────────────
会话已停止
- 按 <回车> 退出选项卡
- 按 R 重启会话
- 按 S 将终端输出保存到文件
登录为: root
拒绝访问
root@192.168.1.1'的密码:
┌──────────────────────────────────────────────────────────────────────┐
│ • MobaXterm Personal Edition v26.4 • │
│ (SSH client, X server and network tools) │
│ │
│ ⮞ SSH session to root@192.168.1.1 │
│ • Direct SSH : ✓ │
│ • SSH compression : ✗ │
│ • SSH-browser : ✓ │
│ • X11-forwarding : ✗ (disabled or not supported by server) │
│ │
│ ⮞ For more info, ctrl+click on help or visit our website. │
└──────────────────────────────────────────────────────────────────────┘
BusyBox v1.36.1 (2025-06-23 20:40:36 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 24.10.2, r28739-d9340319c6
-----------------------------------------------------
root@AX69:~# mtd write /tmp/ax6-mibib-stock.bin /dev/mtd1
Couldn't open image file: /tmp/ax6-mibib-stock.bin!
root@AX69:~# mkdir /tmp/syslogbackup/
root@AX69:~# dd if=/dev/mtd9 of=/tmp/syslogbackup/mtd9
1024+0 records in
1024+0 records out
root@AX69:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "0:sbl1"
mtd1: 00100000 00020000 "0:mibib"
mtd2: 00300000 00020000 "0:qsee"
mtd3: 00080000 00020000 "0:devcfg"
mtd4: 00080000 00020000 "0:rpm"
mtd5: 00080000 00020000 "0:cdt"
mtd6: 00080000 00020000 "0:appsblenv"
mtd7: 00100000 00020000 "0:appsbl"
mtd8: 00080000 00020000 "0:art"
mtd9: 00080000 00020000 "bdata"
mtd10: 00100000 00020000 "pstore"
mtd11: 023c0000 00020000 "ubi_kernel"
mtd12: 05220000 00020000 "rootfs"
root@AX69:~# mtd write /tmp/ax6-mibib-stock.bin /dev/mtd1
Could not open mtd device: /dev/mtd1
Can't open device for writing!
root@AX69:~# opkg install kmod-mtd-rw
Unknown package 'kmod-mtd-rw'.
Collected errors:
* opkg_install_cmd: Cannot install package kmod-mtd-rw.
root@AX69:~# opkg update
Downloading https://downloads.openwrt.org/releases/24.10.2/targets/qualcommax/ipq807x/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/24.10.2/targets/qualcommax/ipq807x/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.2/targets/qualcommax/ipq807x/kmods/6.6.93-1-8af96624c277fe1e57ffca5737140929/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/releases/24.10.2/targets/qualcommax/ipq807x/kmods/6.6.93-1-8af96624c277fe1e57ffca5737140929/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/telephony/Packages.sig
Signature check passed.
root@AX69:~# opkg install kmod-mtd-rw
Installing kmod-mtd-rw (6.6.93.2021.02.28~e8776739-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.2/targets/qualcommax/ipq807x/kmods/6.6.93-1-8af96624c277fe1e57ffca5737140929/kmod-mtd-rw_6.6.93.2021.02.28~e8776739-r1_aarch64_cortex-a53.ipk
Configuring kmod-mtd-rw.
root@AX69:~# Kernel modules --->Other modules --->kmod-mtd-rw
-ash: Kernel: not found
root@AX69:~# mtd erase /dev/mtd1
Could not open mtd device: /dev/mtd1
Could not open mtd device: /dev/mtd1
root@AX69:~# mtd write /tmp/ax6-mibib-stock.bin /dev/mtd1
Could not open mtd device: /dev/mtd1
Can't open device for writing!
root@AX69:~#


