Digi 9P 9360/9750 Included pre-built applications, Shell applications busybox, Web server Boa

Page 36

D e b u g g i n g a p p l i c a t i o n s

Included pre-built applications

The sources for the included applications can be found in the software folder on the LxNETES CD.

Shell applications: busybox

The “busybox” includes all standard shell applications like “cat”, “chmod”, “echo”, “mount”, “sh” and some more. They are linked into one static application to save flash memory, at the cost of a larger RAM footprint for each application, so this is not recommended for daemons. LxNETES has stripped off the less important applications in order to obtain a small busybox binary.

Telnet daemon: utelnetd

Utelnetd is a small telnet daemon. It is launched by “init”. For login use the Telnet on our host computer to connect to the target.

You don’t need to provide username or password.

Web server: Boa

Boa is a small single-tasking HTTP server. The configuration file “boa.conf” is located in the “/etc/boa/” directory on the target. It can be modified on the host system. There it is located in “base_rootfs/etc/boa/” in the source directory.

Debug server: gdbserver

With gdbserver it is possible to debug on a remote machine while the debugger itself runs on the host system.

3 6

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

Image 36
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 Included pre-built applications Shell applications busyboxTelnet daemon utelnetd Web server BoaNano-X/microwindows Embedded QtUseful applications MemWhat is a kernel module? Kernel DevelopmentWriting kernel modules 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 interfaceUSB host interface I2C interfaceSPI interface LCD interfaceHow to set the initial system date and time Compact flash interfaceSD card interface Real time clock RTCPCI interface CD contents Appendix aRelated documentation Install.sh Readme.txtRelNotes.txt Docs ImagesSetup ConnectCore 9P 9360 CC9P9360ConnectCore 9P 9750 CC9P9750 HardwareMemory layouts Flash memory layoutConnectCore 9P 9360 / ConnectCore 9P 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