Hello,
In UBoot I have bootdelay set to 0. But I need to update Uboot. But I cant push any key to stop load process. There is any way to change bootdelay param in Uboot. I am using Linux.
Thank you,
Best regards.
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.
Hello,
In UBoot I have bootdelay set to 0. But I need to update Uboot. But I cant push any key to stop load process. There is any way to change bootdelay param in Uboot. I am using Linux.
Thank you,
Best regards.
Hi David,
Where are you booting from?
If you are booting from an SD card, you can create/edit the uEnv.txt file inside it and alter/create the "bootdelay" parameter to be 3:
bootdelay=3
Another approach is to try booting through UART and then loading your new U-Boot from there.
Best regards,
Miroslav
Another suggestion is to modify the environment from Linux.
1. Go to U-Boot folder.
2. Make the "fw_printenv" tool: make env ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
3. Go to tools/env/ folder and copy the generated fw_printenv binary to your root file system.
4. Create a configuration file (fw_env.config) inside /etc in your root file system containing:
# Configuration file for fw_(printenv/setenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# MTD device name Device offset Env. size Flash sector size
/dev/mtd2 0x0000 0x20000 0x20000
Please change these values according to your NAND layout!!! NAND layout for the AM335x EVM: http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#NAND_Layout
5. Usage:
fw_printenv - print all the variables
fw_printenv bootdelay - print only the bootdelay value
fw_setenv bootdelay 3 - set the bootdelay var to 3
For more information: http://elinux.org/U-boot_environment_variables_in_linux
Best regards,
Miroslav
Hi,
I am botting from integrated nand, but I can try to load from SD car. Did you have any example fo uEnv.txt file? Can I put any variable inside this file?
thank you
Best regards.
Hi David,
Please take a look at my second suggestion about modifying the NAND from Linux user space. If this doesn't work for you, then booting from SD card should be the next easiest thing to do.
How did you set your bootdelay to 0? Did you hardcode it in the U-Boot board config file (<u-boot_folder>/include/configs/am335x_evm.h) or did you change the environment stored inside the NAND flash (address 0x00260000)?
Best regards,
Miroslav