Skip to contentSkip to conversation

Build Error for AM437x-evm

DISCUSSION [email protected] 4 participants 10 messages Jan 25, 2016 – Feb 11, 2016

lore
Share & tools
lore
#0 lore raw

Dear ,

I built default yocto image for qemux86 processor using poky. I used the bitbake core-image-minimal command to build the image. It has been built successfully. Now I made the following changes to build for AM437x evm.

1. Edited ~/poky/build/conf/bblayers.conf file as follows

BBFILES ?= “”
BBLAYERS = “ \
/home/winiston/poky/meta \
/home/winiston/poky/meta-yocto \
/home/winiston/poky/meta-ti \

Note : meta-ti resides in the poky folder.

2.Edited ~/poky/build/conf/local.conf file. The MACHINE variable changed from MACHINE ??= “qemux86” to MACHINE ??= "am437x-evm"

After making above two changes, I executed bitbake core-image-minimal command from terminal window. It gives the following error

ERROR: ParseError at /home/winiston/poky/meta-ti/recipes-graphics/drm/libdrm_2.4.41.bb:1: Could not include required file recipes-graphics/drm/libdrm.inc

Summary: There was 1 ERROR message shown, returning a non-zero exit code. winiston@winiston-VirtualBox:~/poky/build$

What could be the reason of this error? How do I solve this error?

Regards,
Winiston.P
Futura Automation Pvt Ltd.

Ph :91-80-28375290 / 28375295
Fax :91-80-28375291

#1 lore raw

Looks like branches are not matched between the layers...

Quoted 38 lines · On Mon, Jan 25, 2016 at 03:02:18PM +0530, [email protected] wrote:

Dear ,

I built default yocto image for qemux86 processor using poky. I used the bitbake core-image-minimal command to build the image. It has been built successfully. Now I made the following changes to build for AM437x evm.

1. Edited ~/poky/build/conf/bblayers.conf file as follows

BBFILES ?= “”
BBLAYERS = “ \
/home/winiston/poky/meta \
/home/winiston/poky/meta-yocto \
/home/winiston/poky/meta-ti \

Note : meta-ti resides in the poky folder.

2.Edited ~/poky/build/conf/local.conf file. The MACHINE variable changed from MACHINE ??= “qemux86” to MACHINE ??= "am437x-evm"

After making above two changes, I executed bitbake core-image-minimal command from terminal window. It gives the following error

ERROR: ParseError at /home/winiston/poky/meta-ti/recipes-graphics/drm/libdrm_2.4.41.bb:1: Could not include required file recipes-graphics/drm/libdrm.inc

Summary: There was 1 ERROR message shown, returning a non-zero exit code. winiston@winiston-VirtualBox:~/poky/build$

What could be the reason of this error? How do I solve this error?

Regards,
Winiston.P
Futura Automation Pvt Ltd.

Ph :91-80-28375290 / 28375295
Fax :91-80-28375291

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw
In reply to [email protected]

Always post your build configuration that bit bake spits out at the very beginning of build

Quoted 48 lines · On Jan 25, 2016 1:28 AM, <[email protected]> wrote:

Dear ,

I built default yocto image for qemux86 processor using poky. I used the bitbake core-image-minimal command to build the image. It has been built successfully.
Now I made the following changes to build for AM437x evm.

1. Edited ~/poky/build/conf/bblayers.conf file as follows

BBFILES ?= “”
BBLAYERS = “ \
/home/winiston/poky/meta \
/home/winiston/poky/meta-yocto \
/home/winiston/poky/meta-ti \

Note : meta-ti resides in the poky folder.

2.Edited ~/poky/build/conf/local.conf file. The MACHINE variable changed from MACHINE ??= “qemux86” to MACHINE ??= "am437x-evm"

After making above two changes, I executed bitbake core-image-minimal command from terminal window. It gives the following error

*ERROR: ParseError at /home/winiston/poky/meta-ti/recipes-graphics/drm/libdrm_2.4.41.bb:1
<http://libdrm_2.4.41.bb:1>: Could not include required file recipes-graphics/drm/libdrm.inc*

*Summary: There was 1 ERROR message shown, returning a non-zero exit code.* *winiston@winiston-VirtualBox:~/poky/build$ <winiston@winiston-VirtualBox:~/poky/build$>*

What could be the reason of this error? How do I solve this error?

Regards,
Winiston.P
Futura Automation Pvt Ltd.

Ph :91-80-28375290 / 28375295
Fax :91-80-28375291

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#3 lore raw

Dear,

I have cloned recent meta-ti package. Now it started building the image and it spits out the following error.

winiston@winiston-VirtualBox:~/poky/build$ bitbake core-image-minimal
Loading cache: 100% |#########################| ETA:  00:00:00
Loaded 1497 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION        = "1.28.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "am437x-evm"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.1"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"

