0.5 U-boot patching, compiling, burning writing, using and building Sourceinsight project

Source: Internet
Author: User

The main steps of u-boot patching are

1. Open the VMware virtual machine and start the Linux system

2, open the SECURECRT, connect the serial communication to the JZ2440 and SSH2 session to the Linux system

3, open CuteFTP, connect to Linux system

4,linux command

CD/

ls-ld/work/ listing only directories in a detailed list format

sudo chown book:book/work-r Modify work for the owner of the book, because the teacher forgot to change the last time, so the first use to change.

Password

Cd/work/system

LS list folder under file name

Tar xjf u-boot-1.1.6.tar.bz2 decompression

CD u-boot-1.1.6/ into the directory after decompression

Patch-p1 <. /u-boot-1.1.6_jz2440.patch hit the patch command because it has entered the folder, so use P1 to ignore the first/previous statement, and the patch file in the top level directory.

Tar cjf u-boot-1.1.6_jz2440.tar.bz2 u-boot-1.1.6 use folders to create compressed files, so I get to see and operate under Windows

CD u-boot-1.1.6/

Make 100ask24x0_config configuration file

Make compilation

5. After getting the bin file, use TFTP to burn and write.

A few points about Sourceinsight

Establish engineering

Project name

Engineering data

Location of source code

Adding source code files

(assembly file added, set)

Look at the code

variable function declaration and invocation There is also a convenient switch to define

In addition, a few points about patch files

---Indicates the file to be patched

+ + + Represents the modified file

+ represents the content to be added

-Indicates what is to be lost

0.5 U-boot patching, compiling, burning writing, using and building Sourceinsight project

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.