uboot无法进入命令模式,如何修改bootdelay?
-
硬件mq-pro, 软件是官方tina-linux
https://mangopi.org/_media/undefined/tina-d1h-mq-pro-overlay-hdmi-wifi.zipuboot起来后直接就引导系统,似乎bootdelay设为0了
Warning: eth0 (eth0) using random MAC address - fe:91:c9:dd:14:f7 Hit any key to stop autoboot: 0 dsp0:gpio init config fail dsp0:sharespace config fai
进入系统后
root@TinaLinux:/# fw_printenv Warning: Bad CRC, using default environment Error: Please reboot, uboot will fix the environment
无法读取uboot环境变量,
直接dump /dev/by-name/env
root@TinaLinux:/# cat /dev/by-name/env h9癳arlyprintk=sunxi-uart,0x02500000initcall_debug=0console=ttyS0,115200nand_root=/dev/ubiblock0_5mmc_root=/dev/mmcblk0p5init=/pseudo_initmtd_name=sysrootfstype=squashfsroot_partition=rootfsboot_partition=bootloglevel=8cma=8Mmac=wifi_mac=bt_mac=specialstr=keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3dsp0_partition=dsp0setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1boot_dsp0=sunxi_flash read 45000000 ${dsp0_partition};bootr 45000000 0 0boot_normal=sunxi_flash read 45000000 ${boot_partition};bootm 45000000boot_recovery=sunxi_flash read 45000000 recovery;bootm 45000000boot_fastboot=fastbootbootdelay=0bootcmd=run setargs_nand boot_dsp0 boot_normal
中间含有字符串bootdelay=0, 如果不重新编译uboot
如何调整bootdelay,使得能够进入uboot界面,哪位大侠能指点一下?谢谢了 -
@zhongtao1701 hex编辑器直接编辑固件就行
-
@whycanservice 谢谢答复,我试一下
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号