SWUpdate for the iMX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SWUpdate for the iMX6

3,787 Views
huangzhaocn
Contributor I

I am the new user of the Yocto and the i.mx6ull. I follow the guide to add the meta-swupdate layer in the i.mx6ull's BSP. But there is an ERROR in my building process as follow. Can you tell me how to solve this problem? Thanks.

$ bitbake swupdate-image
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2796 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:00
Parsing of 2221 .bb files complete (2205 cached, 16 parsed). 2796 targets, 439 skipped, 5 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ull14x14evk"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "4.1.15-2.0.0"
TUNE_FEATURES = "arm armv7ve vfp neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-yocto = "HEAD:f5da2a5913319ad6ac2141438ba1aa17576326ab"
meta-oe
meta-multimedia = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-fsl-arm = "HEAD:be78894e4682f111575470fb23e51e6ba523508d"
meta-fsl-arm-extra = "HEAD:3dfb82fc7e703eae9891b3ffda0e9393701f2396"
meta-fsl-demos = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492"
meta-bsp
meta-sdk = "HEAD:0451810f7ec7da962bd899f5b0fe26afee1676ca"
meta-browser = "HEAD:77736988073a5d90fcff9d0005c8477332ede387"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-qt5 = "HEAD:ccae79be69c5268df3b47e4e14cea0591c39a531"
meta-swupdate = "master:cff58596ed6329c2fd383091fe5fe72ec0ec90ca"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: u-boot-fw-utils-v2016.03+gitAUTOINC+df61a74e68-r0 do_compile: oe_runmake failed
ERROR: u-boot-fw-utils-v2016.03+gitAUTOINC+df61a74e68-r0 do_compile: Function failed: do_compile (log file is located at /home/cc/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0/temp/log.do_compile.36141)
ERROR: Logfile of failure stored in: /home/cc/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0/temp/log.do_compile.36141
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/cc/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/cc/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/cc/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/cc/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed V=1 mx6ull_14x14_evk_config
| make -f ./scripts/Makefile.build obj=scripts/basic
| rm -f .tmp_quiet_recordmcount
| make -f ./scripts/Makefile.build obj=scripts/kconfig mx6ull_14x14_evk_config
| scripts/kconfig/conf --defconfig=arch/../configs/mx6ull_14x14_evk_defconfig Kconfig
| ***
| *** Can't find default configuration "arch/../configs/mx6ull_14x14_evk_defconfig"!
| ***
| make[1]: *** [mx6ull_14x14_evk_defconfig] Error 1
| make: *** [mx6ull_14x14_evk_config] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/cc/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0/temp/log.do_compile.36141)
ERROR: Task 818 (/home/cc/fsl-release-bsp/sources/poky/meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1437 tasks of which 1436 didn't need to be rerun and 1 failed.
No currently running tasks (855 of 1482)
Summary: 1 task failed:
/home/cc/fsl-release-bsp/sources/poky/meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Labels (1)
0 Kudos
8 Replies

1,913 Views
huangzhaocn
Contributor I

In u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0/git/configs, there is not have the mx6ull_14x14_evk_defconfig file. This u-boot-fw-utils version don't surport the iMX6ULL?

0 Kudos

1,913 Views
jimmychan
NXP TechSupport
NXP TechSupport

what is the error in the log.do_compile

0 Kudos

1,913 Views
huangzhaocn
Contributor I

Hi, the log.do_compile show as below:

DEBUG: Executing shell function do_compile
NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed V=1 mx6ull_14x14_evk_config
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig mx6ull_14x14_evk_config
scripts/kconfig/conf --defconfig=arch/../configs/mx6ull_14x14_evk_defconfig Kconfig
***
*** Can't find default configuration "arch/../configs/mx6ull_14x14_evk_defconfig"!
***
make[1]: *** [mx6ull_14x14_evk_defconfig] Error 1
make: *** [mx6ull_14x14_evk_config] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0/temp/log.do_compile.3713)

0 Kudos

1,913 Views
jimmychan
NXP TechSupport
NXP TechSupport

*** Can't find default configuration "arch/../configs/mx6ull_14x14_evk_defconfig"!

Please check this in your source code.

0 Kudos

1,913 Views
huangzhaocn
Contributor I

I make a new mx6ull_14x14_evk_defconfig file, but there is another issue as below log.