meta
meta-yocto = "jethro:b9ad87b18fd7a664b8d5e385ffb09496c679036c"
meta-ti = "master:963c35fc490a733a533c0c30471f9974eed451d6"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.18321)
ERROR: Logfile of failure stored in: /home/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.18321 Log data follows:
Huge log data resides here.... at the end of log data, it is showing the error as follows,

| make[1]: *** [drivers/usb/host/xhci-omap.o] Error 1
| make: *** [drivers/usb/host] 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/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.18321)

ERROR: Task 73 (/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1910 tasks of which 1909 didn't need to be rerun and 1 failed.
No currently running tasks (1909 of 2045)

Summary: 1 task failed:
/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code. winiston@winiston-VirtualBox:~/poky/build$

What could be the problem? Please provide the solution

Thanks in advance...

Regards,
Winiston.P
Futura Automation Pvt Ltd.

Ph :91-80-28375290 / 28375295
Fax :91-80-28375291

From: Khem Raj
Sent: Monday, January 25, 2016 11:09 PM
To: [email protected]
Cc: yocto texas
Subject: Re: [meta-ti] Build Error for AM437x-evm

Always post your build configuration that bit bake spits out at the very beginning of build

On Jan 25, 2016 1:28 AM, <[email protected]> wrote:

Dear ,

I built default yocto image for qemux86 processor using poky. I used the bitbake core-image-minimal command to build the image. It has been built successfully. Now I made the following changes to build for AM437x evm.

1. Edited ~/poky/build/conf/bblayers.conf file as follows

  BBFILES ?= “”
  BBLAYERS = “ \
  /home/winiston/poky/meta \
  /home/winiston/poky/meta-yocto \
  /home/winiston/poky/meta-ti \

Note : meta-ti resides in the poky folder.

2.Edited ~/poky/build/conf/local.conf file. The MACHINE variable changed from MACHINE ??= “qemux86” to MACHINE ??= "am437x-evm"

After making above two changes, I executed bitbake core-image-minimal command from terminal window. It gives the following error

ERROR: ParseError at /home/winiston/poky/meta-ti/recipes-graphics/drm/libdrm_2.4.41.bb:1: Could not include required file recipes-graphics/drm/libdrm.inc

Summary: There was 1 ERROR message shown, returning a non-zero exit code. winiston@winiston-VirtualBox:~/poky/build$

What could be the reason of this error? How do I solve this error?

Regards,
Winiston.P
Futura Automation Pvt Ltd.

Ph :91-80-28375290 / 28375295
Fax :91-80-28375291

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#4 lore raw
Quoted 9 lines · * [email protected] <[email protected]> [160128 07:17]:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "am437x-evm"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.1"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
Quoted 3 lines

meta
meta-yocto = "jethro:b9ad87b18fd7a664b8d5e385ffb09496c679036c"
meta-ti = "master:963c35fc490a733a533c0c30471f9974eed451d6"

Good that this info is provided.

Quoted 10 lines

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.18321)
ERROR: Logfile of failure stored in: /home/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.18321 Log data follows:
Huge log data resides here.... at the end of log data, it is showing the error as follows,

| make[1]: *** [drivers/usb/host/xhci-omap.o] Error 1

You just cut the log prior after the actual error. The line above just confirms that make has seen that something went wrong.

Could you provide the error?

Cheers,
Anders

Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
#5 lore raw

Dear,

please see the details build configuration and log data.

winiston@winiston-VirtualBox:~/poky/build$ bitbake core-image-minimal
Parsing recipes: 100% |#######################| ETA:  00:00:00
Parsing of 1060 .bb files complete (0 cached, 1060 parsed). 1496 targets, 137 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION        = "1.28.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "am437x-evm"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.1"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"

meta
meta-yocto = "jethro:b9ad87b18fd7a664b8d5e385ffb09496c679036c"
meta-ti = "master:963c35fc490a733a533c0c30471f9974eed451d6"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.23933)
ERROR: Logfile of failure stored in: /home/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.23933 Log data follows:

| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc  --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm V=1 OSTCC=gcc  -isystem/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/include -O2 -pipe -L/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -L/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-O1 am43xx_evm_config
| make -f ./scripts/Makefile.build obj=scripts/basic
| rm -f .tmp_quiet_recordmcount
| make -f ./scripts/Makefile.build obj=scripts/kconfig am43xx_evm_config
| scripts/kconfig/conf --defconfig=arch/../configs/am43xx_evm_defconfig Kconfig
| #
| # configuration written to .config
| #
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc  --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm V=1 OSTCC=gcc  -isystem/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/include -O2 -pipe -L/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -L/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-O1 all
| 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-am33xx/include/mach ]; then    \
|         dest=../../mach-am33xx/include/mach;        \
|     else                            \
|         dest=arch-am33xx;            \
|     fi;                            \
|     ln -fsn $dest arch/arm/include/asm/arch
| if [ -d board/ti/common/include ]; then        \
|         dest=board/ti/common/include;            \
|     else                            \
|         dest=board/ti/common;                \
|     fi;                            \
|     ln -fsn ../$dest include/board-common
| set -e; : '  CHK     include/config.h'; mkdir -p include/; (echo "/* Automatically generated - do not edit */"; for i in $(echo "SERIAL1,CONS_INDEX=1,NAND" | sed 's/,/ /g'); do echo \#define CONFIG_$i | sed '/=/ {s/=/    /;q; } ; { s/$/    1/; }'; done; echo \#define CONFIG_BOARDDIR board/ti/am43xx; echo \#include \<config_defaults.h\>; echo \#include \<config_uncmd_spl.h\>; echo \#include \<configs/"am43xx_evm".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  --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time  -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x80800000 

-D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations
-mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9
-msoft-float -pipe -Iinclude -I./arch/arm/include -include
./include/linux/kconfig.h -nostdinc -isystem /home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.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 --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x80800000 -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux
-mword-relocations -mno-unaligned-access -ffunction-sections -fdata-sections
-fno-common -ffixed-r9 -msoft-float -pipe -Iinclude -I./arch/arm/include -include ./include/linux/kconfig.h -nostdinc -isystem /home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/include -MQ include/config/auto.conf ./include/common.h > include/autoconf.mk.dep || { rm include/autoconf.mk.dep; false; }
| mkdir -p spl/include/
| arm-poky-linux-gnueabi-gcc --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x80800000
-D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations
-mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9
-msoft-float -pipe -Iinclude -I./arch/arm/include -include
./include/linux/kconfig.h -nostdinc -isystem /home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/include -DCONFIG_SPL_BUILD -DDO_DEPS_ONLY -dM ./include/common.h > spl/include/autoconf.mk.tmp && { sed -n -f ./tools/scripts/define2mk.sed spl/include/autoconf.mk.tmp | while read line; do if [ -n "" ] || ! grep -q "${line%=*}=" include/config/auto.conf; then echo "$line"; fi done > spl/include/autoconf.mk; rm spl/include/autoconf.mk.tmp; } || { rm spl/include/autoconf.mk.tmp; false; }

| touch include/config/auto.conf
| set -e; : '  CHK     include/config/uboot.release'; mkdir -p include/config/;     echo "2015.07$(/bin/bash ./scripts/setlocalversion .)" < include/config/auto.conf > include/config/uboot.release.tmp; if [ -r include/config/uboot.release ] && cmp -s include/config/uboot.release include/config/uboot.release.tmp; then rm -f include/config/uboot.release.tmp; else : '  UPD include/config/uboot.release'; mv -f include/config/uboot.release.tmp include/config/uboot.release; fi
| set -e; : '  CHK     include/generated/version_autogenerated.h'; mkdir -p include/generated/;     (echo \#define PLAIN_VERSION \"2015.07\"; echo \#define U_BOOT_VERSION \"U-Boot \" PLAIN_VERSION; echo \#define CC_VERSION_STRING "$(arm-poky-linux-gnueabi-gcc  --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm --version | head -n 1)\"; echo \#define LD_VERSION_STRING \"$(arm-poky-linux-gnueabi-ld.bfd --version | head -n 1)\"; ) < include/config/uboot.release > include/generated/version_autogenerated.h.tmp; if [ -r include/generated/version_autogenerated.h ] && cmp -s include/generated/version_autogenerated.h include/generated/version_autogenerated.h.tmp; then rm -f include/generated/version_autogenerated.h.tmp; else : '  UPD include/generated/version_autogenerated.h'; mv -f include/generated/version_autogenerated.h.tmp include/generated/version_autogenerated.h; fi
| set -e; : '  CHK     include/generated/timestamp_autogenerated.h'; mkdir -p include/generated/;     (LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C date +'#define U_BOOT_TIME "%T"'; LC_ALL=C date +'#define U_BOOT_TZ "%z"') < Makefile > include/generated/timestamp_autogenerated.h.tmp; if [ -r include/generated/timestamp_autogenerated.h ] && cmp -s include/generated/timestamp_autogenerated.h include/generated/timestamp_autogenerated.h.tmp; then rm -f include/generated/timestamp_autogenerated.h.tmp; else : '  UPD include/generated/timestamp_autogenerated.h'; mv -f include/generated/timestamp_autogenerated.h.tmp include/generated/timestamp_autogenerated.h; fi
| make -f ./scripts/Makefile.build obj=scripts/basic
| rm -f .tmp_quiet_recordmcount
| make -f ./scripts/Makefile.build obj=.
| mkdir -p lib/
| set -e; : '  CHK     include/generated/generic-asm-offsets.h'; mkdir -p include/generated/;     (set -e; echo "#ifndef __GENERIC_ASM_OFFSETS_H__"; echo "#define __GENERIC_ASM_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " */"; echo ""; sed -ne     "s:[[:space:]]*\.ascii[[:space:]]*\"\(.*\)\":\1:; /^->/{s:->#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; echo ""; echo "#endif" ) < lib/asm-offsets.s > include/generated/generic-asm-offsets.h.tmp; if [ -r include/generated/generic-asm-offsets.h ] && cmp -s include/generated/generic-asm-offsets.h include/generated/generic-asm-offsets.h.tmp; then rm -f include/generated/generic-asm-offsets.h.tmp; else : '  UPD include/generated/generic-asm-offsets.h'; mv -f include/generated/generic-asm-offsets.h.tmp include/generated/generic-asm-offsets.h; fi
| mkdir -p arch/arm/lib/
| set -e; : '  CHK     include/generated/asm-offsets.h'; mkdir -p include/generated/;     (set -e; echo "#ifndef __ASM_OFFSETS_H__"; echo "#define __ASM_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " */"; echo ""; sed -ne "s:[[:space:]]*\.ascii[[:space:]]*\"\(.*\)\":\1:; /^->/{s:->#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; echo ""; echo "#endif" ) < arch/arm/lib/asm-offsets.s > include/generated/asm-offsets.h.tmp; if [ -r include/generated/asm-offsets.h ] && cmp -s include/generated/asm-offsets.h include/generated/asm-offsets.h.tmp; then rm -f include/generated/asm-offsets.h.tmp; else : '  UPD include/generated/asm-offsets.h'; mv -f include/generated/asm-offsets.h.tmp include/generated/asm-offsets.h; fi
| make -f ./scripts/Makefile.build obj=tools
| gcc  -isystem/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/include  -O2 -pipe -L/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -L/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -Wp,-MD,tools/.mkenvimage.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer 
  -include 
./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include -I./lib/libfdt -I./tools -DCONFIG_SYS_TEXT_BASE=0x80800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/mkenvimage.o tools/mkenvimage.c
| gcc  -isystem/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/include  -O2 -pipe -L/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -L/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-O1  -o tools/mkenvimage tools/mkenvimage.o tools/os_support.o tools/lib/crc32.o
| gcc  -isystem/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/include  -O2 -pipe -L/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -L/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -Wp,-MD,tools/.image-host.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer 

-include
./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include -I./lib/libfdt -I./tools -DCONFIG_SYS_TEXT_BASE=0x80800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -c -o tools/image-host.o tools/image-host.c
| gcc -isystem/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/include -O2 -pipe -L/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -L/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -Wp,-MD,tools/.dumpimage.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-include
./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include -I./lib/libfdt -I./tools -DCONFIG_SYS_TEXT_BASE=0x80800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -c -o tools/dumpimage.o tools/dumpimage.c

| gcc  -isystem/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/include  -O2 -pipe -L/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -L/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-O1  -o tools/dumpimage tools/aisimage.o tools/atmelimage.o tools/common/bootm.o tools/lib/crc32.o tools/default_image.o tools/lib/fdtdec_common.o tools/lib/fdtdec.o tools/fit_common.o tools/fit_image.o tools/gpimage.o tools/gpimage-common.o tools/common/image-fit.o tools/image-host.o tools/common/image.o tools/imagetool.o tools/imximage.o tools/kwbimage.o tools/lib/md5.o tools/lpc32xximage.o tools/mxsimage.o tools/omapimage.o tools/os_support.o tools/pblimage.o tools/pbl_crc32.o tools/socfpgaimage.o tools/lib/sha1.o tools/lib/sha256.o tools/common/hash.o tools/ublimage.o tools/lib/libfdt/fdt.o tools/lib/libfdt/fdt_ro.o tools/lib/libfdt/fdt_rw.o tools/lib/libfdt/fdt_strerror.o tools/lib/libfdt/fdt_wip.o tools/dumpimage.o
| gcc  -isystem/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/include  -O2 -pipe -L/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -L/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -Wp,-MD,tools/.mkimage.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer 
  -include 
./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include -I./lib/libfdt -I./tools -DCONFIG_SYS_TEXT_BASE=0x80800000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -c -o tools/mkimage.o tools/mkimage.c
| gcc  -isystem/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/include  -O2 -pipe -L/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -L/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/winiston/poky/build/tmp/sysroots/i686-linux/lib -Wl,-O1  -o tools/mkimage tools/aisimage.o tools/atmelimage.o tools/common/bootm.o tools/lib/crc32.o tools/default_image.o tools/lib/fdtdec_common.o tools/lib/fdtdec.o tools/fit_common.o tools/fit_image.o tools/gpimage.o tools/gpimage-common.o tools/common/image-fit.o tools/image-host.o tools/common/image.o tools/imagetool.o tools/imximage.o tools/kwbimage.o tools/lib/md5.o tools/lpc32xximage.o tools/mxsimage.o tools/omapimage.o tools/os_support.o tools/pblimage.o tools/pbl_crc32.o tools/socfpgaimage.o tools/lib/sha1.o tools/lib/sha256.o tools/common/hash.o tools/ublimage.o tools/lib/libfdt/fdt.o tools/lib/libfdt/fdt_ro.o tools/lib/libfdt/fdt_rw.o tools/lib/libfdt/fdt_strerror.o tools/lib/libfdt/fdt_wip.o tools/mkimage.o
| make -f ./scripts/Makefile.build obj=arch/arm/cpu
| make -f ./scripts/Makefile.build obj=arch/arm/cpu/armv7
| make -f ./scripts/Makefile.build obj=arch/arm/cpu/armv7/am33xx
| make -f ./scripts/Makefile.build obj=arch/arm/cpu/armv7/omap-common
| make -f ./scripts/Makefile.build obj=arch/arm/lib
| make -f ./scripts/Makefile.build obj=board/ti/am43xx
| make -f ./scripts/Makefile.build obj=board/ti/common
| make -f ./scripts/Makefile.build obj=common
| arm-poky-linux-gnueabi-gcc  --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm -Wp,-MD,common/.main.o.d  -nostdinc -isystem /home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/include -Iinclude  -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x80800000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding  -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(main)"  -D"KBUILD_MODNAME=KBUILD_STR(main)" -c -o common/main.o common/main.c
| arm-poky-linux-gnueabi-gcc  --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm -Wp,-MD,common/.board_f.o.d  -nostdinc -isystem /home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/include -Iinclude  -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x80800000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding  -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(board_f)"  -D"KBUILD_MODNAME=KBUILD_STR(board_f)" -c -o common/board_f.o common/board_f.c
| arm-poky-linux-gnueabi-gcc  --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm -Wp,-MD,common/.cmd_version.o.d  -nostdinc -isystem /home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/include -Iinclude  -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x80800000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding  -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cmd_version)"  -D"KBUILD_MODNAME=KBUILD_STR(cmd_version)" -c -o common/cmd_version.o common/cmd_version.c
|    arm-poky-linux-gnueabi-ld.bfd     -r -o common/built-in.o common/main.o common/exports.o common/hash.o common/cli_hush.o common/autoboot.o common/board_f.o common/board_r.o common/cmd_boot.o common/cmd_bootm.o common/bootm.o common/bootm_os.o common/cmd_help.o common/cmd_version.o common/env_attr.o common/env_callback.o common/env_flags.o common/env_fat.o common/cmd_source.o common/cmd_bdinfo.o common/cmd_console.o common/cmd_echo.o common/cmd_eeprom.o common/cmd_exit.o common/cmd_ext4.o common/cmd_ext2.o common/cmd_fat.o common/cmd_fdt.o common/fdt_support.o common/cmd_fs.o common/cmd_gpio.o common/cmd_i2c.o common/cmd_itest.o common/cmd_load.o common/cmd_mem.o common/miiphyutil.o common/cmd_mii.o common/cmd_mdio.o common/cmd_misc.o common/cmd_mmc.o common/cmd_mtdparts.o common/cmd_nand.o common/cmd_net.o common/cmd_part.o common/cmd_pcmcia.o common/cmd_sf.o common/cmd_setexpr.o common/cmd_spi.o common/cmd_test.o common/cmd_usb.o common/usb.o common/usb_hub.o common/usb_storage.o common/cmd_ximg.o common/cmd_spl.o common/flash.o common/splash.o common/cmd_dfu.o common/cmd_gpt.o common/cmd_nvedit.o common/env_common.o common/console.o common/dlmalloc.o common/image.o common/image-fdt.o common/memsize.o common/stdio.o common/cli_simple.o common/cli.o common/cli_readline.o common/command.o common/s_record.o common/xyzModem.o common/cmd_disk.o
| make -f ./scripts/Makefile.build obj=disk
| make -f ./scripts/Makefile.build obj=drivers
| make -f ./scripts/Makefile.build obj=drivers/block
| make -f ./scripts/Makefile.build obj=drivers/crypto
| make -f ./scripts/Makefile.build obj=drivers/crypto/fsl
| make -f ./scripts/Makefile.build obj=drivers/crypto/rsa_mod_exp
| make -f ./scripts/Makefile.build obj=drivers/dfu
| make -f ./scripts/Makefile.build obj=drivers/hwmon
| make -f ./scripts/Makefile.build obj=drivers/input
| make -f ./scripts/Makefile.build obj=drivers/memory
| make -f ./scripts/Makefile.build obj=drivers/misc
| make -f ./scripts/Makefile.build obj=drivers/pcmcia
| make -f ./scripts/Makefile.build obj=drivers/pwm
| make -f ./scripts/Makefile.build obj=drivers/rtc
| make -f ./scripts/Makefile.build obj=drivers/soc
| make -f ./scripts/Makefile.build obj=drivers/sound
| make -f ./scripts/Makefile.build obj=drivers/thermal
| make -f ./scripts/Makefile.build obj=drivers/tpm
| make -f ./scripts/Makefile.build obj=drivers/twserial
| make -f ./scripts/Makefile.build obj=drivers/video
| make -f ./scripts/Makefile.build obj=drivers/watchdog
| make -f ./scripts/Makefile.build obj=drivers/dma
| make -f ./scripts/Makefile.build obj=drivers/gpio
| make -f ./scripts/Makefile.build obj=drivers/i2c
| make -f ./scripts/Makefile.build obj=drivers/mmc
| make -f ./scripts/Makefile.build obj=drivers/mtd
| make -f ./scripts/Makefile.build obj=drivers/mtd/nand
| make -f ./scripts/Makefile.build obj=drivers/mtd/onenand
| make -f ./scripts/Makefile.build obj=drivers/mtd/spi
| make -f ./scripts/Makefile.build obj=drivers/net
| make -f ./scripts/Makefile.build obj=drivers/net/phy
| make -f ./scripts/Makefile.build obj=drivers/pci
| make -f ./scripts/Makefile.build obj=drivers/power
| make -f ./scripts/Makefile.build obj=drivers/power/battery
| make -f ./scripts/Makefile.build obj=drivers/power/fuel_gauge
| make -f ./scripts/Makefile.build obj=drivers/power/mfd
| make -f ./scripts/Makefile.build obj=drivers/power/pmic
| make -f ./scripts/Makefile.build obj=drivers/power/regulator
| make -f ./scripts/Makefile.build obj=drivers/serial
| make -f ./scripts/Makefile.build obj=drivers/spi
| make -f ./scripts/Makefile.build obj=drivers/usb/dwc3
| make -f ./scripts/Makefile.build obj=drivers/usb/emul
| make -f ./scripts/Makefile.build obj=drivers/usb/eth
| make -f ./scripts/Makefile.build obj=drivers/usb/gadget
| make -f ./scripts/Makefile.build obj=drivers/usb/gadget/udc
| make -f ./scripts/Makefile.build obj=drivers/usb/host
| arm-poky-linux-gnueabi-gcc  --sysroot=/home/winiston/poky/build/tmp/sysroots/am437x-evm -Wp,-MD,drivers/usb/host/.xhci-omap.o.d  -nostdinc -isystem /home/winiston/poky/build/tmp/sysroots/i686-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/include -Iinclude  -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x80800000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding  -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(xhci_omap)"  -D"KBUILD_MODNAME=KBUILD_STR(xhci_omap)" -c -o drivers/usb/host/xhci-omap.o drivers/usb/host/xhci-omap.c
| drivers/usb/host/xhci-omap.c:34:5: error: 'board_usb_init' aliased to external symbol '__board_usb_init'
|  int board_usb_init(int index, enum usb_init_type init)
|      ^
| make[1]: *** [drivers/usb/host/xhci-omap.o] Error 1
| make: *** [drivers/usb/host] 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/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.23933)

ERROR: Task 73 (/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1910 tasks of which 1909 didn't need to be rerun and 1 failed.
No currently running tasks (1909 of 2055)

Summary: 1 task failed:
/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb,
do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code. winiston@winiston-VirtualBox:~/poky/build$

Regards,
Winiston.P
Futura Automation Pvt Ltd.

Ph :91-80-28375290 / 28375295
Fax :91-80-28375291
-----Original Message----- From: Anders Darander
Sent: Thursday, January 28, 2016 1:08 PM
To: [email protected]
Subject: Re: [meta-ti] Build Error for AM437x-evm

Quoted 9 lines · * [email protected] <[email protected]> [160128 07:17]:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "am437x-evm"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.1"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
Quoted 3 lines

meta
meta-yocto = "jethro:b9ad87b18fd7a664b8d5e385ffb09496c679036c"
meta-ti = "master:963c35fc490a733a533c0c30471f9974eed451d6"

Good that this info is provided.

Quoted 10 lines

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.18321)
ERROR: Logfile of failure stored in: /home/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.18321 Log data follows:
Huge log data resides here.... at the end of log data, it is showing the error as follows,

| make[1]: *** [drivers/usb/host/xhci-omap.o] Error 1

You just cut the log prior after the actual error. The line above just confirms that make has seen that something went wrong.

Could you provide the error?

Cheers,
Anders

Signature · 7 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti 
#6 lore raw
Quoted 8 lines · * [email protected] <[email protected]> [160128 10:00]:
(quoted diff) +0 -8
-Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding  -Os
-fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage
-Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always
-mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations
-mno-unaligned-access -ffunction-sections -fdata-sections -fno-common
-ffixed-r9 -msoft-float -pipe -march=armv7-a    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(xhci_omap)"
-D"KBUILD_MODNAME=KBUILD_STR(xhci_omap)" -c -o drivers/usb/host/xhci-omap.o
Quoted 5 lines

drivers/usb/host/xhci-omap.c
| drivers/usb/host/xhci-omap.c:34:5: error: 'board_usb_init' aliased to external symbol '__board_usb_init'
| int board_usb_init(int index, enum usb_init_type init)
| ^

This is the interesting part! (You could likely have search for error to narrow it done).

The issue is a typical when when compiling older code with GCC 5.

Though, I would've thought that building u-boot-2015.07 with jethro was working...

Here's a patch for your issue:
http://lists.denx.de/pipermail/u-boot/2015-October/229099.html

Cheers,
Anders

Quoted 17 lines
| make[1]: *** [drivers/usb/host/xhci-omap.o] Error 1
| make: *** [drivers/usb/host] 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/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.23933)

ERROR: Task 73 (/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1910 tasks of which 1909 didn't need to be rerun and 1 failed.
No currently running tasks (1909 of 2055)

Summary: 1 task failed:
/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb,
do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code. winiston@winiston-VirtualBox:~/poky/build$

Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
#7 lore raw

Dear,

Thanks for your help. Now it has been built successfully. How do I write the image on sd card? what is the procedure to write the image on sd card?

Regards,
Winiston.P
Futura Automation Pvt Ltd.

Ph :91-80-28375290 / 28375295
Fax :91-80-28375291
-----Original Message----- From: Anders Darander
Sent: Thursday, January 28, 2016 4:23 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [meta-ti] Build Error for AM437x-evm

Quoted 8 lines · * [email protected] <[email protected]> [160128 10:00]:
(quoted diff) +0 -8
-Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding  -Os
-fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage
-Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always
-mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations
-mno-unaligned-access -ffunction-sections -fdata-sections -fno-common
-ffixed-r9 -msoft-float -pipe -march=armv7-a    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(xhci_omap)"
-D"KBUILD_MODNAME=KBUILD_STR(xhci_omap)" -c -o 
Quoted 6 lines

drivers/usb/host/xhci-omap.o
drivers/usb/host/xhci-omap.c
| drivers/usb/host/xhci-omap.c:34:5: error: 'board_usb_init' aliased to external symbol '__board_usb_init'
| int board_usb_init(int index, enum usb_init_type init)
| ^

This is the interesting part! (You could likely have search for error to narrow it done).

The issue is a typical when when compiling older code with GCC 5.

Though, I would've thought that building u-boot-2015.07 with jethro was working...

Here's a patch for your issue:
http://lists.denx.de/pipermail/u-boot/2015-October/229099.html

Cheers,
Anders

Quoted 17 lines
| make[1]: *** [drivers/usb/host/xhci-omap.o] Error 1
| make: *** [drivers/usb/host] 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/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.23933)

ERROR: Task 73 (/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1910 tasks of which 1909 didn't need to be rerun and 1 failed.
No currently running tasks (1909 of 2055)

Summary: 1 task failed:
/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb,
do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code. winiston@winiston-VirtualBox:~/poky/build$

Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB 
#8 lore raw

Re: Image write Error for AM437x-evm

In reply to Anders Darander

Dear,

I tried to write the image on the sd card, It spit out the error. I am using sd card reader. In the device tree, card reader detected as /dev/sdb & /dev/sde and sd card detected as /dev/sde1 , /dev/sde2 & /dev/sde3 . Please see the below output.

winiston@winiston-VirtualBox:~/poky/build$ sudo $HOME/poky/scripts/contrib/mkefidisk.sh /dev/sde \tmp/deploy/images/am437x-evm/core-image-minimal-am437x-evm.tar.bz2 /dev/sda
Image details
   image: 
'tmp/deploy/images/am437x-evm/core-image-minimal-am437x-evm.tar.bz2' -> 'core-image-minimal-am437x-evm-20160129065004.rootfs.tar.bz2'
    size: 2180726 bytes
modified: 2016-01-29 12:21:04.000000000 +0530
    type: bzip2 compressed data, block size = 900k

Device details
device: /dev/sde
vendor: Multiple
model: Flash Reader
size: 16088301568 bytes

Prepare EFI image on /dev/sde [y/N]? y

Boot partition size:   20 MB (/dev/sde1)
ROOTFS partition size: 15264 MB (/dev/sde2)
Swap partition size:   804 MB (/dev/sde3)

Partitioning installation media (/dev/sde)
Formatting partitions
Failed to mount tmp/deploy/images/am437x-evm/core-image-minimal-am437x-evm.tar.bz2 Failed to mount rootfs.img
Preparing boot partition
Failed to copy vmlinuz
Failed to copy EFI dir
No EFI bootloader configuration found winiston@winiston-VirtualBox:~/poky/build$

What could be the problem? How do I solve this issue?

Regards,
Winiston.P
Futura Automation Pvt Ltd.

Ph :91-80-28375290 / 28375295
Fax :91-80-28375291
-----Original Message----- From: Anders Darander
Sent: Thursday, January 28, 2016 4:23 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [meta-ti] Build Error for AM437x-evm

Quoted 8 lines · * [email protected] <[email protected]> [160128 10:00]:
(quoted diff) +0 -8
-Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding  -Os
-fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage
-Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always
-mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations
-mno-unaligned-access -ffunction-sections -fdata-sections -fno-common
-ffixed-r9 -msoft-float -pipe -march=armv7-a    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(xhci_omap)"
-D"KBUILD_MODNAME=KBUILD_STR(xhci_omap)" -c -o 
Quoted 6 lines

drivers/usb/host/xhci-omap.o
drivers/usb/host/xhci-omap.c
| drivers/usb/host/xhci-omap.c:34:5: error: 'board_usb_init' aliased to external symbol '__board_usb_init'
| int board_usb_init(int index, enum usb_init_type init)
| ^

This is the interesting part! (You could likely have search for error to narrow it done).

The issue is a typical when when compiling older code with GCC 5.

Though, I would've thought that building u-boot-2015.07 with jethro was working...

Here's a patch for your issue:
http://lists.denx.de/pipermail/u-boot/2015-October/229099.html

Cheers,
Anders

Quoted 17 lines
| make[1]: *** [drivers/usb/host/xhci-omap.o] Error 1
| make: *** [drivers/usb/host] 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/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.23933)

ERROR: Task 73 (/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1910 tasks of which 1909 didn't need to be rerun and 1 failed.
No currently running tasks (1909 of 2055)

Summary: 1 task failed:
/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb,
do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code. winiston@winiston-VirtualBox:~/poky/build$

Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB 
#9 lore raw
In reply to Anders Darander

Dear,

Thank you very much .Now I am able to build core-image-minimal and qt4e-demo-image. Now the problem is, USB mouse is not working in qt4e-demo-image.

What could be issue? How do I make usb mouse to work?

Regards,
Winiston.P
Futura Automation Pvt Ltd.

Ph :91-80-28375290 / 28375295
Fax :91-80-28375291
-----Original Message----- From: Anders Darander
Sent: Thursday, January 28, 2016 4:23 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [meta-ti] Build Error for AM437x-evm

Quoted 8 lines · * [email protected] <[email protected]> [160128 10:00]:
(quoted diff) +0 -8
-Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding  -Os
-fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage
-Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always
-mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations
-mno-unaligned-access -ffunction-sections -fdata-sections -fno-common
-ffixed-r9 -msoft-float -pipe -march=armv7-a    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(xhci_omap)"
-D"KBUILD_MODNAME=KBUILD_STR(xhci_omap)" -c -o 
Quoted 6 lines

drivers/usb/host/xhci-omap.o
drivers/usb/host/xhci-omap.c
| drivers/usb/host/xhci-omap.c:34:5: error: 'board_usb_init' aliased to external symbol '__board_usb_init'
| int board_usb_init(int index, enum usb_init_type init)
| ^

This is the interesting part! (You could likely have search for error to narrow it done).

The issue is a typical when when compiling older code with GCC 5.

Though, I would've thought that building u-boot-2015.07 with jethro was working...

Here's a patch for your issue:
http://lists.denx.de/pipermail/u-boot/2015-October/229099.html

Cheers,
Anders

Quoted 17 lines
| make[1]: *** [drivers/usb/host/xhci-omap.o] Error 1
| make: *** [drivers/usb/host] 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/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.23933)

ERROR: Task 73 (/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1910 tasks of which 1909 didn't need to be rerun and 1 failed.
No currently running tasks (1909 of 2055)

Summary: 1 task failed:
/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb,
do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code. winiston@winiston-VirtualBox:~/poky/build$

Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB