Erase JFFS2 File System. Advantech EKI-1121L, EKI-1122L, EKI-1124L


Add to my manuals
60 Pages

advertisement

Erase JFFS2 File System. Advantech EKI-1121L, EKI-1122L, EKI-1124L | Manualzz

B.1

Erase JFFS2 File System

1.

Sometimes, you may encounter the issue during development. You may see the output message like below.

mtdblock_open ok jffs2_scan_empty(): Empty block at 0x003142e4 ends at 0x00316000 (with 0x00000000)!

Marking dirty

JFFS2: Erase block at 0x00310000 is not formatted. It will be erased

Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes mtdblock_release ok mount: wrong fs type, bad option, bad superblock on /dev/mtdblock3,

missing codepage or other error mtdblock_open ok mtdblock_release ok

In some cases useful info is found in syslog - try

dmesg | tail or so pid 14: failed 8192

2.

Try to use following command to solve this issue.

Sash command shell (version 1.1.1)

/> umount /var/other1

/> eraseall /dev/mtd3

MTD_open

MTD_ioctl

Erasing 64 Kibyte @ 0 -- 0 % complete.MTD_ioctl

Erasing 64 Kibyte @ 10000 -- 1 % complete.MTD_ioctl

Erasing 64 Kibyte @ 20000 -- 3 % complete.MTD_ioctl

. . . . . .

Erasing 64 Kibyte @ 3c0000 -- 95 % complete.MTD_ioctl

Erasing 64 Kibyte @ 3d0000 -- 96 % complete.MTD_ioctl

Erasing 64 Kibyte @ 3e0000 -- 98 % complete.MTD_ioctl

Erased 4032 Kibyte @ 0 -- 100% complete.

MTD_close

/>reboot

3.

Restart the device.

EKI-1121L/1122L/1124L User Manual 48

Appendix

C

C

Command Collection

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents