Digi 9P 9360/9750 manual Building the First Project

Page 6

Manual Installation

27

Chapter 4 Building the First Project

29

Building the Default Project

29

Step 1: Run configure

29

Example:

29

Step 2: Run make

30

Step 3: Run make install

30

Chapter 5

Application Development

31

Writing applications

31

Adding your own applications

31

Example:

31

Using C++

32

Included example applications

32

display

32

Debugging applications

34

Included pre-built applications

36

Shell applications: busybox

36

Telnet daemon: utelnetd

36

Web server: Boa

36

Debug server: gdbserver

36

Nano-X/microwindows

37

Embedded Qt

37

Useful applications

38

mem

38

Chapter 6

Kernel Development

39

Writing kernel modules

39

What is a kernel module?

39

Writing your own kernel modules

39

Add your source files

39

Add the module to the build environment

40

Building and loading of kernel modules

40

Included Kernel modules

40

minimal

40

Chapter 7

Advanced Topics

41

Modifying the default project

41

Building a custom project

43

Boot process

44

6

L x N E T E S U s e r ’ s G u i d e

Image 6
Contents LxNETES User’s Guide ConnectCore 9P 9360/9750 Page Page Page Contents Building the First Project Interfaces & Devices Appendix B Introduction OverviewCross-development environment Linux kernel sources Template projectExample applications Features General featuresWhat’s new in LxNETES 3.2? RTC Gpio Conventions used in this manual This is a tip. It contains useful information about a topicAcronyms and abbreviations Requirements System Requirements/PrerequisitesSystem requirements Disk space Optional but recommended componentsApplications & Services Tftp daemonNFS server JTAG-Booster N E T E S U s e r ’ s G u i d e Connecting host PC with development board Getting StartedIntroduction Minicom SeyonConnect power Seyon SettingsTest Ethernet configuration Installing LxNETES # ifconfig eth0Guided Installation Manual Installation N u a l Installation Building the Default Project Run configureBuilding the First Project Run make install Run makeApplication Development Writing applicationsAdding your own applications Using C++ Included example applicationsDisplay Proc/cpuinfo contents Debugging applications Choose the right architecture for your target Telnet daemon utelnetd Included pre-built applicationsShell applications busybox Web server BoaNano-X/microwindows Embedded QtUseful applications MemWriting kernel modules What is a kernel module?Kernel Development Writing your own kernel modulesAdd the module to the build environment Building and loading of kernel modulesIncluded Kernel modules Minimal Modifying the default project Advanced TopicsD i f y i n g t h e d e Fault p r o j e c t Building a custom project Boot process BootIntroduction ConnectCore 9P 9360/9750 Bank # 0 00000000 32 MBLinux boot methods NAND-FlashNOR Flash USBLinux boot process MMUV a n c e d T o p i c s Passing arguments to the kernel Automating the image downloadUpdating the Flash memory Updating a running system the easy way Updating a running system manuallyDownload the new image file to RAM Erase the Flash partitionWrite the image to Flash Boot KernelRoot File System Updating a corrupted system using a debugger Root File System Types Set bootargs to be passed to the kernel Download the kernel to RAM via TftpLaunch the kernel from RAM JFFS2 Copy the kernel to RAM O t F i l e S y s t e m T y p e s N E T E S U s e r ’ s G u i d e Interfaces & Devices Serial interfaceSPI interface USB host interfaceI2C interface LCD interfaceSD card interface How to set the initial system date and timeCompact flash interface Real time clock RTCPCI interface CD contents Appendix aRelated documentation RelNotes.txt Install.shReadme.txt Docs ImagesConnectCore 9P 9750 CC9P9750 SetupConnectCore 9P 9360 CC9P9360 HardwareConnectCore 9P 9360 / ConnectCore 9P Memory layoutsFlash memory layout Sdram memory layoutTextbase N E T E S U s e r ’ s G u i d e Boot command reference Appendix BO o t c o m m a n d r e f e r e n c e Skipped CC9C CCXP270 UNC90 User keys Example A9M24x0