Modify the Startup Mode of the Development Board

Source: Internet
Author: User

Dm6447

For debuggingProgramConvenient,

Start kernel using TFTP

Network File System.

Pc ip: 192.168.0.60

Dm6447 IP: 192.168.0.32

Gatway: 192.168.0.1

Netmask: 255.255.255.0

Create an NFS shared folder under the OPT folder in the root file system of PC Linux,

# Printenv // view the current configuration Environment

# Setenv Server IP 192.168.0.60 // server IP address, which is the host address connected to the board

# Setenv nfsroot 192.168.0.60:/opt/nfs // set the root directory of the NFS Shared File System

# Setenv serverip 192.168.0.60 // set the kernel startup mode to TFTP.

# Setenv nfsroot 192.168.0.60:/opt/nfs // Network File System

# Setenv bootargs console = ttys0, 115200n8 noinitrd rw ip = 192.168.0.32: 255.255.255.0: 192.168.0.1 root =/opt/nfs nfsroot = $ (nfsroot), video = dm64xxfb: Output = pal

In this way, you can start the board on the PC and debug the program on the PC.

(A Lot Of duplicates... According to the dm6467 development platform building method, the operation was successful. I don't know which one can be removed .... Try it by yourself
Http://wenku.baidu.com/view/0549c4215901020207409c8b.html)

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.