Mainline U-Boot for A20-SOM with bootdelay

Started by ivan_metla, April 15, 2015, 10:00:03 PM

Previous topic - Next topic

ivan_metla

Hi. I make u-boot(Mainline U-Boot) for olimex a20-som. I configured it with "*_defconfig". Which options I must add to defconfig for change BOOTDELAY from 2 to 0.(When boot running - it is waiting 2 seconds for press any key. I want that it isn't waiting press any key.) Or How can I do it othater way.

My " A20-OLinuXino-Antrax_defconfig"
CONFIG_SPL=y
CONFIG_FDTFILE="sun7i-a20-olinuxino-lime2.dtb"
CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_MACH_SUN7I=y
CONFIG_DRAM_CLK=480
CONFIG_DRAM_ZQ=127
CONFIG_DRAM_EMR1=4

CONFIG_VIDEO=n
CONFIG_VIDEO_LCD_PANEL_PARALLEL=n
CONFIG_USB_KEYBOARD=n
-------
I compile u-boot via commands.

make CROSS_COMPILE=arm-linux-gnueabihf- A20-OLinuXino-Antrax_defconfig O=build

make CROSS_COMPILE=arm-linux-gnueabihf- O=build
------
and then write it to sd-card:

dd if=build/u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8

edhoari

Hello,

you may try the following:
- Boot the board and wait for message "Press any key..."
- Press any key
- On the command prompt type "setenv bootdelay 0"
- Then "saveenv" to save the configuration
- Reboot