Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
CK1 SDK Programmer’s Reference Manual 
93 
CK1 Partitions 
Partition 
Description 
kernel 
compressed kernel image 
rootfs 
root file system cramfs image 
usrlocal /usr/local 
directory 
 
 
Upgrading the CK1 
Decide which partition to upgrade. Using the kernel partition as an 
example, the corresponding new image on the PC FTP server is in 
/images/031008/zImage.031008 (the home directory for the user 
upgrade). 
Make sure the image on the FTP server on the PC is right for the CK1 
and the version of the image on the FTP server. Use 
RUGetVendor(kernel), RUGetProduct(kernel), and 
RUGetVersion(kernel) APIs to get the vendor, product, and version 
information of the kernel partition on the CK1. 
If the vendor and product information are right and the version on the 
CK1 is older than the version on the FTP server on the PC, then 
continue with the upgrade. For the correction when the CK1 grabs the 
image from the PC FTP server by ftp, you need to: 
Set the correct IP address of the PC using: 
RUSetHostIP(“172.16.10.2”) 
Set the correct FTP user name using: 
RUSetLoginName(“upgrade”) 
Set the correct FTP password using: 
RUSetPassword(“getimage”) 
Set the correct FTP download path using: 
RUSetDefaultPath(“/images/031008”) 
Set the correct download image file name using: 
RUSetImageName(“kernel”, “kernel.Intermec.CK1.031008”) 
No matter what kinds of RUSet*****() APIs functions are called, 
those settings are stored in the files under /etc/config directory. The 
better way is to call a RUGet*****() API first to see if you need to 
update the older settings to avoid writing the same settings many 
times. 
Use RUUpgrade(“kernel”) API to tell the device to grab 
/images/031008/zImage.031008 from the PC by ftp and burn the 
image to the specified partition of the kernel. 
After the upgrade is finished, the CK1 needs to be rebooted.