Under Chapter uboot boot mode commonly used commands

# printenv  //打印环境变量IPQ807x

# print
baudrate=115200
bootargs=console=ttyMSM0,115200n8 pcie_dev=RG50
bootcmd=bootipq
bootdelay=2
ethact=eth0
ethaddr=00:03:7f:ba:db:ae
fdt_high=0x4A400000
fdtcontroladdr=4a96fbb0
flash_type=2
ipaddr=192.168.10.1
machid=8010006
netmask=255.255.255.0
serverip=192.168.10.2
soc_version_major=1
soc_version_minor=2
stderr=serial@78B3000
stdin=serial@78B3000
stdout=serial@78B3000

Environment size: 408/262140 bytes
IPQ807x# 


IPQ807x# env default -a       //恢复默认设置
## Resetting to default environment


IPQ807x # saveenv // save the settings 
Saving Environment to the NAND ... 
Erasing the NAND ... 
Erasing AT 0xd60000 -. 100% Complete 
Writing to the NAND ... the OK 


IPQ807x # // restart the RESET 
Resetting ... 


IPQ807x # setenv ethaddr 00 : 03: 7f: ba: db : ae // set variables 
IPQ807x # save // save settings

  

Guess you like

Origin www.cnblogs.com/vx-cg248805770/p/11550962.html