Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    uboot无法进入命令模式,如何修改bootdelay?

    MR Series
    2
    3
    2355
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zhongtao1701
      钟工 LV 7 last edited by xiaowenge

      硬件mq-pro, 软件是官方tina-linux
      https://mangopi.org/_media/undefined/tina-d1h-mq-pro-overlay-hdmi-wifi.zip

      uboot起来后直接就引导系统,似乎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界面,哪位大侠能指点一下?谢谢了

      WhycanService 1 Reply Last reply Reply Quote Share 0
      • WhycanService
        WhycanService LV 8 @zhongtao1701 last edited by WhycanService

        @zhongtao1701 hex编辑器直接编辑固件就行

        zhongtao1701 1 Reply Last reply Reply Quote Share 0
        • zhongtao1701
          钟工 LV 7 @WhycanService last edited by

          @whycanservice 谢谢答复,我试一下

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策