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"