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