LxNETES™ User’s GuideConnectCore 9P 9360/9750
Overview10 LxNETES User’s GuideLinux kernel sourcesThe LxNETES package contains the complete source code of the Linux kernel. This allows you t
11IntroductionFeaturesWhat’s new in LxNETES 3.2?Linux Kernel Linux Kernel 2.6.12.5 Added touch screen driver for the ConnectCore 9P family
Features12 LxNETES User’s Guide Drivers for the following module components and interfaces:– SDRAM memory– Flash memory–Ethernet–USB Host–Seri
13Introduction Autoconf driven build process All building can be done without root access This LxNETES version can coexist with older inst
Features14 LxNETES User’s GuideAcronyms and abbreviations# This is a target session# And this is what you must input (in bold)CGI Common Gatewa
15RequirementsRequirementsCHAPTER 2System Requirements/PrerequisitesSystem requirementsYour development system should be a reasonably fast x86
System Requirements/Prerequisites16 LxNETES User’s Guide DOS or DOS-emulator (such as dosemu)Optional but recommended components: Qt3 develop
17RequirementsApplications & ServicesTo use this software, your system has to be configured to build a standard Linux 2.6. If you can buil
System Requirements/Prerequisites18 LxNETES User’s GuideNFS serverUse the network file system (NFS) to simplify application debugging on the ta
19RequirementsAfter modifying the exports file, the NFS server has to be restarted with the following command:JTAG-BoosterThe JTAG-Booster sof
System Requirements/Prerequisites20 LxNETES User’s Guide
21Getting StartedGetting StartedCHAPTER 3IntroductionThis chapter describes how to configure and test your host PC and development board (targ
Introduction22 LxNETES User’s GuideTo use a terminal client as non-root user, either you need read/write access to/dev/ttyS<n> or the cli
23Getting StartedFigure 3-2: Seyon SettingsStep 4: Connect powerConnect the included power supply to the development board. After power-on, th
Introduction24 LxNETES User’s GuideAfter Linux started successfully, you can enter commands such as "ls", "cd", or "ca
25Getting StartedThe target network parameters can be changed in U-Boot using the "setenv" command. You can see the IP address of th
Guided Installation26 LxNETES User’s GuideGuided InstallationAfter mounting the CD you are ready to run the installer. Use the following comman
27Getting StartedManual InstallationInstead of using the installation script you can do the installation manually. Just copy the directory &qu
Manual Installation28 LxNETES User’s Guide
29Building the First ProjectBuilding the First ProjectCHAPTER 4Building the Default ProjectUntil now you have worked with the pre-loaded, defa
Digi International Inc. 2005. All Rights Reserved.The Digi logo is a registered trademarks of Digi International, Inc. All other trademarks mentione
Building the Default Project30 LxNETES User’s Guide ConnectCore 9P 9750: cc9p9750devPlease check if the script used the correct platform and d
31Application DevelopmentApplication DevelopmentCHAPTER 5Writing applicationsThe user applications are stored in subdirectory apps/ of the pro
Writing applications32 LxNETES User’s GuideUsing C++A sample C++ application “hello_world” is included in “apps/misc/src/hello_world”.You can u
33Application DevelopmentTable 6-3: /proc/cpuinfo contents
Debugging applications34 LxNETES User’s GuideDebugging applicationsThe purpose of a debugger is to allow you to see what is going on his own pr
35Application DevelopmentIn the debug interface typeThe supported architectures can be displayed with the following command:Choose the right a
Debugging applications36 LxNETES User’s GuideIncluded pre-built applicationsThe sources for the included applications can be found in the softw
37Application DevelopmentNano-X/microwindowsNano-X makes it possible to write applications using the framebuffer with an API similar to Xlib.
Useful applications38 LxNETES User’s GuideUseful applicationsmemWith this application you can read and write the contents of the SDRAM. All the
39Kernel DevelopmentKernel DevelopmentCHAPTER 6Writing kernel modulesWhat is a kernel module?Modules are pieces of code that can be loaded and
Writing kernel modules40 LxNETES User’s Guide Add the module to the build environmentYou have to edit "my_kmodule/Makefile.in" so tha
41Advanced TopicsAdvanced TopicsCHAPTER 7Modifying the default projectThe following information is the default kernel configuration for LxNETE
Modifying the default project42 LxNETES User’s GuideOnce you have configured the kernel to your system needs, save the configuration and exit.
43Advanced TopicsBuilding a custom projectTo create a custom project, that is a project for your custom hardware, first configure the default
Boot process44 LxNETES User’s GuideBoot processThis chapter describes the boot process of U-Boot and Linux.IntroductionA boot loader is a small
45Advanced TopicsConnectCore 9P 9360/9750On the ConnectCore 9P 9360 and ConnectCore 9P 9750 modules, the SPI boot loader is loaded from the SP
Linux boot methods46 LxNETES User’s GuideLinux boot methodsLinux is booted by U-Boot in one of the following ways: TFTP/NFS Flash memory USB
47Advanced TopicsNOR FlashUse the following commands if you have NOR Flash (similar to booting from NAND).USBIt is possible to load a kernel i
Linux boot process48 LxNETES User’s GuideUpdate the kenel from the USB stick to the memory and write it to flash memory.Linux boot processThe c
49Advanced TopicsUncompressing Linux... done, booting the kernel.Linux ver
5••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••ContentsChapter 1 Introduction...
Linux boot process50 LxNETES User’s GuideIf a wrong command line parameter for "console=" is used, nothing will be displayed after &q
51Advanced TopicsUpdating a running system (the easy way)On a running system, that is a system able to start the boot loader, U-Boot contains
Linux boot process52 LxNETES User’s GuideStep 1: Download the new image file to RAMThe first step is to download the image into RAM. Specify th
53Advanced TopicsFor modules with NOR flash, use this command: ConnectCore 9P 9360/9750The following commands are to update the U-Boot loader,
Updating a corrupted system using a debugger54 LxNETES User’s GuideUpdating a corrupted system using a debuggerConnectCore 9P 9360/9750If the F
55Root File System TypesRoot File System TypesCHAPTER 8The following describes the different possibilities which can be used as root file syst
56 LxNETES User’s GuideThis script does three steps (that you can also do manually):Step 1: Set bootargs to be passed to the kernelThe environ
57Root File System TypesJFFS2JFFS is a log-structured journaling flash file system which was designed to be used on Flash devices in embedded
58 LxNETES User’s GuideThe message above is printed if the file system was not cleanly unmounted. The system should not be powered off before
59Root File System TypesYou should use a separate data partition for your data which is frequently updated so your rootfs does not get corrupt
6 LxNETES User’s GuideManual Installation ...27Cha
60 LxNETES User’s Guide
61Interfaces & DevicesInterfaces & DevicesCHAPTER 9The following interfaces and devices are supported in the current LxNETES version:R
62 LxNETES User’s GuideUSB host interfaceA USB host driver is included and enabled in the default kernel configuration. To operate multiple USB
63Interfaces & DevicesCompact flash interfaceCC9P6360/9750A driver for the internal Compact Flash (CF) card interface is included and enab
64 LxNETES User’s GuideThe next step is to store this information into the RTC. Use the application hwclock:Now you can reset or power off your
65••••••••••••••••••••••••••••••••••••••••••••••••••••••••Appendix ARelated documentationCD contentsThe CD contains all the necessary software
Related documentation66 LxNETES User’s GuideThere following folders are on the CD:Readme.txtBriefly describes LxNETES and lists the CD contents
67ConnectCore 9P 9360 (CC9P9360)ConnectCore 9P 9750 (CC9P9750)hardwareThis folder contains hardware specific content. The JTAG Booster softwar
Memory layouts68 LxNETES User’s GuideupstreamLxNETES is based on various open source projects. The original source code from these projects is
69ConnectCore 9P 9360 / ConnectCore 9P 9750RAM Start AddressRAM End AddressDescription Used by0x00000000 0x00080000 U-Boot stackU-Boot0x000800
7Introduction...44U-Boot ...
Memory layouts70 LxNETES User’s Guide
71••••••••••••••••••••••••••••••••••••••••••••••••••••••••Appendix BU-Boot command referenceThis chapter gives an overview of common used U-Bo
U-Boot command reference72 LxNETES User’s Guide# help# ? - alias for 'help'# autoscr - run script from memory# base - print
73Each of these commands has additional help available, which can be viewed by entering help <command>.The following table explains some
U-Boot command reference74 LxNETES User’s GuideNote that not all U-Boot commands are supported by every platform. The following table shows whi
75The command “run” allows to execute variables as sequence od commands.Here values of other variables could be used to simplify the scripts.
8 LxNETES User’s GuideLCD interface .......62Touch s
9IntroductionIntroductionCHAPTER 1OverviewThe LxNETES package enables you to easily develop software under Linux 2.6 for Digi International an
Komentáře k této Příručce