Embedded system development steps

Source: Internet
Author: User

Labels: Embedded System Application development steps

Establish a cross-Development Environment
Configure the development host
Port bootloader
Linux Kernel Transplantation
Create and burn the root file system to the target board
Develop embedded applications
Deployment and Configuration System
(1) Establish a cross-Development Environment
The operating system of the Development host generally selects a Linux system of a certain release version, such as redhatlinux. The Linux kernel version can be determined based on the specific needs of the project, such as the 2.4 or 2.6 kernel. Choose custom installation or all installation, and download the corresponding GCC cross compiler over the network for installation (for example, arm-Linux-GCC, arm-uclibc-GCC, and so on ), or install the cross compiler provided by the product manufacturer.
(2) configure the development host
Configure the development host to install linux on the Development host, and configure cross-connection tools, such as serial ports and network interfaces.
(3) Build the bootstrap loader
Download some public source code bootloader from the network and modify it based on your specific chip.
(4) porting the embedded Linux operating system
We are doing embedded applications, so these applications need to run on a certain operating system (embedded operating system ). Commonly used include uClinux, arm-Linux, and PPC-Linux. The best case is that there is already an embedded Linux system for the selected CPU platform, download and add your own specific for debugging.
(5) Establish a File System
From htth: // bytes. The default startup script does not meet the application requirements. Therefore, you need to modify the startup script of the root file system. Put the startup script in the/etc directory. The root file system is generally set to read-only in embedded systems. You need to use tools such as mkcramfs and genromfs to generate image files. However, some embedded systems do not directly use the root file system.
(6) create a flash disk partition for the Application
Embedded systems do not use disks as external storage. Flash is generally used. Generally, jffs2 or yaffs file systems are used. Drivers of these file systems must be provided in the kernel.
(7) Develop applications
Applications can be placed in one partition with the root file system, or in other partitions such as yaffs or yffs2.
(8) test and release the deployment and Configuration System products
After the application development is complete, you need to burn the kernel, root file system, and application, and finally test and release the product.

Embedded system development steps

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.