Pleasant Goat Series "arm and Linux operating platform switching to each other"

Source: Internet
Author: User

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

(1) Uboot boot Linux initialization settings:

--------------------------------------------------------------------------------------------
Setenv ServerIP 192.168.7.x Set the IP address of the TFTP server (where x is the last number of IP in Ubuntu [available with ifconfig])
setenv ipaddr 192.168.7.y Set the IP address for the board (note that Y is calculated by 160+ your seat number, everyone is different)
Setenv Gatewayip 192.168.7.1 Setting up the Gateway
Setenv ethaddr 08:00:3e:26:0a:n Set the MAC address (n is the user seat number, if n<10, please add 0 above, for example, 6th N is 06, 11th N is 11)
setenv bootcmd tftp 40800000 uimage \; BOOTM 40800000//Set the first command after the countdown, and use the BOOTM command to boot 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

--------------------------------------------------------------------------------------------
(2) Uboot boot arm initialization settings:
setenv bootcmd loadb 0x40008000\; Go 0x40008000
Saveenv

--------------------------------------------------------------------------------------------
(3) Change Linux boot to arm's DNW download mode:
setenv bootcmd loadb 0x40008000\; Go 0x40008000
Saveenv

--------------------------------------------------------------------------------------------
(4) Change 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 boot the kernel
Saveenv

Pleasant Goat Series "arm and Linux operating platform switching to each other"

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.