System Level Solutions vi
Table of Contents
1. Introduction....................................................................................................... 1
1.1 Software................................................................................................................................. 1
1.2 Hardware................................................................................................................................ 1
1.2.1 Target processor........................................................................................................... 1
1.2.2 NEEK Kit (Nios Embedded Evaluation kit)................................................................ 1
1.3 Supported Devices................................................................................................................. 2
1.4 Development Platform Requirements.................................................................................... 2
1.5 Setup...................................................................................................................................... 2
2. uClinux NEEK BSP Development Environment........................................... 5
2.1 NEEK BSP SOPC System..................................................................................................... 5
2.2 Development Environment.................................................................................................... 5
2.2.1 NEEK BSP Components ............................................................................................. 6
2.2.2 IP Address Used .......................................................................................................... 7
2.3 Development Host ................................................................................................................. 7
2.3.1 Downloading and Unpacking uClinux NEEK BSP..................................................... 7
2.3.2 Directory Contents....................................................................................................... 8
2.4 Development Target............................................................................................................... 8
2.4.1 Configuring and Compiling the uClinux ..................................................................... 8
2.4.2 Set System.ptf............................................................................................................11
2.4.3 Customization of Kernel Settings.............................................................................. 13
2.4.4 Building uClinux zImage........................................................................................... 14
3. Downloading and Running zImage............................................................... 15
3.1 Running zImage on Linux.................................................................................................... 15
3.1.1 Using JTAG UART Console..................................................................................... 15
3.1.2 Using Serial UART Console...................................................................................... 15
3.2 Running zImage on windows............................................................................................... 17
3.2.1 Using JTAG UART Console..................................................................................... 17
3.2.2 Using Serial UART Console...................................................................................... 18
4. Configuring Device Drivers and File Systems.............................................. 19
4.1 Board Selection.................................................................................................................... 19
4.2 Flash Memory (MTD) Driver.............................................................................................. 20
4.2.1 JFFS2 File System Configuration.............................................................................. 20
4.3 SLS SD Card IP Driver........................................................................................................ 21
4.3.1 VFAT......................................................................................................................... 21
4.4 SLS Ethernet IP Driver........................................................................................................ 22
4.4.1 NFS 23
4.5 SLS VGA IP Driver............................................................................................................. 23
4.6 SLS PS/2 IP Driver.............................................................................................................. 23
4.7 SLS Touch Panel Controller (TPC) IP Driver ..................................................................... 24
4.8 SLS I
2
S IP Driver................................................................................................................. 24
4.9 Serial UART Driver............................................................................................................. 24
4.10 JTAG UART Driver .......................................................................................................... 25
5. User Applications............................................................................................ 26
5.1 Flash and JFFS2 Application............................................................................................... 26
5.1.1 Flash Tools................................................................................................................. 26