Thank you Bruce, that did the trick. But I am facing a new problem whileusing bitbake for the build process.I have checked to build the odroid kernel with a standard crosscompilertool chain and it works without any problems.When I do the same with the bitbake toolchain (bitbake virtual/kernel),it somehow creates a recursive link in the folderpackage/usr/src/kernel/drivers/gpu/arm/mali400/ump/arch/arch-release ->arch-releaseThis causes a crash in the build system.Compilation runs fine though. This error seems to be within do_package.I have removed the link, but somehow it is created automatically.Any ideas?
/MarkusOn 09.07.2014 14:44, Bruce Ashfield wrote:On 14-07-09 05:38 AM, Dr. Markus Eich wrote:Dear all,I work on the process to compile odroid xu kernel with yocto/bitbakeIn the kernel sources (from hardkernel) I have the correspondingdefconfig file, i.e. in the git folder/arch/arm/configs/odroidxu_ubuntu_defconfig.How can I tell bitbake in my recipe to use "odroidxu_ubuntu_defconfig"?To trigger the oe-core kernel processing to use the defconfig, you needto put that defconfig in your SRC_URI.Which means you should grab a copy of that from the kernel tree, andin the same directory structure as your kernel recipe.See meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb for anexample.Cheers,BruceMy recipe looks as follow:===require recipes-kernel/linux/linux-yocto.incKERNEL_IMAGETYPE = "uImage"COMPATIBLE_MACHINE = "odroid-xu"LINUX_VERSION = "3.4.91"LINUX_VERSION_EXTENSION = "-custom"FILESEXTRAPATHS_prepend := "${THISDIR}/linux-hardkernel-3.4:"S = "${WORKDIR}/git"# from where to fetch the kernelKERNEL_REPO_OWNER ??= "hardkernel"KERNEL_REPO_URI ??= "git://github.com/${KERNEL_REPO_OWNER}/linux.git"KBRANCH = "odroidxu-3.4.y"SRCREV = "${AUTOREV}"KV = "3.4.91"PV = "${KV}+gitr${SRCPV}"LOCALVERSION ?= ""SRC_URI = " \ ${KERNEL_REPO_URI};nocheckout=1;branch=${KBRANCH} \"PACKAGES =+ "kernel-headers"FILES_kernel-headers = "${exec_prefix}/src/linux*"===Cheers,Markus
On 14-07-09 05:38 AM, Dr. Markus Eich wrote:Dear all,I work on the process to compile odroid xu kernel with yocto/bitbakeIn the kernel sources (from hardkernel) I have the correspondingdefconfig file, i.e. in the git folder/arch/arm/configs/odroidxu_ubuntu_defconfig.How can I tell bitbake in my recipe to use "odroidxu_ubuntu_defconfig"?To trigger the oe-core kernel processing to use the defconfig, you needto put that defconfig in your SRC_URI.Which means you should grab a copy of that from the kernel tree, andin the same directory structure as your kernel recipe.See meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb for anexample.Cheers,BruceMy recipe looks as follow:===require recipes-kernel/linux/linux-yocto.incKERNEL_IMAGETYPE = "uImage"COMPATIBLE_MACHINE = "odroid-xu"LINUX_VERSION = "3.4.91"LINUX_VERSION_EXTENSION = "-custom"FILESEXTRAPATHS_prepend := "${THISDIR}/linux-hardkernel-3.4:"S = "${WORKDIR}/git"# from where to fetch the kernelKERNEL_REPO_OWNER ??= "hardkernel"KERNEL_REPO_URI ??= "git://github.com/${KERNEL_REPO_OWNER}/linux.git"KBRANCH = "odroidxu-3.4.y"SRCREV = "${AUTOREV}"KV = "3.4.91"PV = "${KV}+gitr${SRCPV}"LOCALVERSION ?= ""SRC_URI = " \ ${KERNEL_REPO_URI};nocheckout=1;branch=${KBRANCH} \"PACKAGES =+ "kernel-headers"FILES_kernel-headers = "${exec_prefix}/src/linux*"===Cheers,Markus
Dear all,I work on the process to compile odroid xu kernel with yocto/bitbakeIn the kernel sources (from hardkernel) I have the correspondingdefconfig file, i.e. in the git folder/arch/arm/configs/odroidxu_ubuntu_defconfig.How can I tell bitbake in my recipe to use "odroidxu_ubuntu_defconfig"?
My recipe looks as follow:===require recipes-kernel/linux/linux-yocto.incKERNEL_IMAGETYPE = "uImage"COMPATIBLE_MACHINE = "odroid-xu"LINUX_VERSION = "3.4.91"LINUX_VERSION_EXTENSION = "-custom"FILESEXTRAPATHS_prepend := "${THISDIR}/linux-hardkernel-3.4:"S = "${WORKDIR}/git"# from where to fetch the kernelKERNEL_REPO_OWNER ??= "hardkernel"KERNEL_REPO_URI ??= "git://github.com/${KERNEL_REPO_OWNER}/linux.git"KBRANCH = "odroidxu-3.4.y"SRCREV = "${AUTOREV}"KV = "3.4.91"PV = "${KV}+gitr${SRCPV}"LOCALVERSION ?= ""SRC_URI = " \ ${KERNEL_REPO_URI};nocheckout=1;branch=${KBRANCH} \"PACKAGES =+ "kernel-headers"FILES_kernel-headers = "${exec_prefix}/src/linux*"===Cheers,Markus
© 2023 Groups.io