![Nextchip SDVR2204PN Скачать руководство пользователя страница 16](http://html1.mh-extra.com/html/nextchip/sdvr2204pn/sdvr2204pn_installation-manual-and-user-manual_1684183016.webp)
NDVR2200F
Installation Guide & User’s
1/8/2008
16/66
5. Building Development Environment
This part describes how to build an environment for the development of the Embedded Linux
System. Presented here are the examples and requirements for building the system.
5.1. Host Development Environment
As for a program which is run on PC, it can be developed and compiled by a compiler that can
also be operated on PC. This compiler is called a native compiler. However, this cannot be done
for an embedded device. A solution to this is building a development host, compiling and
creating a program on a development host, downloading it to a device, and building and running
it on the device. This compiler is called a cross compiler. This allows the development of
environment for an embedded Linux device.
In general, for the development of an embedded Linux, Linux is used as the OS for the
development host. The details to build are briefly summarized as follows:
1. Prepare the Linux Host PC (Fedora core 6)
2. Build the Cross Compiler Development Environment
- binutils
- gcc
- glibc or newlibc
3. Install the server and set the environment setting
- BOOTP (not always required)
- TFTP Server
- NFS Server
4. Boot loader (ARM Boot) Source
5. Kernel source
6. Binary image (Kernel & Ramdisk)
7. Samba server setting (for Windows environment)
Development environment that developers use may vary somewhat from one developer to
another. Let’s explain the development environment for this Company only. This Company used
the approach of building Linux development host, Windows environment, and Ethernet LAN
Network.