How to modify default empty string on U-Boot to stop Autoboot in Yocto

158 Views Asked by At

I am using the SAMA5D27-SOM1-EK-SD evaluation kit and I would like to make some changes to U-Boot, in particular the Autoboot settings. I am able to load a kernel image using Yocto, and by default when U-Boot loads, it asks user to "Hit any key to STOP autoboot". I'd like for this empty string to be a custom string (e.g "abort").

Following other posts, I can do this by modifying the sama5d27_som1_ek_mmc_defconfig, but I don't see a variable to modify.

Also, I've tried changing the string by using "menuconfig" and I'm able set the string; and settings get saved in a ".config" file, but I don't think I could modify this file as it is an output.

Which file should I be modifying?

I appreciate your help in advance.

Thanks.

Gil

1

There are 1 best solutions below

1
Cleiton Bueno On

Try configure CONFIG_BOOTDELAY[1] with value -2.

What version of u-boot are you using?