uboot modifica el comando de parámetro de arranque

1. Imprimir parámetros printenv

root# printenv
androidversion=5.1
baudrate=115200
bootargs=console=ttyAMA0,115200n8 androidboot.hardware=s5p4418_drone androidboot.console=ttyAMA0 androidboot.serialno=0123456789abcdef initrd=0x49000000,0x1000000 init=/init lcdtype=5.0
bootcmd=ext4load mmc 2:1 0x48000000 uImage;ext4load mmc 2:1 0x49000000 root.img.gz;bootm 0x48000000
bootdelay=3
bootfile=uImage
bootsystem=android
ethaddr=00:e2:1c:ba:e8:60
fastboot=flash=mmc,2:uboot:2nd:0x200,0x78000;flash=mmc,2:2ndboot:2nd:0x200,0x4000;flash=mmc,2:bootloader:boot:0x8000,0x70000;flash=mmc,2:boot:ext4:0x00100000,0x04000000;flash=mmc,2:system:ext4:0x04100000,0x2F200000;flash=mmc,2:cache:ext4:0x33300000,0x1AC00000;flash=mmc,2:misc:emmc:0x4E000000,0x00800000;flash=mmc,2:recovery:emmc:0x4E900000,0x01600000;flash=mmc,2:userdata:ext4:0x50000000,0x0;
filesize=240036
gatewayip=192.168.1.254
ipaddr=192.168.1.165
lcdtype=5.0
netmask=255.255.255.0
serverip=192.168.1.164
stderr=serial
stdin=serial
stdout=serial

Environment size: 984/32764 bytes

2. Configure los parámetros setenv

 setenv bootargs 'console=ttyAMA0,115200n8 androidboot.hardware=s5p4418_drone androidboot.console=ttyAMA0 androidboot.serialno=0123456789abcdef initrd=0x49000000,0x1000000 init=/init lcdtype=5.0'

3. Guarde los parámetros saveenv

root# saveenv
Saving Environment to MMC...
Writing to MMC(2)... done

4. Otros comandos uboot

Reiniciar reiniciar

5. Comando de inicio rápido fastboot

dispositivos fastboot Ver los dispositivos conectados actualmente

fastboot flash xxx xxx.xxx grabar imagen

fastboot.exe flash boot boot.img

fastboot reiniciar reinicia el dispositivo

Supongo que te gusta

Origin blog.csdn.net/Lwjobs/article/details/107440757
Recomendado
Clasificación