uboot modifier la commande de paramètre de démarrage

1. Paramètres d'impression 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. Définissez les paramètres 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. Enregistrez les paramètres saveenv

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

4. Autres commandes uboot

Redémarrez la réinitialisation

5. Commande de démarrage rapide de démarrage rapide

appareils à démarrage rapide Afficher les appareils actuellement connectés

Fastboot flash xxx xxx.xxx graver l'image

fastboot.exe flash boot boot.img

redémarrage rapide redémarrer l'appareil

Je suppose que tu aimes

Origine blog.csdn.net/Lwjobs/article/details/107440757
conseillé
Classement