Intermec ck1 Reference Guide

Page of 390
Appendix A — 
µClinux System 
332 
CK1 SDK Programmer’s Reference Manual 
The CK1 is provided with a robust and reliable JFFS2 file system that 
allows you to direct read/write Flash so that the data does not get lost even 
when the system hangs or turns off unexpectedly. Since there is an average 
100,000 read/write time for each block of NAND device, it is 
recommended that you write your data into RAMdisk and sync to the 
JFFS2 file system periodically.  
Kernel Block Drivers 
In the CK1, the RAM disk is mounted at the boot to the /var folder. 
Another common file system in the CK1 
µClinux is the blkmem driver, 
which is the oldest driver and specially designed for 
µClinux. It supports 
only a few different Flash devices as well as the root file systems in RAM. 
The MTD driver has been introduced in the previous section. In CK1, the 
MTD driver is used with the JFFS2 allowing it to be mounted on any raw 
random access device. It is specially designed for the Flash memories, but 
you can use it with the RAM. 
PPP Connection 
CK1 supports PPP connections. Users can set the device as a PPP server or 
dialing out PPP as a client in application running time. People could use 
null modem or modem to connect the CK1 to PC for dialing function. 
The networking servers, telnet server, ftp server, and DHCP server are 
supported by CK1. The PAP secret of PPP connection is supported by the 
CK1. Other secret protocols are under testing. The ppp_getty controls the 
PPP daemon mode. It prepares all the scripts to perform the PPP 
connecting. The pppd is the main program to establish PPP connections. 
Modem and null modem are different in chatting script. The CK1 starts 
the pppd to connect using the ppp-on-dialer that is mentioned in the ppp-
on script. 
Esfia adapted the formal GPL PPP programs into CK1. You can refer to 
the PPP Dial Setting Manual document and Linux PPP HOWTO link at 
https://secure.linuxports.com/howto/ppp/. 
Remote Upgrade 
The remote upgrade is done through the netFlash utility. Before doing 
remote upgrade, the PC side should install an FTP server. After giving the 
server IP, username, password, image path, version, and image name to the 
upgrader, the remote upgrading is performed. The version is checked 
before updating and after downloading. 
For detail procedure, see the CK1 Handheld Computer User’s Manual