Meta Layer for Ka-Ro Yocto BSP for Ka-Ro TX and QS CoMs.
For documentation see our Yocto Guide: https://karo-electronics.github.io/docs/yocto-guide/index.html
(c) 2020 - Ka-Ro electronics GmbH - www.karo-electronics.com
Meta Layer for Ka-Ro Yocto BSP for Ka-Ro TX and QS CoMs
Home Page: https://github.com/karo-electronics/karo-bsp
Meta Layer for Ka-Ro Yocto BSP for Ka-Ro TX and QS CoMs.
For documentation see our Yocto Guide: https://karo-electronics.github.io/docs/yocto-guide/index.html
(c) 2020 - Ka-Ro electronics GmbH - www.karo-electronics.com
I am unable to set KERNEL_DEVICETREE
from my custom machine definition, probably because of KERNEL_DEVICETREE_imx*
in recipes-kernel/linux/linux-karo_%.bb
conf/machine/include/tx-base.inc
contains
ROOT_HOME ?= "/root"
inherit rootfs-postprocess
ROOTFS_POSTPROCESS_COMMAND_remove = "rootfs_update_timestamp; "
which are not related to hardware
Please consider splitting meta-karo into essential BSP packages (like recipes-kernel, recipes-bsp/u-boot/, meta-karo/conf/machine/) and the rest of distro related packages.
Now I am unable to build my own distro without overwriting yours bbappends files in my layer.
For example you are forcing me to get your private bash aliases and break my read-only rootfs moving files from volatiles.
This is OK for your distro, but adding meta-karo layer shouldn't affect others layers packages, only those required to build essential BSP.
Please let me know when you read this, because last time there were same issue with notifications.
Hi,
Any way to support Custom Template Configuration Directory?`
Looks like the setup-environment
script just uses a fixed path instead of lookup in the .templateconf
files
My intention is to provide an own layer and add it to bblayers.conf.sample
.
Hi,
When I try to run "Qt5_CinematicExperience --platform eglfs" the system try to open "/usr/lib/dri/etnaviv_dri.so" and this file not exists. In this folder i only have "swrast_dri.so".
How can I build the etnaviv driver?
Can I use VPU / GPU / IPU with the 4.14 kernel ?
If I can't use meta-freescale and i can't include imx-vpu. How can I use the vpu with gstreamer? With Krogoth / 4.1.15 I was using mxc-vpu in gstreamer line.
Same question for IPU: i was using imxv4l2videosrc with Krogoth. Does the Rocko /4.14 support the IPU directly with v4l2src ?
Romain
I am getting compile error during the build of SDK for TX6S-8035.
Here is my local.conf:
MACHINE ??= 'imx6dl-tx6-emmc'
#DL_DIR ?= "${BSPDIR}/downloads"
#SSTATE_DIR ?= "${BSPDIR}/sstate-cache"
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_deb"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
VIRTUAL-RUNTIME_init_manager = "sysvinit"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
VIRTUAL-RUNTIME_dev_manager ?= "udev"
BB_NUMBER_THREADS ?= "12"
DL_DIR ?= "/opt/yocto/downloads/"
SSTATE_DIR ?= "/opt/yocto/rocko-karo/sstate-cache"
INHERIT += "rm_work"
RM_OLD_IMAGE = "1"
I have successfully built the core-image-minimal
image, but I got the following error when populating SDK:
yocto@yocto-server:/opt/yocto/rocko-karo/build-srm645$ bitbake core-image-minimal -c populate_sdk
Parsing recipes: 100% |##########################################################################################################################################| Time: 0:00:33
Parsing of 1925 .bb files complete (0 cached, 1925 parsed). 2724 targets, 99 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6dl-tx6-emmc"
DISTRO = "poky"
DISTRO_VERSION = "2.4.2"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta-networking
meta-oe
meta-python = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta
meta-poky
meta-yocto-bsp = "HEAD:198ea7da88a2b67fd3d5d02c7b0d8d10f85bafe2"
meta-karo = "HEAD:c17d83ca0403bdf929b488ffb588a9566c9a52cf"
Initialising tasks: 100% |#######################################################################################################################################| Time: 0:00:11
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: nativesdk-dbus-1.10.20-r0 do_package: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:fixup_perms(d)
0003:
File: '/opt/yocto/rocko-karo/sources/poky/meta/classes/package.bbclass', lineno: 801, function: fixup_perms
0797: if len(lsplit) != 8 and not (len(lsplit) == 3 and lsplit[1].lower() == "link"):
0798: msg = "Fixup perms: %s invalid line: %s" % (conf, line)
0799: package_qa_handle_error("perm-line", msg, d)
0800: continue
*** 0801: entry = fs_perms_entry(d.expand(line))
0802: if entry and entry.path:
0803: if entry.link:
0804: fs_link_table[entry.path] = entry
0805: if entry.path in fs_perms_table:
File: '/opt/yocto/rocko-karo/sources/poky/meta/classes/package.bbclass', lineno: 655, function: __init__
0651: lsplit = line.split()
0652: if len(lsplit) == 3 and lsplit[1].lower() == "link":
0653: self._setlink(lsplit[0], lsplit[2])
0654: elif len(lsplit) == 8:
*** 0655: self._setdir(lsplit[0], lsplit[1], lsplit[2], lsplit[3], lsplit[4], lsplit[5], lsplit[6], lsplit[7])
0656: else:
0657: msg = "Fixup Perms: invalid config line %s" % line
0658: package_qa_handle_error("perm-config", msg, d)
0659: self.path = None
File: '/opt/yocto/rocko-karo/sources/poky/meta/classes/package.bbclass', lineno: 672, function: _setdir
0668: return None
0669: self.path = os.path.normpath(path)
0670: self.link = None
0671: self.mode = self._procmode(mode)
*** 0672: self.uid = self._procuid(uid)
0673: self.gid = self._procgid(gid)
0674: self.walk = walk.lower()
0675: self.fmode = self._procmode(fmode)
0676: self.fuid = self._procuid(fuid)
File: '/opt/yocto/rocko-karo/sources/poky/meta/classes/package.bbclass', lineno: 696, function: _procuid
0692: return -1
0693: elif uid.isdigit():
0694: return int(uid)
0695: else:
*** 0696: return pwd.getpwnam(uid).pw_uid
0697:
0698: def _procgid(self, gid):
0699: if gid is None or gid == "-":
0700: return -1
Exception: KeyError: 'getpwnam(): name not found: messagebus'
ERROR: nativesdk-dbus-1.10.20-r0 do_package: Function failed: fixup_perms
ERROR: Logfile of failure stored in: /opt/yocto/rocko-karo/build-srm645/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-dbus/1.10.20-r0/temp/log.do_package.21528
ERROR: Task (virtual:nativesdk:/opt/yocto/rocko-karo/sources/poky/meta/recipes-core/dbus/dbus_1.10.20.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2549 tasks of which 1792 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:nativesdk:/opt/yocto/rocko-karo/sources/poky/meta/recipes-core/dbus/dbus_1.10.20.bb:do_package
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
yocto@yocto-server:/opt/yocto/rocko-karo/build-srm645$
After adding meta-karo layer
Parsing recipes: 100% |###################################################################| Time: 0:00:49
Parsing of 2016 .bb files complete (0 cached, 2016 parsed). 2839 targets, 97 skipped, 0 masked, 0 errors.
NOTE: There are 3 recipes to be removed from sysroot x86_64_linux, removing...
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "stgp4"
DISTRO = "poky"
DISTRO_VERSION = "2.4.2"
TUNE_FEATURES = "arm armv7ve vfp neon cortexa7"
TARGET_FPU = "softfp"
meta
meta-poky
meta-yocto-bsp = "rocko:fdeecc901196bbccd7c5b1ea4268a2cf56764a62"
meta-karo = "rocko:408646f2d5a0ccdd1d8ad8c17cfe31a2ace8b98f"
meta-ien = "rocko:eeeb75bc1651d8244fe00f12130e013c9f12ddeb"
meta-clang = "rocko:a4c0cd28de9c3d5823be43150a76d221b08896d6"
meta-qt5 = "rocko:32bb7d18a08d1c48873d7ab6332d4cc3815a4dff"
meta-oe
meta-python
meta-networking = "rocko:dacfa2b1920e285531bec55cd2f08743390aaf57"
Initialising tasks: 100% |################################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: base-files-3.0.14-r89 do_package: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:fixup_perms(d)
0003:
File: '/opt/oe-core4/poky/meta/classes/package.bbclass', lineno: 795, function: fixup_perms
0791: if len(lsplit) != 8 and not (len(lsplit) == 3 and lsplit[1].lower() == "link"):
0792: msg = "Fixup perms: %s invalid line: %s" % (conf, line)
0793: package_qa_handle_error("perm-line", msg, d)
0794: continue
*** 0795: entry = fs_perms_entry(d.expand(line))
0796: if entry and entry.path:
0797: if entry.link:
0798: fs_link_table[entry.path] = entry
0799: if entry.path in fs_perms_table:
File: '/opt/oe-core4/poky/meta/classes/package.bbclass', lineno: 655, function: __init__
0651: lsplit = line.split()
0652: if len(lsplit) == 3 and lsplit[1].lower() == "link":
0653: self._setlink(lsplit[0], lsplit[2])
0654: elif len(lsplit) == 8:
*** 0655: self._setdir(lsplit[0], lsplit[1], lsplit[2], lsplit[3], lsplit[4], lsplit[5], lsplit[6], lsplit[7])
0656: else:
0657: msg = "Fixup Perms: invalid config line %s" % line
0658: package_qa_handle_error("perm-config", msg, d)
0659: self.path = None
File: '/opt/oe-core4/poky/meta/classes/package.bbclass', lineno: 666, function: _setdir
0662: def _setdir(self, path, mode, uid, gid, walk, fmode, fuid, fgid):
0663: self.path = os.path.normpath(path)
0664: self.link = None
0665: self.mode = self._procmode(mode)
*** 0666: self.uid = self._procuid(uid)
0667: self.gid = self._procgid(gid)
0668: self.walk = walk.lower()
0669: self.fmode = self._procmode(fmode)
0670: self.fuid = self._procuid(fuid)
File: '/opt/oe-core4/poky/meta/classes/package.bbclass', lineno: 690, function: _procuid
0686: return -1
0687: elif uid.isdigit():
0688: return int(uid)
0689: else:
*** 0690: return pwd.getpwnam(uid).pw_uid
0691:
0692: def _procgid(self, gid):
0693: if gid is None or gid == "-":
0694: return -1
Exception: KeyError: 'getpwnam(): name not found: messagebus'
ERROR: base-files-3.0.14-r89 do_package: Function failed: fixup_perms
ERROR: Logfile of failure stored in: /opt/oe-core4/build/tmp/work/stgp4-poky-linux-gnueabi/base-files/3.0.14-r89/temp/log.do_package.14500
ERROR: Task (/opt/oe-core4/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package) failed with exit code '1'
ERROR: linux-libc-headers-4.12-r0 do_package: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:fixup_perms(d)
0003:
File: '/opt/oe-core4/poky/meta/classes/package.bbclass', lineno: 795, function: fixup_perms
0791: if len(lsplit) != 8 and not (len(lsplit) == 3 and lsplit[1].lower() == "link"):
0792: msg = "Fixup perms: %s invalid line: %s" % (conf, line)
0793: package_qa_handle_error("perm-line", msg, d)
0794: continue
*** 0795: entry = fs_perms_entry(d.expand(line))
0796: if entry and entry.path:
0797: if entry.link:
0798: fs_link_table[entry.path] = entry
0799: if entry.path in fs_perms_table:
File: '/opt/oe-core4/poky/meta/classes/package.bbclass', lineno: 655, function: __init__
0651: lsplit = line.split()
0652: if len(lsplit) == 3 and lsplit[1].lower() == "link":
0653: self._setlink(lsplit[0], lsplit[2])
0654: elif len(lsplit) == 8:
*** 0655: self._setdir(lsplit[0], lsplit[1], lsplit[2], lsplit[3], lsplit[4], lsplit[5], lsplit[6], lsplit[7])
0656: else:
0657: msg = "Fixup Perms: invalid config line %s" % line
0658: package_qa_handle_error("perm-config", msg, d)
0659: self.path = None
File: '/opt/oe-core4/poky/meta/classes/package.bbclass', lineno: 666, function: _setdir
0662: def _setdir(self, path, mode, uid, gid, walk, fmode, fuid, fgid):
0663: self.path = os.path.normpath(path)
0664: self.link = None
0665: self.mode = self._procmode(mode)
*** 0666: self.uid = self._procuid(uid)
0667: self.gid = self._procgid(gid)
0668: self.walk = walk.lower()
0669: self.fmode = self._procmode(fmode)
0670: self.fuid = self._procuid(fuid)
File: '/opt/oe-core4/poky/meta/classes/package.bbclass', lineno: 690, function: _procuid
0686: return -1
0687: elif uid.isdigit():
0688: return int(uid)
0689: else:
*** 0690: return pwd.getpwnam(uid).pw_uid
0691:
0692: def _procgid(self, gid):
0693: if gid is None or gid == "-":
0694: return -1
Exception: KeyError: 'getpwnam(): name not found: messagebus'
ERROR: linux-libc-headers-4.12-r0 do_package: Function failed: fixup_perms
ERROR: Logfile of failure stored in: /opt/oe-core4/build/tmp/work/cortexa7-neon-poky-linux-gnueabi/linux-libc-headers/4.12-r0/temp/log.do_package.14497
ERROR: Task (/opt/oe-core4/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 532 tasks of which 529 didn't need to be rerun and 2 failed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.