Hello everybody! I want to change the default environment variables directly inside the u-boot sources in order to avoid to do setenv / saveenv for each mini6410 that I program. So, I look inside u-boot code, and found the mini6410.h header. Inside, I found what I'm searching for: #define CONFIG_BOOTDELAY 10 changed for #define CONFIG_BOOTDELAY 0 and add a new line: #define CONFIG_EXTRA_ENV_SETTINGS "quiet=1\0" (for don't display address during reading kernel) BUT I never see my changes at bootup despite my binary is different!!! I know that the FriendlyARM.ini contains a line allowing to change the BOOTARGS value, maybe other (all?) variables are written...? My question is: Where's the problem!!? Thanks a lot
Can't change environment variables inside u-boot sources
Hello Dhruv Vyas! Yes I compiled the modified u-boot code, from u-boot-mini6410-20101106.tar.gz, with the compiler arm-linux-gcc-4.5.1-v6-vfp-20101103.tar.gz, by launching "make CROSS_COMPILE=/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-" I get the uboot.bin and flash it via SD with help of superboot-20110722.bin bootloader...