Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
892 Views

YoctoPlugin SoCKit Altera Cyclone 5

Hello everyone. I have an issue when I try to build image via bitbake command of Yocto Project. 

I did follow this guide of Altera http://download.altera.com/akdlm/software/soceds/cb/embedded_linux_getting_started_guide.pdf 

The error come when I use this command to build image bitbake virtual/kernel virtual/bootloader altera-image 

I'm using Ubuntu 16.04 LTS. I searched in the Internet and some people say that error because the version of my Ubuntu distribution I'm using. I'm so confuse now. Please help me. Thanks 

 

 

OEROOT=/home/hohaidang/yocto 

 

# ## Shell environment set up for builds.# ## 

 

 

You can now run 'bitbake <target>' 

 

 

Common targets are: 

bitbake virtual/kernel 

bitbake virtual/bootloader 

bitbake altera-gsrd-image 

bitbake altera-image 

hohaidang@hohaidang-PC:~/yocto/build$ bitbake virtual/kernel virtual/bootloader altera-imagePseudo is not present but is required, building this first before the main build 

WARNING: Host distribution "Ubuntu 16.04.1 LTS" 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 1174 entries from dependency cache. 

Parsing recipes: 100% |#####################################################| Time: 00:00:01 

Parsing of 878 .bb files complete (857 cached, 21 parsed). 1202 targets, 111 skipped, 0 masked, 0 errors. 

 

 

Build Configuration: 

BB_VERSION = "1.16.0" 

TARGET_ARCH = "arm" 

TARGET_OS = "linux-gnueabi" 

MACHINE = "socfpga_cyclone5" 

DISTRO = "poky" 

DISTRO_VERSION = "1.3" 

TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa9" 

TARGET_FPU = "vfp-neon" 

meta  

meta-yocto  

meta-yocto-bsp  

meta-yocto-bsp  

meta-altera  

meta-linaro = "<unknown>:<unknown>" 

 

 

NOTE: Resolving any missing task queue dependencies 

NOTE: Preparing runqueue 

NOTE: Executing SetScene Tasks 

NOTE: Executing RunQueue Tasks 

ERROR: Function failed: sysroot_stage_all (see /home/hohaidang/yocto/build/tmp/work/x86_64-linux/quilt-native-0.60-r0/temp/log.do_populate_sysroot.7796 for further information) 

ERROR: Logfile of failure stored in: /home/hohaidang/yocto/build/tmp/work/x86_64-linux/quilt-native-0.60-r0/temp/log.do_populate_sysroot.7796 

Log data follows: 

| DEBUG: Executing python function sstate_task_prefunc 

| DEBUG: Python function sstate_task_prefunc finished 

| DEBUG: Executing python function do_populate_sysroot 

| DEBUG: Executing shell function sysroot_stage_all 

| tar: '--same-order' cannot be used with '-c' 

| Try 'tar --help' or 'tar --usage' for more information. 

| tar: This does not look like a tar archive 

| tar: Exiting with failure status due to previous errors 

| DEBUG: Python function do_populate_sysroot finished 

| ERROR: Function failed: sysroot_stage_all (see /home/hohaidang/yocto/build/tmp/work/x86_64-linux/quilt-native-0.60-r0/temp/log.do_populate_sysroot.7796 for further information) 

ERROR: Task 10 (/home/hohaidang/yocto/meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_populate_sysroot) failed with exit code '1' 

NOTE: Tasks Summary: Attempted 23 tasks of which 22 didn't need to be rerun and 1 failed. 

No currently running tasks (7 of 63) 

 

 

Summary: 1 task failed: 

/home/hohaidang/yocto/meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_populate_sysroot 

Summary: There was 1 WARNING message shown. 

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
93 Views

I found out by finding a post that Ubuntu 14.04 and above are only supported by Yocto 1.6 and above:  

 

https://www.mail-archive.com/yocto@yoctoproject.org/msg18678.html 

 

Here you can get a newer version and be successful https://www.yoctoproject.org/downloads
Reply