Digi 9P 9360/9750 manual Run make install

Page 30

B u i l d i n g t h e D e f a u l t P r o j e c t

ConnectCore 9P 9750: cc9p9750dev

Please check if the script used the correct platform and detected the right directory to install the kernel and the nfsroot directory. If you used the suggested paths in the setup of the TFTPD and NFS server, the output of configure should contain:

checking which directory to install bootfiles to... /tftpboot

checking which directory to install nfsroot to... /exports

If configure returns an error, you can provide the correct paths to use:

--enable-exportdir=/path/to/exportdir

--enable-tftpbootdir=/path/to/tftpbootdir

Step 2: Run make

After configure finished successfully, run make:

~/LxNETES-3.2/build$ make

SHIPPED linux/.config

MAKE uImage

...

This will build your first kernel image.

Step 3: Run make install

If the configure script was able to detect the directories for exporting a root file system via TFTP and NFS serving, add install to the make command to copy the output files from the build process to the appropriate locations.

~/LxNETES-3.2/build$ make install

...

You need write permissions in the corresponding directories.

3 0

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

Image 30
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