This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368 烧文件系统



你好我使用target # flash_eraseall /dev/mtd4

target # mkdir -p /mnt/nand

target # mount /dev/mtdblock4 /mnt/nand -t jffs2

target # cd /mnt/nand

target # tar zxf /home/root/filesystem.tar.gz

target # sync

target # cd /home/root

target # umount /mnt/nand

说明烧录文件系统

发现

root@dm368-evm:~# flash_eraseall /dev/mtd4

Floating point exception

root@dm368-evm:~#

是不对的

cat /proc/mtd

root@dm368-evm:~# cat /proc/mtd

dev:    size   erasesize  name

mtd0: 003c0000 00020000 "bootloader"

mtd1: 00040000 00020000 "params"

mtd2: 00400000 00020000 "kernel"

mtd3: 0f800000 00020000 "filesystem1"

mtd4: 00000000 00000000 "filesystem2"

于是我就

flash_eraseall /dev/mtd3

结果nand全部格式出错 需要从新格式化 烧UBL