Open jjvazha opened 3 years ago
from your logs it seems that its building 5.8 kernel not 5.4 so you might have to set PREFERRED_VERSION
I am using kraj/meta-altera recepie from https://github.com/kraj/meta-altera/blob/master/recipes-kernel/linux/linux-altera_5.8.bb
On Friday, December 18, 2020, 9:00:50 PM PST, Khem Raj <notifications@github.com> wrote:
from your logs it seems that its building 5.8 kernel not 5.4 so you might have to set PREFERRED_VERSION
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
The recepie pull this source https://github.com/altera-opensource/linux-socfpga/tree/socfpga-5.8
I do have the same problem:
ERROR: linux-altera-5.8+gitAUTOINC+eb446787ab-r0 do_shared_workdir: Execution of '/media/Data/Project/build/tmp/work/arria10-poky-linux-gnueabi/linux-altera/5.8+gitAUTOINC+eb446787ab-r0/temp/run.do_shared_workdir.1477800' failed with exit code 1: cp: cannot stat 'Module.symvers': No such file or directory
This is my build configuration on Ubuntu 20.04.2 LTS:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "arria10"
DISTRO = "poky"
DISTRO_VERSION = "3.0.2"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "HEAD:74f229160c7f4037107c1dad8f0d02128c080a7e"
meta-oe = "HEAD:9e60d30669a2ad0598e9abf0cd15ee06b523986b"
meta-altera = "master:5bb81b77d7bf81a726daec8819fa01c188863f5a"
I had to update the linux-altera recipe to linux-altera_5.8 since the previous Linux branches from linux-socfpga have been deleted (deprecated).
For now, I'm using linux-altera-lts version 5.4.104, which compiles successfully. You can add the following to your layer.conf
:
KERNEL_PROVIDER = "linux-altera-lts"
Can you cook a patch and propose here?
Hi @kraj, actually I was able to successfully compile _linux-altera5.8 after upgrading poky and open-embedded layers to dunfell. It must be something incompatible with zeus that caused the issue.
This is my upgraded build configuration on Ubuntu 20.04.2 LTS:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "arria10"
DISTRO = "poky"
DISTRO_VERSION = "3.1.8"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "dunfell:0abf6820292b8a6ac566db254ff8c9f76bf678b9"
meta-oe = "dunfell:11eae114522a6befa06c7f4021a83bc016133543"
meta-altera = "master:5bb81b77d7bf81a726daec8819fa01c188863f5a"
I was following the https://rocketboards.org/foswiki/Documentation/BuildingYoctoOrAngstromForSoCFPGA I pulled the 5.8
bitbake core-image-minimal gives me an error
DEBUG: Executing shell function do_shared_workdir cp: cannot stat ‘Module.symvers’: No such file or directory WARNING: /home/jojan.vazhaeparampil/workspace/distro/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera/5.8+gitAUTOINC+eb446787ab-r0/temp/run.do_shared_workdir.21040:1 exit 1 from 'cp Module.symvers $kerneldir/' ERROR: Function failed: do_shared_workdir (log file is located at /home/jojan.vazhaeparampil/workspace/distro/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera/5.8+gitAUTOINC+eb446787ab-r0/temp/log.do_shared_workdir.21040)