2017.2.28 Study notes------------uboot and Linux kernel patching, compiling, burning write

Source: Internet
Author: User

The three ping pass is to be able to transfer files.

The No. 0 Lesson 5th Section _ Just contact the development Board's u-boot to build the use and constructs the Sourceinsight project:

Uboot hit Patch: Uboot source code is not used in 2440, hit the patch can be used in 2440 (inside the virtual machine configuration, specifically used to Ls,cd,tar XJF u-boot-1.1.6 instructions), extracted and so on, forget to watch the video.

SOURCE Insight Project: Operating software, easy to see Uboot source code and so on, nothing to say.

Compiling: CD u-boot-1.1.6

Make 100ask_24x0.config

Make

At the end of the compilation, Uboot.bin (/work/system/u-boot-1.1.6$) is generated in the virtual machine, and Uboot.bin files are passed back to the Windows directory via CuteFTP software.

Burn write: Uboot.bin (Oflash,dnw,tftp can be burned) by previous knowledge

No. 0 Lesson 6th, just contact with the core of the Development Board patch build use and build Sourceinsight project:

Kernel patching:

(1) Upload kernel, kernel patch files to virtual machine (FTP)

(2) in virtual machine: Cd/work/system;  Tar xjf linux-2.6.22.6; CD linux-2.6.22.6/;

PATCH–P1 < /linux2.6.22.6_jz2440.patch;

CP config_ok. config;

Make uimage;

Make clean

CD://The above procedure will drag a patch file under Windows into the virtual machine, unzip the patch in the virtual machine to complete

Tar cjf linux-2.6.22.6.tar.bz2 linux-2.6.22.6//compress the files in the virtual machine, and then drag the file back to Windows, as it is easier to see the files under Windows

Compress complete, drag back to Windows

CD linux-2.6.22.6/

CP config_ok. config

Make Uimage//This uimage is the kernel image that was used in the previous lessons, this time we just learned to do it again, but the most important thing is how to do it, it's all about physical activity.

(3) in the source sight project: In the SI inside look at the code (SI folder in the kernal_projects inside) in the Add file in can, do not watch the video.

(4) After compilation Uimage generated, you can drag back to Windows, and then burn Write tool to burn write to the Development Board.

2017.2.28 Study notes------------uboot and Linux kernel patching, compiling, burning write

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.