yocto

How to find which Yocto Project recipe populates a particular file on an image root filesystem

时光总嘲笑我的痴心妄想 提交于 2019-12-03 12:21:31
问题 I work with the Yocto Project quite a bit and a common challenge is determining why (or from what recipe) a file has been included on the rootfs. This is something that can hopefully be derived from the build system's environment, log & meta data. Ideally, a set of commands would allow linking a file back to a source (ie. recipe). My usual strategy is to perform searches on the meta data (e.g. grep -R filename ../layers/* ) and searches on the internet of said filenames to find clues of

Docker image format

穿精又带淫゛_ 提交于 2019-12-03 10:42:13
I would like to build a Docker image without docker iself. I have looked at Packer , but it requiers to have Docker installed on the builder host. I have looked at the Docker Registry API documentation but this information doesn't appear to be there. I guess that the image is simply a tarball, but I would like to see a complete specification of the format, i.e. what exect format is required and whethere there are any metadata files required. I could attempt downloading an image from the registry and look what's inside, but there is no information on how to fetch the image itself. The idea of

Yocto build for preempt_rt

匿名 (未验证) 提交于 2019-12-03 08:50:26
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm building a custom kernel for the beaglebone black. Following this guide ( http://android.serverbox.ch/?p=1273 ) I'm able to boot to console successfully using a base image. When I try to build with the realtime kernel patch using command: bitbake core-image-rt I get the following error messages: Loading cache: 100% |###############################| ETA: 00:00:00 Loaded 1222 entries from dependency cache. Parsing recipes: 100% |#############################| Time: 00:00:00 Parsing of 862 .bb files complete (861 cached, 1 parsed). 1221

How do I write a yocto/bitbake recipe to copy a directory to the targe root file system

ぃ、小莉子 提交于 2019-12-03 07:04:11
I have a directory of 'binary' (i.e. not to be compiled) files and just want them to be installed onto my target root file system. I have looked at several articles, none of which seem to work for me. The desired functionality of this recipe is: myRecipe/myFiles/ --> myRootFs/dir/to/install My current attempt is: SRC_URI += "file://myDir" do_install() { install -d ${D}/path/to/dir/on/fs install -m ${WORKDIR}/myDir ${D}/path/to/dir/on/fs } I can't complain about the Yocto documentation overall, it's really good! Just can't find an example of something like this! You just have to copy these

Yocto: Adding kernel module recipe to image, but it doesn't load on boot

一个人想着一个人 提交于 2019-12-03 04:49:36
For testing purposes, I am using the example recipe provided by yocto to demonstrate how to build kernel modules. SUMMARY = "Example of how to build an external Linux kernel module" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" inherit module PR = "r0" PV = "0.1" SRC_URI = "file://Makefile \ file://hello.c \ file://COPYING \ " S = "${WORKDIR}" # The inherit of module.bbclass will automatically name module packages with # "kernel-module-" prefix as required by the oe-core build environment. The hello.c file is very simple. #include <linux/module.h>

How to INSTALL &amp; RUN QML QtWebEngine &amp; QtWebKit on SBC using Yocto / Unable to fetch URL from any source

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Environment Debian GNU/Linux 7.8 (wheezy) Linux marvin 3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21) x86_64 GNU/Linux Raspberry Pi 2 Yocto Poky Qt5 My goal is to run Chromium layout web engine on the RPi2 I want to be able to run this on my RPi2: import QtQuick 2.1 import QtQuick.Controls 1.1 import QtWebEngine 1.0 ApplicationWindow { width: 1280 height: 720 visible: true WebEngineView { id: webview url: "http://www.qt-project.org" anchors.fill: parent } } How I created my RPi2 image I have successfully created an image for

How to find which Yocto Project recipe populates a particular file on an image root filesystem

半世苍凉 提交于 2019-12-03 02:04:59
I work with the Yocto Project quite a bit and a common challenge is determining why (or from what recipe) a file has been included on the rootfs. This is something that can hopefully be derived from the build system's environment, log & meta data. Ideally, a set of commands would allow linking a file back to a source (ie. recipe). My usual strategy is to perform searches on the meta data (e.g. grep -R filename ../layers/* ) and searches on the internet of said filenames to find clues of possible responsible recipes. However, this is not always very effective. In many cases, filenames are not

Yocto Jethro: How to choose a Yocto Default Compiler? glibc failed at do_compile when use gcc 4.9

匿名 (未验证) 提交于 2019-12-03 01:46:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Because of old Das u-boot from HEAD branch that do not have gcc 5 yet, I am planning on using gcc 4.8 or 4.9 as a default compiler instead of 5.2. GCC required virtual/libc glibc-2.22. glibc-2.22 complied successfully with 5.2. Unfortunately, it failed at do_compile with the error: ld: cannot find -lgcc with gcc 4.8 and 4.9 arm-poky-linux-gnueabi-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/yocto/hio-jethro/build-hio/tmp/sysroots/hio-imx6dl-board-tcbootstrap -nostdlib -nostartfiles -r -o

meta-qt5 Krogoth Branch Building Error During &#039;do_populate_sysroot&#039;

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to build 'meta-qt5 krogoth branch' but I am getting following error during qtwebengine 'do_populate_sysroot' state. ERROR: qtwebengine-5.6.0+gitAUTOINC+643aa579fc_8252b18aa3-r0 do_populate_sysroot: QA Issue: Qt5WebEngineCore.pc failed sanity test (tmpdir) in path /home/yusuf/yocto-krogoth/poky/qt5Toolchain/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/5.6.0+gitAUTOINC+643aa579fc_8252b18aa3-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig] ERROR: qtwebengine-5.6.0+gitAUTOINC+643aa579fc_8252b18aa3-r0 do_populate

Yocto generated nativesdk-cmake SDK is incomplete

匿名 (未验证) 提交于 2019-12-03 01:08:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: For the past couple of days I have been trying to generate a viable CMake SDK with Yocto Project. I'm trying to generate SDK based on an image file which is given below: #To build SDK, use bitbake meta-toolchain DESCRIPTION = "Embeddev-LXDE image." LICENSE="CLOSED" IMAGE_INSTALL = "packagegroup-core-boot \ packagegroup-core-x11 \ packagegroup-lxde-base \ kernel-modules \ " IMAGE_INSTALL_append = " nano git cmake qtbase qtchooser dbus packagegroup-core-ssh-openssh xterm" #Framebuffer driver for tft IMAGE_INSTALL_append = " xf86-video-fbdev"