AnsweredAssumed Answered

env_buf [32 bytes] too small for value of "bootcmd_mmc"

Question asked by Xavier Boucher on Apr 10, 2014
Latest reply on May 6, 2014 by Yuri Muhin

Hi,

 

Does anybody know what this error means:

env_buf [32 bytes] too small for value of "bootcmd_mmc"

 

It pops out in the u-boot console when loading the extra env config. Here is my config for sabre SD.

 

#define    CONFIG_EXTRA_ENV_SETTINGS                            \
         "uboot=u-boot.imx\0"                            \
         "kernel=uImage\0"                            \
         "bootargs=console=ttymxc2,115200\0"                    \
         "bootargs_mmc=setenv bootargs ${bootargs} "                 \
             "root=/dev/mmcblk0p2 rootwait "                         \
             "video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB565 "        \
             "video=mxcfb2:dev=lcd,320x240M@60,if=RGB565 "            \
             " fbmem=28M vmalloc=400\0"                    \
         "bootcmd_mmc=run bootargs_mmc; mmc dev 0;"                   \
             "fatload mmc 0 ${loadaddr} ${kernel}; bootm ${loadaddr}\0"    \
         "bootcmd=run bootcmd_mmc\0"


Thank you!

Outcomes