Intermec ck1 Reference Guide
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
1
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).
example, the corresponding new image on the PC FTP server is in
/images/031008/zImage.031008 (the home directory for the user
upgrade).
2
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.
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.
3
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:
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:
a
Set the correct IP address of the PC using:
RUSetHostIP(“172.16.10.2”)
b
Set the correct FTP user name using:
RUSetLoginName(“upgrade”)
c
Set the correct FTP password using:
RUSetPassword(“getimage”)
d
Set the correct FTP download path using:
RUSetDefaultPath(“/images/031008”)
e
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.
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.
4
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.
/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.