title: U-Boot Config Parameter not used
body: <p>Blockquote</p>
  
  <p>I am using u-boot as an bootloader for an embedded device. Since i want it to boot very fast i wanted to do some modifications on the configuration (defconfig) and rebuild it. I set the CONFIG_BOOTDELAY paramter to zero and it also appeared in the .config configuration file =0.</p>
  
  <p>The problem is that when i try to boot the device that the bootdelay is always set to 1. I don't know where the bootloader is getting this paramter.</p>
  
  <p>I am using a BeagleBoneBlack Rev. C with a Debian Distribution. C</p>
  
  <p>Does anyone know where the value is coming from? I also checked all the uEnv.txt...</p>
  
  <p>Booting:</p>
  
  <p>U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)</p>
  
  <p>reading args</p>
  
  <p>spl_load_image_fat_os: error reading image args, err - -1
  reading u-boot.img</p>
  
  <p>reading u-boot.img</p>
  
  <p>U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)</p>
  
  <p>I2C:   ready</p>
  
  <p>DRAM:  512 MiB</p>
  
  <p>NAND:  0 MiB</p>
  
  <p>MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1</p>
  
  <p>*** Warning - readenv() failed, using default environment</p>
  
  <p>Net:    not set. Validating first E-fuse MAC
  cpsw, usb_ether</p>
  
  <p>Hit any key to stop autoboot:  0</p>
  
  <p>gpio: pin 53 (gpio 53) value is 1
  mmc0 is current device</p>
  
  <p>gpio: pin 54 (gpio 54) value is 1</p>
  
  <p>SD/MMC found on device 0</p>
  
  <p>798 bytes read in 17 ms (44.9 KiB/s)</p>
  
  <p>gpio: pin 55 (gpio 55) value is 1</p>
  
  <p>Loaded environment from uEnv.txt</p>
  
  <p>Importing environment from mmc ...</p>
  
  <p>Checking if uenvcmd is set ...</p>
  
  <p>gpio: pin 56 (gpio 56) value is 1</p>
  
  <p>Running uenvcmd ...</p>
  
  <p>22 bytes read in 30 ms (0 Bytes/s)</p>
  
  <p>7349664 bytes read in 433 ms (16.2 MiB/s)</p>
  
  <p>55834 bytes read in 72 ms (756.8 KiB/s)</p>
  
  <p>Kernel image @ 0x82000000 [ 0x000000 - 0x7025a0 ]</p>
  
  <h2>Flattened Device Tree blob at 88000000</h2>
  
  <p>Booting using the fdt blob at 0x88000000</p>
  
  <p>Using Device Tree in place at 88000000, end 88010a19</p>
  
  <p>Pri Output:</p>
  
  <p>U-Boot# pri</p>
  
  <p>arch=arm</p>
  
  <p>baudrate=115200</p>
  
  <p>board=am335x</p>
  
  <p>board_name=A335BNLT</p>
  
  <p>board_rev=00C0</p>
  
  <p>boot_fdt=try</p>
  
  <p>bootcmd=gpio set 53; i2c mw 0x24 1 0x3e; run findfdt; run mmcboot;gpio clear 56; gpio clear 55; gpio clear 54; setenv mmcdev 1; setenv bootpart 1:1; run mmcboot;run nandboot;</p>
  
  <p>bootcount=1</p>
  
  <p>bootdelay=1</p>
  
  <p>bootenv=uEnv.txt</p>
  
  <p>bootfile=zImage</p>
  
  <p>bootpart=0:1</p>
  
  <p>console=ttyO0,115200n8</p>
  
  <p>cpu=armv7</p>
  
  <p>dfu_alt_info_emmc=rawemmc mmc 0 3751936</p>
  
  <p>dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw mmc 100 100;u-boot.img.raw mmc 300 400;spl-os-args.raw mmc 80 80;spl-os-image.raw mmc 900 2000;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
  dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;u-boot-spl-os part 0 6;kernel part 0 8;rootfs part 0 9</p>
  
  <p>dfu_alt_info_ram=kernel ram 0x80200000 0xD80000;fdt ram 0x80F80000 0x80000;ramdisk ram 0x81000000 0x4000000</p>
  
  <p>eth1addr=04:a3:16:ac:0a:3f</p>
  
  <p>ethact=cpsw</p>
  
  <p>ethaddr=04:a3:16:ac:0a:3d</p>
  
  <p>fdt_high=0xffffffff</p>
  
  <p>fdtaddr=0x88000000</p>
  
  <p>fdtdir=/dtbs</p>
  
  <p>fdtfile=undefined</p>
  
  <p>findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; setenv fdtbase am335x-bone; fi; if test $board_name = A335BNLT; then setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; fi; if test $board_name = A33515BB; then setenv fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfile am335x-evmsk.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi;</p>
  
  <p>importbootenv=echo Importing environment from mmc ...; env import -t </p>
  
  <p>$loadaddr $filesize</p>
  
  <p>loadaddr=0x82000000</p>
  
  <p>loadbootenv=load mmc ${bootpart} ${loadaddr} ${bootenv}</p>
  
  <p>loadfdt=load mmc ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}</p>
  
  <p>loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}</p>
  
  <p>loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz</p>
  
  <p>mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} </p>
  
  <p>rootfstype=${mmcrootfstype}</p>
  
  <p>mmcboot=mmc dev ${mmcdev}; if mmc rescan; then gpio set 54;echo SD/MMC found on device ${mmcdev};if run loadbootenv; then gpio set 55;echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $cape; then if test -e mmc ${bootpart} ${fdtdir}/$fdtbase-$cape.dtb; then setenv fdtfile $fdtbase-$cape.dtb; fi; echo using: $fdtfile...; fi; echo Checking if uenvcmd is set ...;if test -n $uenvcmd; then gpio set 56; echo Running uenvcmd ...;run uenvcmd;fi;echo; echo uenvcmd was not defined in uEnv.txt ...;fi;</p>
  
  <p>mmcdev=0</p>
  
  <p>mmcloados=run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
  mmcpart=1</p>
  
  <p>mmcroot=/dev/mmcblk0p2 ro fixrtc</p>
  
  <p>mmcrootfstype=ext4 rootwait</p>
  
  <p>mtdids=nand0=omap2-nand.0</p>
  
  <p>mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1792k(u-boot),128k(u-boot-spl-os),128k(u-boot-env),5m(kernel),-(rootfs)</p>
  
  <p>nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} </p>
  
  <p>rootfstype=${nandrootfstype}</p>
  
  <p>nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} </p>
  
  <p>u-boot-spl-os; nand read ${loadaddr} kernel; bootz ${loadaddr} - ${fdtaddr}</p>
  
  <p>nandroot=ubi0:rootfs rw ubi.mtd=7,2048</p>
  
  <p>nandrootfstype=ubifs rootwait=1</p>
  
  <p>netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs </p>
  
  <p>nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp</p>
  
  <p>netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadaddr} ${bootfile}; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}</p>
  
  <p>nfsopts=nolock</p>
  
  <p>partitions=uuid_disk=${uuid_gpt_disk};</p>
  
  <p>name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}</p>
  
  <p>ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} </p>
  
  <p>rootfstype=${ramrootfstype}</p>
  
  <p>ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr}</p>
  
  <p>ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M</p>
  
  <p>ramrootfstype=ext2</p>
  
  <p>rdaddr=0x88080000</p>
  
  <p>rootpath=/export/rootfs</p>
  
  <p>soc=am33xx</p>
  
  <p>spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}</p>
  
  <p>spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr}</p>
  
  <p>spibusno=0</p>
  
  <p>spiimgsize=0x362000</p>
  
  <p>spiroot=/dev/mtdblock4 rw</p>
  
  <p>spirootfstype=jffs2</p>
  
  <p>spisrcaddr=0xe0000</p>
  
  <p>static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off</p>
  
  <p>stderr=serial</p>
  
  <p>stdin=serial</p>
  
  <p>stdout=serial</p>
  
  <p>usbnet_devaddr=04:a3:16:ac:0a:3f</p>
  
  <p>vendor=ti</p>
  
  <p>ver=U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)</p>