This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mini-uboot设置uboot参数

mini-uboot的启动时间无法设置,里面只有setenv没有saveenv;怎么设置mini-uboot的启动时间,第一阶段启动时间太长了

  • 你好,

    请问你使用的是哪款芯片?

    dg q 说:
    mini-uboot的启动时间无法设置,里面只有setenv没有saveenv;

    直接修改uboot代码,然后编译

    dg q 说:
    怎么设置mini-uboot的启动时间,第一阶段启动时间太长了

    你说的启动时间是什么?是bootdelay的设置么?

  • 对,是bootdelay,但是mini-boot的环境参数没法设置啊,参数如下:
    TI-MIN#
    TI-MIN#help
    ? - alias for 'help'
    base - print or set address offset
    bootm - boot application image from memory
    cmp - memory compare
    cp - memory copy
    crc32 - checksum calculation
    dcache - enable or disable data cache
    echo - echo args to console
    go - start application at address 'addr'
    help - print command description/usage
    icache - enable or disable instruction cache
    ipnc_ff_init- IPNC Full feature mode script
    loadb - load binary file over serial line (kermit mode)
    loady - load binary file over serial line (ymodem mode)
    loop - infinite loop on address range
    md - memory display
    mm - memory modify (auto-incrementing address)
    mtest - simple RAM read/write test
    mw - memory write (fill)
    nand - NAND sub-system
    nandecc - Switch NAND ECC calculation algorithm b/w hardware and software
    nboot - boot from NAND device
    nm - memory modify (constant address)
    printenv- print environment variables
    reset - Perform RESET of the CPU
    setenv - set environment variables
    version - print monitor version
    里面只有setenv没有任何save相关的,只能设置却保存不了
  • 你好,

    你能否参考下面帖子的信息,自己修改一下uboot代码里的bootdelay的默认值?

    e2e.ti.com/.../1038704

    In file {EZSDK}/board-support/u-boot-2010.06-psp04.04.00.01/include/configs/ti8148_evm.h

    //# define CONFIG_BOOTDELAY 3 /* set to negative value for no autoboot */
    # define CONFIG_BOOTDELAY -1
  • 这个我知道,我是想知道uboot第一阶段如何设置环境变量的值并保存
  • 还有,如何通过软件来拉高拉低gpio的管脚?
  • dg q 说:
    这个我知道,我是想知道uboot第一阶段如何设置环境变量的值并保存

    你好,

    建议你对比一下include/config下相关头文件里面对于uboot min的define和uboot的define的区别,因为uboot可以保存环境变量。