Compilation of blob of cainiao

Source: Internet
Author: User
Cainiao's blob compilation-general Linux technology-Linux programming and kernel information. The following is a detailed description. System Configuration: fedora 7 + arm-linux-tools-20061213 + blob-for3000 + uClinux-dist-20041215

Compilation steps:

First, rewrite the blob program based on the hardware of the target system.

Compile uClinux-dist (obtain the Kernel configuration source file)

Then:

Configure the cross-compilation environment

# Tar zxvf arm-linux-tools-20061213.tar.gz

# Ls

Usr

# Cp usr/usr

/* This step is required. Instead of this step, the unzipped usr folder is directly written into the PATH, and the results can be correctly displayed using which, arm-linux-gcc-v, and so on, but it cannot be used to compile hello. the reason is that usr/local/arm-linux/lib/libm. so.6 is a link file. The link address is located in/usr/loacl in the system directory, rather than in usr/local */

Compile bootloader

# Cd blob-for3000

# Cd tools

# Pwd

/Root/blob-for3000/tools

# Chmod 711 rebuild-gcc

# Rebuild-gcc

# Rebuild-gcc

# Cd ..

# Pwd

/Root/blob-for3000

########## Compile the blob-for3000 ###########

# Vi build-s3c44b0/* here is mainly to modify "-- with-prefix-linux = (kernel source file location )"*/

#./Build-s3c44b0

/* If the compiled Kernel File is in the blob-for3000/src/blob, download it to the target system */

####### Compile the blob-2.05-pre2 ###########

#./Configure -- with-board = target board model -- with-linux-prefix = kernel source file location

# Make

/* If the compiled Kernel File is in the blob-2.05-pre2/src/blob, download it to the target system */
Related Article

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.