multiple problems bitbaking ww05-15 edison-image
BartHandels Apr 8, 2015 1:39 AMHi, I'm new to the Edison and to Yocto linux, and am trying to bitbake my first image.
I followed all the steps in the "edisonbsp_ug_331188005.pdf" and downloaded the edison-src-ww05-15.tgz sources.
In my VM I extracted the sources to "/home/bart/Edison/bsp/edison-src/" In which I created the folders:
bitbake_download_dir
bitbake_sstate_dir
the first error I encountered was an error in the binutils-cross_2.24. A problem with makeimage
after googling I traced it down to a missing dependancy. what I did was:
"ADD "flex-native" to the edison-src/poky/meta/recipes-devtools/binutils/binutils.inc file, in teh DEPENDS line"
Now I'm stuck with this error:
bart@Workstation ~/Edison/bsp/edison-src/build $ bitbake edison-image
WARNING: Host distribution "LinuxMint-17.1" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###################################################################################| ETA: 00:00:00
Loaded 1288 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "LinuxMint-17.1"
TARGET_SYS = "i586-poky-linux"
MACHINE = "edison"
DISTRO = "poky-edison"
DISTRO_VERSION = "1.6.1"
TUNE_FEATURES = "m32 core2"
TARGET_FPU = ""
meta
meta-yocto
meta-yocto-bsp
meta-edison
meta-edison-distro
meta-edison-middleware
meta-edison-arduino
meta-edison-devtools = "<unknown>:<unknown>"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /home/bart/Edison/bsp/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/temp/log.do_compile.12663)
ERROR: Logfile of failure stored in: /home/bart/Edison/bsp/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/temp/log.do_compile.12663
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| make[2]: Nothing to be done for `all'.
| GEN /home/bart/Edison/bsp/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/linux-edison-standard-build/Makefile
| CHK include/generated/uapi/linux/version.h
| CHK include/generated/utsrelease.h
| HOSTCC scripts/kallsyms
| HOSTCC scripts/conmakehash
| HOSTCC scripts/sortextable
| CC scripts/mod/empty.o
| /home/bart/Edison/bsp/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/linux/scripts/mod/empty.c:1:0: error: code model 'kernel' not supported in the 32 bit mode
| /* empty file to figure out endianness / word size */
| ^
| /home/bart/Edison/bsp/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/linux/scripts/mod/empty.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
| make[3]: *** [scripts/mod/empty.o] Error 1
| make[2]: *** [scripts/mod] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [scripts] Error 2
| make: *** [sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/bart/Edison/bsp/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/temp/log.do_compile.12663)
ERROR: Task 77 (/home/bart/Edison/bsp/edison-src/poky/meta/recipes-kernel/linux/linux-yocto_3.10.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1835 tasks of which 1831 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/bart/Edison/bsp/edison-src/poky/meta/recipes-kernel/linux/linux-yocto_3.10.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
it seems like something is going wrong with the 32 vs 64 bitmode, but I have no clue what to do. I didn't change anything in the config file, so everything is on default.
I'm using a 64bit linux distro in the latest VMware player 7 virtual machine software.
anyone here who can help?
hope to save someone else the trouble of finding out how do solve the first error I got;)
Best regards,
Bart