
System Level Solutions 15
zImage is one type of elf file which contains compress kernel image and romfs
image. Given below are the steps for downloading a running zImage in to the
NEEK hardware platform.
3.1 Running zImage on Linux
3.1.1 Using JTAG UART Console
To run zImage on Linux, you should have Nios2 EDS installed on your pc with
properly set environmental variables. We will use utilities from Nios2 EDS. This
description is for JTAG UART console only.
First configure .sof
#nios2-configure-sof /home/uClinux/System-
files/sls_neek_bsp_hw.sof
To download zImage, open the terminal
#nios2-download –g /home/uClinux/nios2-linux/uClinux-dist
/images/zImage
Run the command
#nios2-terminal
Here you will see booting.
3.1.2 Using Serial UART Console
Use Minicom as serial terminal emulator. First of all configure Minicom to use it
with zImage. Follow the steps below to configure Minicom.
1. On your terminal type,
# minicom -s
The Minicom configuration window opens. See Figure 12 . Select Serial port
setup and press Enter key.