$bash ./build_u-boot.sh issuing error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

$bash ./build_u-boot.sh issuing error

1,216 次查看
srinivasaporam
Contributor II

Hi,

We have got a customized board which is designed based on reference board (Wandboard-dual). While board bringing up we have used yocto's "BSP porting Guide".

While we have run the command: $ bash ./build_u-boot.sh

it is trying to build and finally issuing following error:

error: expected '}' before 'CONFIG_DEFAULT_FDT_FILE'

  "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \

              ^

/home/srinivas/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/u-boot-fslc/v2013.10-r0/git/include/env_default.h:122:2: note: in expansion of macro 'CONFIG_EXTRA_ENV_SETTINGS'

  CONFIG_EXTRA_ENV_SETTINGS

  ^

make[1]: *** [env_common.o] Error 1

make[1]: Leaving directory `/home/srinivas/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/u-boot-fslc/v2013.10-r0/git/common'

make: *** [common/libcommon.o] Error 2

how to resolve this problem

标签 (5)
标记 (1)
0 项奖励
回复
1 回复

1,074 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Just with that information is difficult to have a clear idea about the issue.

My suggestion is to try to build u-boot from the original code with the configuration you used as reference and make sure it builds.

After that you can start to narrow down the problem.

Best Regards,

Alejandro

0 项奖励
回复