advertisement
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
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 8 Overview
- 8 Features
- 8 Specifications
- 9 Packing List
- 12 Understanding the EKI-1121L/1122L/1124L
- 12 Hardware
- 12 LED Indicators
- 12 Table 2.1: EKI-1121L/1122L/1124L LED Indicators
- 13 Dimensions (Units: mm)
- 13 Figure 2.1 Front View of EKI-1121L
- 13 Figure 2.2 Side View of EKI-1121L
- 14 Figure 2.3 Back View of EKI-1121L
- 14 Figure 2.4 Top View of EKI-1121L
- 15 Figure 2.5 Front View of EKI-1122L
- 15 Figure 2.6 Side View of EKI-1122L
- 16 Figure 2.7 Back View of EKI-1122L
- 16 Figure 2.8 Top View of EKI-1122L
- 17 Figure 2.9 Front View of EKI-1124L
- 17 Figure 2.10Side View of EKI-1124L
- 18 Figure 2.11Back View of EKI-1124L
- 18 Figure 2.12Top View of EKI-1224L
- 19 Connecting Hardware
- 19 Choosing the Location
- 19 Figure 2.13Combine the Metal Mounting Kit
- 20 Figure 2.14Din-rail Step
- 21 Figure 2.15Din-rail Step
- 21 Connecting Power
- 21 Figure 2.16Power Connector
- 22 Connecting Serial Device
- 22 Connecting to a Host or the Network
- 24 Connecting the Hardware
- 24 Figure 3.1 The boot up messages
- 25 OS Configuration and Usage
- 25 Configure RTC
- 25 Figure 3.2 Configure RTC
- 26 Configure IP
- 26 Figure 3.3 Configure Ethernet Interface Using Static IP
- 27 Figure 3.4 Configure Ethernet Interface Using DHCP
- 28 TELNET Service and Client
- 28 Figure 3.5 TELNET Service and Client
- 29 FTP Service and Client
- 29 Figure 3.6 FTP Client in Another Computer
- 30 Figure 3.7 FTP Command in Another Computer
- 31 Figure 3.8 FTP Client in EKI
- 32 TFTP Service and Client
- 32 Figure 3.9 TFTP Server in EKI-1121L/1122L/1124L
- 33 Figure 3.10TFTP Client in EKI-1121L/1122L/1124L
- 34 NFS Client
- 34 Figure 3.11NFS Client in EKI-1121L/1122L/1124L
- 35 NTP Client
- 35 Figure 3.12NTP Client in EKI-1121L/1122L/1124L
- 36 SNMP Service
- 36 Figure 3.13SNMP Client in EKI-1121L/1122L/1124L
- 37 Figure 3.14SNMP Message in Manage Computer
- 38 Mail Client
- 38 Figure 3.15MAIL Client in EKI
- 39 3.2.10 Web Server
- 39 3.2.11 PPP Client
- 40 3.2.12 PPPoE client
- 41 Partition of Flash
- 44 Establish Develop Environment
- 44 Install the Cross Compile Tool Chain
- 44 Setup the Runtime Environment
- 44 Put Applications into
- 44 Check the Flash Memory Space
- 45 User Space via FTP
- 45 Figure 4.1 How to Get Applications via FTP
- 45 Root File-system
- 45 Device APIs
- 45 Serial port APIs
- 46 RTC APIs
- 46 LED APIs
- 50 Troubleshooting
- 52 Restore the Platform Kernel
- 54 Erase JFFS2 File System
- 56 File manager
- 56 Editor
- 57 Network
- 57 Process
- 58 Others