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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,261件の閲覧回数
xavierboucher
Contributor III

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!

ラベル(1)
0 件の賞賛
1 返信

946件の閲覧回数
Yuri
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