|
|
本帖最后由 amming 于 2025-12-15 15:09 编辑
我的机器是501.10,默认ssh就能登录。
按照大佬的教程
(2) Upload the factory.ubi file to router's /tmp directory (using scp or wget)and execute the following commands in the router's shellexport rootfs=$(cat /proc/mtd | grep rootfs | grep -v _ | cut -d: -f1)ubidetach -f -p /dev/${rootfs}ubiformat /dev/${rootfs} -y -f /tmp/factory.ubi我要刷的是集客的固件,官网下载下来的是GECOOS_N3000_IPQ50XX_8.0_2024081000.bin
root@PZ-L8:~# ubidetach -f -p /dev/mtd15
root@PZ-L8:~# ubiformat /dev/mtd15 -y -f /tmp/GECOOS_N3000_IPQ50XX_8.0_2024081000.bin
ubiformat: mtd15 (nand), size 60817408 bytes (58.0 MiB), 464 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 463 -- 100 % complete
ubiformat: 464 eraseblocks have valid erase counter, mean value is 8
ubiformat: error!: file "/tmp/GECOOS_N3000_IPQ50XX_8.0_2024081000.bin" (size 14816290 bytes) is not multiple of eraseblock size (131072 bytes)
error 0 (No error information)
这该怎么办?
|
|