DEBUG: Executing shell function do_compile
NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed V=1 mx6ull_14x14_evk_config
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig mx6ull_14x14_evk_config
scripts/kconfig/conf --defconfig=arch/../configs/mx6ull_14x14_evk_defconfig Kconfig
#
# configuration written to .config
#
NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed V=1 env
make -f ./Makefile silentoldconfig
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig silentoldconfig
mkdir -p include/config include/generated
scripts/kconfig/conf --silentoldconfig Kconfig
make -f ./scripts/Makefile.autoconf || \
{ rm -f include/config/auto.conf; false; }
if [ -d arch/arm/mach-mx6/include/mach ]; then \
dest=../../mach-mx6/include/mach; \
else \
dest=arch-mx6; \
fi; \
ln -fsn $dest arch/arm/include/asm/arch
set -e; : ' CHK include/config.h'; mkdir -p include/; (echo "/* Automatically generated - do not edit */"; for i in $(echo "IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg" | sed 's/,/ /g'); do echo \#define CONFIG_$i | sed '/=/ {s/=/ /;q; } ; { s/$/ 1/; }'; done; echo \#define CONFIG_BOARDDIR board/; echo \#include \<config_defaults.h\>; echo \#include \<config_uncmd_spl.h\>; echo \#include \<configs/.h\>; echo \#include \<asm/config.h\>; echo \#include \<config_fallbacks.h\>;) < scripts/Makefile.autoconf > include/config.h.tmp; if [ -r include/config.h ] && cmp -s include/config.h include/config.h.tmp; then rm -f include/config.h.tmp; else : ' UPD include/config.h'; mv -f include/config.h.tmp include/config.h; fi
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -O2 -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__KERNEL__ -D__UBOOT__ -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -pipe -Iinclude -I./arch/arm/include -include ./include/linux/kconfig.h -nostdinc -isystem /home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include -DDO_DEPS_ONLY -dM ./include/common.h > include/autoconf.mk.tmp && { sed -n -f ./tools/scripts/define2mk.sed include/autoconf.mk.tmp | while read line; do if [ -n "" ] || ! grep -q "${line%=*}=" include/config/auto.conf; then echo "$line"; fi done > include/autoconf.mk; rm include/autoconf.mk.tmp; } || { rm include/autoconf.mk.tmp; false; }
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -O2 -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__KERNEL__ -D__UBOOT__ -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -pipe -Iinclude -I./arch/arm/include -include ./include/linux/kconfig.h -nostdinc -isystem /home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include -MQ include/config/auto.conf ./include/common.h > include/autoconf.mk.dep || { rm include/autoconf.mk.dep; false; }
In file included from ./include/common.h:18:0:
include/config.h:6:22: fatal error: configs/.h: No such file or directory
In file included from ./include/common.h:18:0:
include/config.h:6:22: fatal error: configs/.h: No such file or directory
compilation terminated.
compilation terminated.
make[1]: *** [include/autoconf.mk] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [include/autoconf.mk.dep] Error 1
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=tools/env
rm -f tools/env/built-in.o; arm-poky-linux-gnueabi-ar rcs tools/env/built-in.o
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wp,-MD,tools/env/.aes.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafterinclude -idirafter./arch//include -idirafter ./tools/env -DUSE_HOSTCC -DTEXT_BASE= -c -o tools/env/aes.o tools/env/aes.c
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wp,-MD,tools/env/.crc32.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafterinclude -idirafter./arch//include -idirafter ./tools/env -DUSE_HOSTCC -DTEXT_BASE= -c -o tools/env/crc32.o tools/env/crc32.c
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wp,-MD,tools/env/.ctype.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafterinclude -idirafter./arch//include -idirafter ./tools/env -DUSE_HOSTCC -DTEXT_BASE= -c -o tools/env/ctype.o tools/env/ctype.c
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wp,-MD,tools/env/.env_attr.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafterinclude -idirafter./arch//include -idirafter ./tools/env -DUSE_HOSTCC -DTEXT_BASE= -c -o tools/env/env_attr.o tools/env/env_attr.c
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wp,-MD,tools/env/.env_flags.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafterinclude -idirafter./arch//include -idirafter ./tools/env -DUSE_HOSTCC -DTEXT_BASE= -c -o tools/env/env_flags.o tools/env/env_flags.c
In file included from ./tools/env/fw_env.h:16:0,
from tools/env/../../common/env_flags.c:14,
from tools/env/env_flags.c:1:
include/config.h:6:22: fatal error: configs/.h: No such file or directory
compilation terminated.
make[1]: *** [tools/env/env_flags.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [env] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0/temp/log.do_compile.5088)

0 Kudos

1,913 Views
jimmychan
NXP TechSupport
NXP TechSupport

according to /scripts/Makefile.autoconf, the CONFIG_SYS_CONFIG_NAME is needed to define for configs/$(CONFIG_SYS_CONFIG_NAME).h\

Suppose in the mx6ull_14x14_evk_defconfig, CONFIG_TARGET_MX6ULL_14x14_EVK=y then board/freescale/mx6ullevk/Kconfig will define the SYS_CONFIG_NAME to "mx6ullevk"

Is your source code git from here? 

http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/ 

I think you may try to define the following (same from Kconfig) in the mx6ull_14x14_evk_defconfig file.

CONFIG_SYS_CONFIG_NAME="mx6ullevk"

CONFIG_SYS_VENDOR="freescale"

CONFIG_SYS_BOARD="mx6ullevk"

0 Kudos

1,913 Views
huangzhaocn
Contributor I

My mx6ull_14x14_evk_defconfig file is as below:

CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_MX6ULL_14X14_EVK=y
CONFIG_SPL=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg"
CONFIG_CMD_GPIO=y
CONFIG_CMD_DHCP=y
CONFIG_CMD_PING=y
CONFIG_SYS_CONFIG_NAME="mx6ullevk"
CONFIG_SYS_VENDOR="freescale"
CONFIG_SYS_BOARD="mx6ullevk"

But also have the ERROR.

DEBUG: Executing shell function do_compile
NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed V=1 mx6ull_14x14_evk_config
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig mx6ull_14x14_evk_config
scripts/kconfig/conf --defconfig=arch/../configs/mx6ull_14x14_evk_defconfig Kconfig
#
# configuration written to .config
#
NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed V=1 env
make -f ./Makefile silentoldconfig
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig silentoldconfig
mkdir -p include/config include/generated
scripts/kconfig/conf --silentoldconfig Kconfig
make -f ./scripts/Makefile.autoconf || \
{ rm -f include/config/auto.conf; false; }
if [ -d arch/arm/mach-mx6/include/mach ]; then \
dest=../../mach-mx6/include/mach; \
else \
dest=arch-mx6; \
fi; \
ln -fsn $dest arch/arm/include/asm/arch
set -e; : ' CHK include/config.h'; mkdir -p include/; (echo "/* Automatically generated - do not edit */"; for i in $(echo "IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg" | sed 's/,/ /g'); do echo \#define CONFIG_$i | sed '/=/ {s/=/ /;q; } ; { s/$/ 1/; }'; done; echo \#define CONFIG_BOARDDIR board/; echo \#include \<config_defaults.h\>; echo \#include \<config_uncmd_spl.h\>; echo \#include \<configs/.h\>; echo \#include \<asm/config.h\>; echo \#include \<config_fallbacks.h\>;) < scripts/Makefile.autoconf > include/config.h.tmp; if [ -r include/config.h ] && cmp -s include/config.h include/config.h.tmp; then rm -f include/config.h.tmp; else : ' UPD include/config.h'; mv -f include/config.h.tmp include/config.h; fi
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -O2 -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__KERNEL__ -D__UBOOT__ -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -pipe -Iinclude -I./arch/arm/include -include ./include/linux/kconfig.h -nostdinc -isystem /home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include -DDO_DEPS_ONLY -dM ./include/common.h > include/autoconf.mk.tmp && { sed -n -f ./tools/scripts/define2mk.sed include/autoconf.mk.tmp | while read line; do if [ -n "" ] || ! grep -q "${line%=*}=" include/config/auto.conf; then echo "$line"; fi done > include/autoconf.mk; rm include/autoconf.mk.tmp; } || { rm include/autoconf.mk.tmp; false; }
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -O2 -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__KERNEL__ -D__UBOOT__ -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -pipe -Iinclude -I./arch/arm/include -include ./include/linux/kconfig.h -nostdinc -isystem /home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/include -MQ include/config/auto.conf ./include/common.h > include/autoconf.mk.dep || { rm include/autoconf.mk.dep; false; }
In file included from ./include/common.h:18:0:
include/config.h:6:22: fatal error: configs/.h: No such file or directory
compilation terminated.
In file included from ./include/common.h:18:0:
include/config.h:6:22: fatal error: configs/.h: No such file or directory
compilation terminated.
make[1]: *** [include/autoconf.mk] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [include/autoconf.mk.dep] Error 1
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=tools/env
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wp,-MD,tools/env/.env_attr.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafterinclude -idirafter./arch//include -idirafter ./tools/env -DUSE_HOSTCC -DTEXT_BASE= -c -o tools/env/env_attr.o tools/env/env_attr.c
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wp,-MD,tools/env/.env_flags.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafterinclude -idirafter./arch//include -idirafter ./tools/env -DUSE_HOSTCC -DTEXT_BASE= -c -o tools/env/env_flags.o tools/env/env_flags.c
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wp,-MD,tools/env/.fw_env.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafterinclude -idirafter./arch//include -idirafter ./tools/env -DUSE_HOSTCC -DTEXT_BASE= -c -o tools/env/fw_env.o tools/env/fw_env.c
arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0=/usr/src/debug/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0 -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/sysroots/imx6ull14x14evk= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wp,-MD,tools/env/.linux_string.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafterinclude -idirafter./arch//include -idirafter ./tools/env -DUSE_HOSTCC -DTEXT_BASE= -c -o tools/env/linux_string.o tools/env/linux_string.c
In file included from ./tools/env/fw_env.h:16:0,
from tools/env/../../common/env_flags.c:14,
from tools/env/env_flags.c:1:
include/config.h:6:22: fatal error: configs/.h: No such file or directory
compilation terminated.
make[1]: *** [tools/env/env_flags.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from tools/env/fw_env.h:16:0,
from tools/env/fw_env.c:35:
include/config.h:6:22: fatal error: configs/.h: No such file or directory
compilation terminated.
make[1]: *** [tools/env/fw_env.o] Error 1
make: *** [env] Error 2
WARNING: exit code 1 from a shell command.
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/huangzhao/fsl-release-bsp/build-fb-imx6ull14x14evk/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/u-boot-fw-utils/v2016.03+gitAUTOINC+df61a74e68-r0/temp/log.do_compile.56255)

0 Kudos

1,913 Views
jimmychan
NXP TechSupport
NXP TechSupport

some 'make' scripts were generated automatically before. you may try to remove the old folder and then compile a new one with new updated defconfig file

0 Kudos