|
想刷OPENWRT,按照大佬们的教程说刷入kernel和rootfs分区,但是我没找到rootfs分区,然后查到说nand是UBI分区,我就直接刷入ubi分区了,结果就砖了,到底应该刷入哪个分区啊,另外这个路由有没有不死breed的啊。
[root@PandoraBox_8A1B:/tmp]#cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00100000 00020000 "u-boot-env"
mtd2: 00400000 00020000 "kernel"
mtd3: 05f00000 00020000 "ubi"
mtd4: 00100000 00020000 "scfgmgr"
mtd5: 00400000 00020000 "openwrt"
mtd6: 00100000 00020000 "ft"
mtd7: 00200000 00020000 "PKI"
mtd8: 00100000 00020000 "art"
mtd9: 02400000 00020000 "kfs"
mtd10: 02400000 00020000 "kfs2"
[root@PandoraBox_8A1B:/tmp]#mtd write x-wrt-5.0-b201906192138-ar71xx-nand-arris-sbr-ac1750-squashfs-kernel1.bin kernel
Unlocking kernel ...
Writing from x-wrt-5.0-b201906192138-ar71xx-nand-arris-sbr-ac1750-squashfs-kernel1.bin to kernel ...
[root@PandoraBox_8A1B:/tmp]#mtd write x-wrt-5.0-b201906192138-ar71xx-nand-arris-sbr-ac1750-squashfs-rootfs1.bin rootfs
Could not open mtd device: rootfs
Can't open device for writing!
[root@PandoraBox_8A1B:/tmp]#mtd write x-wrt-5.0-b201906192138-ar71xx-nand-arris-sbr-ac1750-squashfs-rootfs1.bin ubi
Unlocking ubi ...
Writing from x-wrt-5.0-b201906192138-ar71xx-nand-arris-sbr-ac1750-squashfs-rootfs1.bin to ubi ... |
|