Yocto linux-kernel bb config
bossssie , 02-04-2021, 05:28 AM
I am following the "Learn the Essentials of creating uBoot, Linux and YOCTO for a board" course. But now I am stuck on the Yocto layer part. I can succefully compile this code
https://github.com/bossssie/course_linux for a i.mx6ull board.
For the meta layer I used the toradex colibri files for i.mx6ull as a reference. The code gets cloned from github correctly and put in the folder linux-seeed.
I get the following error when running "bitbake core-image-minimal"
Code:
ERROR: linux-seeed-5.4.47+gitAUTOINC+7c3b78ebbd+gitAUTOINC+7c3b78ebbd-r0 do_populate_lic: QA Issue: linux-seeed: The LIC_FILES_CHKSUM does not match for file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7linux-seeed: The new md5 checksum is bbea815ee2795b2f4230826c0c6b8814
my linux-seeed_5.4.bb file is as follows:
Code:
#FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"require recipes-kernel/linux/linux-imx.incSUMMARY = "Linux kernel for Toradex Colibri VFxx Computer on Modules"DEPENDS += "lzop-native bc-native"SRC_URI = "git://github.com/bossssie/course_linux.git;protocol=git;branch=${SRCBRANCH}"SRC_URI += "file://defconfig"LOCALVERSION = "-yocto"PV_append = "+git${SRCPV}"LINUX_VERSION = "5.4.47"SRCBRANCH = "zeus"SRCREV = "7c3b78ebbdd961a6deace6ee819395ea17b2656a"#SRCREV = "AUTOINC"COMPATIBLE_MACHINE = "(mx6|imx6ull-seeed)"
Does anyone have any idee to get past this error?
robertferanec , 02-04-2021, 06:58 AM
I would maybe try to find out why the checksum is mismatched (and where it is defined)
bossssie , 02-08-2021, 11:11 AM
Just an update, I got it working by adding these 2 lines in the linux.bb file
Code:
LICENSE = "GPLv2"LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
Use our interactive
Discord forum to reply or ask new questions.