@chaoz 非常感谢,重新分配了flash分区后,可以对分区操作了。我把BOOT.BIN 和image.ub分别烧写到了mtd0 和 mtd2分区中,启动模式(拨码开关)调整到QSPI启动,但系统没有启动。m25p80 spi0.0: s25fl512s (65536 Kbytes)
4 ofpart partitions found on MTD device spi0.0
Creating 4 MTD partitions on "spi0.0":
0x000000000000-0x000001e00000 : "boot"
0x000001e00000-0x000001e40000 : "bootenv"
0x000001e40000-0x000002c40000 : "kernel"
0x000002c40000-0x000003f40000 : "spare"
libphy: Fixed MDIO Bus: probedroot@cpctech:~# flash_eraseall /dev/mtd0
flash_eraseall has been replaced by `flash_erase 0 0`; please use it
Erasing 256 Kibyte @ 0 -- 0 % complete random: crng init done
Erasing 256 Kibyte @ 1dc0000 -- 100 % complete
root@cpctech:~# flash_eraseall /dev/mtd1
flash_eraseall has been replaced by `flash_erase 0 0`; please use it
Erasing 256 Kibyte @ 0 -- 100 % complete
root@cpctech:~# flash_eraseall /dev/mtd2
flash_eraseall has been replaced by `flash_erase 0 0`; please use it
Erasing 256 Kibyte @ dc0000 -- 100 % complete
root@cpctech:~# flash_eraseall /dev/mtd3
flash_eraseall has been replaced by `flash_erase 0 0`; please use it
Erasing 256 Kibyte @ 12c0000 -- 100 % complete
root@cpctech:~#root@cpctech:~# mount /dev/mmcblk0p1 /mnt/
root@cpctech:~# ls -l /mnt/
total 25768
-rwxrwx--- 1 root disk 6654812 Sep 3 2020 BOOT-s.BIN
-rwxrwx--- 1 root disk 6654460 Sep 3 2020 BOOT.BIN
-rwxrwx--- 1 root disk 9392180 Sep 3 2020 image-s.ub
-rwxrwx--- 1 root disk 3668272 Sep 3 2020 image.ub
root@cpctech:~# cd /mnt/
root@cpctech:/mnt# ls
BOOT-s.BIN BOOT.BIN image-s.ub image.ub
root@cpctech:/mnt# mv BOOT.BIN BOOT.BIN-sd
root@cpctech:/mnt# mv image.ub image.ub-sd
root@cpctech:/mnt# mv BOOT-s.BIN BOOT.BIN
root@cpctech:/mnt# mv image-s.ub image.ub
root@cpctech:/mnt# flashcp BOOT.BIN /dev/mtd0
root@cpctech:/mnt# flashcp image.ub /dev/mtd2
我的操作步骤是否有不对的或遗漏的地方