TI中文支持网
TI专业的中文技术问题搜集分享网站

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

Feng Dong:

建议更新系统在uboot中进行.

赞(0)
未经允许不得转载:TI中文支持网 » DM368 烧文件系统
分享到: 更多 (0)