kraj / meta-altera

Old Altera BSP layer for OpenEmbedded/Yocto Project ( please use https://github.com/altera-opensource/meta-intel-fpga-refdes)
MIT License
47 stars 59 forks source link

arria10 yocto 2.7 build #154

Open pgarapati68 opened 4 years ago

pgarapati68 commented 4 years ago

Hi Raj,

I am trying to make image minimal for arria10 soc board. I get this error after following instructions. please suggest.

[pg@localhost build]$ MACHINE=arria10 bitbake core-image-minimal Parsing recipes: 100% |############################################################################################################################################| Time: 0:00:32 Parsing of 789 .bb files complete (0 cached, 789 parsed). 1310 targets, 64 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies

Build Configuration: BB_VERSION = "1.42.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "centos-7" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "arria10" DISTRO = "poky" DISTRO_VERSION = "2.7" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard" TARGET_FPU = "hard" meta
meta-poky
meta-yocto-bsp = "my-yocto-2.7:0e392026ffefee098a890c39bc3ca1f697bacb52" meta-altera = "master:c8635e2b9720cfd74f96a58885628cc95276e43d"

NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/2.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0 Initialising tasks: 100% |#########################################################################################################################################| Time: 0:00:01 Sstate summary: Wanted 757 Found 0 Missed 757 Current 0 (0% match, 0% complete) NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks WARNING: popt-native-1.16-r3 do_fetch: Failed to fetch URL http://rpm5.org/files/popt/popt-1.16.tar.gz, attempting MIRRORS if available ERROR: linux-altera-5.3+gitAUTOINC+ac41821dcd-r0 do_package: QA Issue: linux-altera: Files/directories were installed but not shipped in any package: /lib/modules/5.3.0-altera/modules.builtin.modinfo Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. linux-altera: 1 installed and not shipped files. [installed-vs-shipped] ERROR: linux-altera-5.3+gitAUTOINC+ac41821dcd-r0 do_package: Fatal QA errors found, failing task. ERROR: linux-altera-5.3+gitAUTOINC+ac41821dcd-r0 do_package: ERROR: linux-altera-5.3+gitAUTOINC+ac41821dcd-r0 do_package: Function failed: do_package ERROR: Logfile of failure stored in: /home/pg/poky/build/tmp/work/arria10-poky-linux-gnueabi/linux-altera/5.3+gitAUTOINC+ac41821dcd-r0/temp/log.do_package.19256 ERROR: Task (/home/pg/poky/meta-altera/recipes-kernel/linux/linux-altera_5.3.bb:do_package) failed with exit code '1' NOTE: Tasks Summary: Attempted 1742 tasks of which 5 didn't need to be rerun and 1 failed.

Summary: 1 task failed: /home/pg/poky/meta-altera/recipes-kernel/linux/linux-altera_5.3.bb:do_package Summary: There was 1 WARNING message shown. Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

Resolved : the issue is due to my local.conf settings. it is resolved. added the following items to local.conf file

PREFERRED_PROVIDER_virtual/kernel = "linux-altera-ltsi" PREFERRED_VERSION_linux-alterai-ltsi = "3.10%" GCCVERSION = "linaro-5.2" SDKGCCVERSION = "linaro-5.2" DEFAULTTUNE = "cortexa9hf-neon"

Got a clean build.

kraj commented 4 years ago

Please backport

https://git.openembedded.org/openembedded-core/commit/?id=112a4d3b2b4a829dd5657b6533b1c1bb589d6c8e

to openembedded-core/poky repo

It seems you are on thud branch which misses this patch.