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!
Please also make sure CONFIG_ENV_SIZE and CONFIG_ENV_OFFSET are correct.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------