Digi 9P 9360/9750 manual Applications & Services, Tftp daemon

Page 17

R e q u i r e m e n t s

Applications & Services

To use this software, your system has to be configured to build a standard Linux 2.6. If you can build a kernel for your development platform, you can be sure that all the necessary software is installed.

Depending on the network services used during the development, additional daemons may have to be installed.

TFTP daemon

U-Boot is able to write files to the Flash memory of the module. A TFTP server is required to transport these files from your host computer to the target. Debian users can execute the following command to install a TFTP server:

#apt-get install tftpd

After completing installation, create a directory using the path “/tftboot” where exported files are located. Your images can be placed in the directory automatically by the LxNETES build environment. You must be root to create this directory.

#mkdir /tftpboot

#chmod 1777 /tftpboot

To make sure that your TFTP server is using the “/tftpboot” directory, check the Internet daemons configuration file "/etc/inetd.conf". It should contain an entry similar to the following:

tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd -s /tftpboot

If the entry is not there, use an editor and change the file accordingly.

1 7

Image 17
Contents LxNETES User’s Guide ConnectCore 9P 9360/9750 Page Page Page Contents Building the First Project Interfaces & Devices Appendix B Cross-development environment IntroductionOverview Example applications Linux kernel sourcesTemplate project What’s new in LxNETES 3.2? FeaturesGeneral features RTC Gpio This is a tip. It contains useful information about a topic Conventions used in this manualAcronyms and abbreviations System requirements RequirementsSystem Requirements/Prerequisites Optional but recommended components Disk spaceTftp daemon Applications & ServicesNFS server JTAG-Booster N E T E S U s e r ’ s G u i d e Introduction Connecting host PC with development boardGetting Started Seyon MinicomSeyon Settings Connect powerTest Ethernet configuration # ifconfig eth0 Installing LxNETESGuided Installation Manual Installation N u a l Installation Building the First Project Building the Default ProjectRun configure Run make Run make installAdding your own applications Application DevelopmentWriting applications Display Using C++Included example applications Proc/cpuinfo contents Debugging applications Choose the right architecture for your target Shell applications busybox Included pre-built applicationsTelnet daemon utelnetd Web server BoaEmbedded Qt Nano-X/microwindowsMem Useful applicationsKernel Development What is a kernel module?Writing kernel modules Writing your own kernel modulesIncluded Kernel modules Minimal Add the module to the build environmentBuilding and loading of kernel modules Advanced Topics Modifying the default projectD i f y i n g t h e d e Fault p r o j e c t Building a custom project Introduction Boot processBoot Bank # 0 00000000 32 MB ConnectCore 9P 9360/9750NAND-Flash Linux boot methodsUSB NOR FlashMMU Linux boot processV a n c e d T o p i c s Updating the Flash memory Passing arguments to the kernelAutomating the image download Updating a running system manually Updating a running system the easy wayWrite the image to Flash Download the new image file to RAMErase the Flash partition Root File System BootKernel Updating a corrupted system using a debugger Root File System Types Launch the kernel from RAM Set bootargs to be passed to the kernelDownload the kernel to RAM via Tftp 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 Serial interface Interfaces & DevicesI2C interface USB host interfaceSPI interface LCD interfaceCompact flash interface How to set the initial system date and timeSD card interface Real time clock RTCPCI interface Related documentation CD contentsAppendix a Readme.txt Install.shRelNotes.txt Docs ImagesConnectCore 9P 9360 CC9P9360 SetupConnectCore 9P 9750 CC9P9750 HardwareFlash memory layout Memory layoutsConnectCore 9P 9360 / ConnectCore 9P Sdram memory layoutTextbase N E T E S U s e r ’ s G u i d e Appendix B Boot command referenceO o t c o m m a n d r e f e r e n c e Skipped CC9C CCXP270 UNC90 Example A9M24x0 User keys