yocto

How to Enable or configure ftrace module

喜夏-厌秋 提交于 2019-12-11 06:28:29
问题 i'd like to use the advanced features of ftrace but i dit not figure out how. debugfs is mounted but there is no "tracing"-folder in /sys/kernel/debug. i am running a ARM-Target @ Angstrom distro build via yocto, please see : Image: uname -a & lsb_release -a output zcat /proc/config.gz | grep TRACER|FTRACE output How to configure the kernel ? which options i have to set? 回答1: Add below kernel config options in your yocto project conf/local.conf file & then clean & rebuild linux kernel. KERNEL

How to get initramfs libraries for 32 and 64 bit using yocto

半世苍凉 提交于 2019-12-11 05:54:51
问题 I am using yocto for creating initramfs and it creates initramfs and places the libraries in lib directory. I want to generate libraries for both 32 and 64 bit using yocto. In machine.conf I enabled MACHINE_FEATURES += "x86_64" How I generate binaries for both 32 and 64 bit using yocto in initramfs 回答1: You need to configure multilib build. Basically that boils down to something like this in your local.conf: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32"

Removing busybox completely from a Yocto generated image

扶醉桌前 提交于 2019-12-11 05:07:34
问题 I'm trying to build a yocto image without busybox and without any busybox applet deployed. I have tried that configuring my distro.conf file in this way: DISTRO_FEATURES_remove = " busybox" VIRTUAL-RUNTIME_base-utils = "" PREFERRED_PROVIDER_virtual/base-utils = "" Nonetheless, busybox binary and two related applets (syslog and udhcpc) are installed in the generated image: $ rpm -qa | grep busybox busybox-syslog-1.24.1-r0.corei7_64 busybox-1.24.1-r0.corei7_64 busybox-udhcpc-1.24.1-r0.corei7_64

cannot execute binary file: Exec format error for a custom Yocto layer

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 04:47:48
问题 I want to create a Yocto layer for the CANBOAT Repository for phyBOARD Mira board which will be connected to a NMEA2000 on a boat. I would like to read different PGN values and store it in a database. configuration I have a Linux Virtual Machine (Ubuntu 16.04 LTS) Linux ubuntu 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux I have all the meta layers in a folder called sources in the $YOCTO_DIR . Within the sources I have created the meta

Integrate out-of-tree driver in kernel and rebuild yocto project image

一世执手 提交于 2019-12-11 04:44:41
问题 I have a question regarding best practices for Yocto Project. What i want to do is to add sources for a driver from github in kernel and rebuild the whole yocto image, but i am not sure what's the best way of doing that. I am thinking of two options possible here. Fork the kernel sources into my own repo, then add the driver sources, update the Makefile and Kconfig and provide my own defconfig file. (this definitely works) The second thing that crosses my mind is to use the initial kernel

SRC_URI not working in bitabake recipe

允我心安 提交于 2019-12-11 03:06:51
问题 I created a bitbake recipe for installing https://pypi.python.org/pypi/Adafruit-GPIO/1.0.3 python package. Following is my recipe DESCRIPTION = "Library to provide a cross-platform GPIO interface on the Raspberry Pi and Beaglebone Black using the RPi.GPIO and Adafruit_BBIO libraries" SECTION = "devel/python" LICENSE = "CLOSED" PR = "r1" SRC_URI = "https://pypi.python.org/packages/db/1c/2dc8a674514219f287fa344e44cadfd77b3e2878d6ff602a8c2149b50dd8/Adafruit_GPIO-1.0.3.tar.gz" inherit pypi

Replace busybox ntpd with ntp from meta-openembedded

ぃ、小莉子 提交于 2019-12-11 02:48:21
问题 I would like to replace the standard ntpd that comes with busybox with the full NTP server released in meta-openembedded. However, I can't find the configuration or Yocto variable that sets that this version of the busybox should not have ntpd . What is the efficient way to do this? Keep in mind that I can't edit the released Poky layer. 回答1: The way I solved is quite simple. There was a file in my layer called busybox/files/ntpd.cfg with a flag CONFIG_NTPD . I've just set it to n and busybox

QtWebEngine Quicknano has no Sound in Embedded Linux

回眸只為那壹抹淺笑 提交于 2019-12-10 20:54:11
问题 I have compiled QtWebEngine into my i.MX6 embedded device. When I tried to play youtube Video with quicknanobrowser, the video plays but there would be no sound. In fact, there is no sound when I try to test play the audio files in hpr.dogphilosophy.net/test even though the website said that the browser codec is supported. I have enabled pulseaudio, gstreamer, ffmpeg, opus, vpx, libwebp and yet still no sound. However, I could play video with gst-launch and there would be sound. Is it

JAVA installation error on Yocto build

徘徊边缘 提交于 2019-12-10 20:28:07
问题 I'm having a lot of trouble installing Java on my Poky Linux system. I'm building my system using Yocto with the following configuration: local.conf MACHINE ??= "intel-corei7-64" DISTRO ?= "poky" PACKAGE_CLASSES ?= "package_rpm" SDKMACHINE ?= "x86_64" EXTRA_IMAGE_FEATURES ?= "debug-tweaks" 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,

How to add pciutils package in yocto AGL?

旧时模样 提交于 2019-12-10 12:08:34
问题 I have built Yocto AGL(6.0.0) image for RCar-salvator-xs board and flashed its hyperflash memory. Now, I want to perform PCIe related investigation, for that I want to use lspci command. But, After ligging in as a root in flashed AGL image and executing lspci command it gives command not found . How can I include pciutils in AGL source code and build it to use lspci command. I am new to Yocto and AGL. Any help will be much appreciated. 回答1: You can add IMAGE_INSTALL += "pciutils" or IMAGE