Pleasant goat series [switch between arm and Linux operating platforms] and arm operating platform

Source: Internet
Author: User

Pleasant goat series [switch between arm and Linux operating platforms] and arm operating platform

Blog: http://blog.csdn.net/muyang_ren

(1) uboot boot linux Initialization settings:

Bytes --------------------------------------------------------------------------------------------
Setenv serverip 192.168.7.x // set the IP address of the tftp server (X is the last number of the IP address in ubuntu [available with ifconfig])
Setenv ipaddr 192.168.7.y // set the IP address for the Development Board (note that here, y is calculated from the number of your seat number plus 160, and each person is different)
Setenv gatewayip 192.168.7.1 // sets the Gateway
Setenv ethaddr 08: 00: 3e: 26: 0a: N // set the MAC address (N indicates the user's seat number. If N <10, add 0 to the front, for example, if the number of N on the 6th is, the number of N on the 11th is 11)
Setenv bootcmd tftp 40800000 uImage \; bootm 40800000 // set the first command after the countdown, and use the bootm command to start the kernel
Setenv bootargs init =/linuxrc console = ttySAC0, 115200 root =/dev/nfs nfsroot = 192.168.7.x:/opt/filesystem ip = 192.168.7.y
Saveenv

Bytes --------------------------------------------------------------------------------------------
(2) uboot boot arm initialization settings:
Setenv bootcmd loadb 0x40008000 \; go 0x40008000
Saveenv

Bytes --------------------------------------------------------------------------------------------
(3) change the Linux boot mode to the dnw Download Method of arm:
Setenv bootcmd loadb 0x40008000 \; go 0x40008000
Saveenv

Bytes --------------------------------------------------------------------------------------------
(4) change the arm status to Linux boot settings.
Setenv bootcmd tftp 40800000 uImage \; bootm 40800000 // set the first command after the countdown, and use the bootm command to start the kernel
Saveenv

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.