EM-1220 LX User’s Manual
Configuring the EM-1220-LX
For example, to unload the UART driver, type the following command:
/>rmmod mxser
For the EM-1240-LX, the factory default is to load the UART driver
mxser.ko
. An additional
driver module for controlling the SD/MMC memory card is loaded for the EM-1240-LX. The
location and file name for these driver modules is given below.
UART:
/lib/modules/2.6.9-MoXaRt/kernel/drivers/char/mxser.ko
SD/MMC:
/lib/modules/2.6.9-MoXaRt/kernel/drivers/mmc/mmc_core.ko
/lib/modules/2.6.9-MoXaRt/kernel/drivers/mmc/mmc_block.ko
/lib/modules/2.6.9-MoXaRt/kernel/drivers/mmc/moxasd.ko
Upgrading the Kernel
The EM-1220-LX kernel is
em1220-1.x.bin
, which can be downloaded from www.moxa.com. You
must first download this file to your PC, and then use Console Terminal or Telnet Console to copy
the file to the EM-1220-LX.
You can save this file to the EM-1220-LX’s RAM disk, and then upgrade the kernel. The
following is a step-by-step example.
To enable the RAM disk, use the following command:
/>upramdisk
As illustrated below, after executing “upramdisk”, you may use “mount” to determine if the new
ramdisk was created successfully or not.
Use the following command to navigate to the device node:
/>cd ramdisk
Use the built-in FTP client to download the file
em1220-1.x.bin
from the PC.
/ramdisk>ftp <destination PC’s IP>
Login Name: xxxx
Login Password: xxxx
ftp> bin
ftp> get em1220-1.x.bin
Use the
upkernel
command to upgrade the kernel and root file system.
/ramdisk>upkernel em1220-1.x.bin
/ramdisk>reboot
4-10