yocto

How to enable tc command when building a kernel using Yocto recipes

三世轮回 提交于 2021-02-10 14:56:19
问题 I want to enable tc command that comes in iproute2 on my linux kernel. My kernel is built using yocto and bitbake. So, I copied the iproute recipes and whole directory from the following link to try -- https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-connectivity/iproute2 And included in my yocto build. That picked up recipe and built it all well. But I tc command is still not available on the built kernel. Question: What am I missing and how to enable tc in the kernel of a linux

How to enable tc command when building a kernel using Yocto recipes

a 夏天 提交于 2021-02-10 14:54:19
问题 I want to enable tc command that comes in iproute2 on my linux kernel. My kernel is built using yocto and bitbake. So, I copied the iproute recipes and whole directory from the following link to try -- https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-connectivity/iproute2 And included in my yocto build. That picked up recipe and built it all well. But I tc command is still not available on the built kernel. Question: What am I missing and how to enable tc in the kernel of a linux

How to disable a Virtual Terminal in Yocto Linux

血红的双手。 提交于 2021-02-10 06:27:06
问题 Would anyone know how to disable the virtual terminals in linux? I am using Yocto, Morty version on an i.MX6 processor. Even though our base distribution is Yocto, unfortunately we have diverged from building it with recipes, so this is more of a straight linux question than Yocto… To give some detail as to my problem: It is for an embedded device that has an HDMI port - when I attach a terminal to the HDMI port it shows the Linux Penguin logo, a getty service and blanks out after 600 seconds

Upgrading (overriding) an entire recipe in a custom layer

眉间皱痕 提交于 2021-02-09 11:09:27
问题 I have a custom layer in project. This gets shared with colleagues. My distro (poky) it uses a older version of alsa. This gets downloaded on initial setup of the build area. I would like to 'replace' that version of alsa with a later version and do this within my custom layer, so that they don't have to edit/replace recipes in poky. What's the best way to do this? If I just download the newer recipe and include it in my layer (matching the file system names) will it automatically use the

Yocto build error for python and qt5

百般思念 提交于 2021-02-08 10:40:52
问题 I'm getting below yocto build error and I'm not sure what is the problem. I am trying to build yocto for my warpx board. Able to build headless image but not headfull. Can you please anyone point out any issue ? I have used yocto krogoth version with freescal platform bsp. These are the commands I followed. repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b krogoth repo sync cd sources git clone https://github.com/Kynetics/meta-warpx.git cd meta-warpx git checkout krogoth

Yocto build error for python and qt5

耗尽温柔 提交于 2021-02-08 10:40:45
问题 I'm getting below yocto build error and I'm not sure what is the problem. I am trying to build yocto for my warpx board. Able to build headless image but not headfull. Can you please anyone point out any issue ? I have used yocto krogoth version with freescal platform bsp. These are the commands I followed. repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b krogoth repo sync cd sources git clone https://github.com/Kynetics/meta-warpx.git cd meta-warpx git checkout krogoth

How to cross-compile an application with library dependencies for Yocto Linux?

走远了吗. 提交于 2021-02-08 10:30:45
问题 I wrote an application on my laptop (Ubuntu 14.04) that depends on GStreamer and would like to cross-compile it for my Yocto Linux target (iMX6S-Wandboard). How do I cross-compile the application so that it runs on the target board and is able to use the GStreamer libraries? Thank you, Toan UDPATE: My Makefile: PACKAGES = gstreamer-1.0 override CFLAGS += `pkg-config --cflags $(PACKAGES)` -Wall -Wextra "-DDATADIR=\"$(DATADIR)/\"" -ffunction-sections -fdata-sections override LIBS += `pkg-config

apache2 build fails in yocto - “/usr/local/include” is unsafe for cross-compilation [-Wpoison-system-directories]

天大地大妈咪最大 提交于 2021-02-08 10:12:56
问题 I was trying to build apache2 on yocto. But I was getting below errors. ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. Some googling led me to https://lists.yoctoproject.org/pipermail/yocto/2012-March/005125.html So I looked into conf.log and find out those lines: cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system

Yocto build for a static library fails with error “No Match Found”

柔情痞子 提交于 2021-01-29 17:46:56
问题 I am trying to include a Yocto recipe in the image which I wrote for static library. Created recipes-test/static folder in my own layer . Created 'static_0.1.bb' file in this folder Created 'files' folder inside the 'recipes-test/static' folder Copied the below files. hello.c char * hello (void) { return "Hello"; } world.c char *world(void) { return "World"; } helloworld.h #ifndef HELLOWORLD_H #define HELLOWORLD_H char * hello (void); char * world (void); #endif Created recipe with the

Yocto Bitbake Glibc build fails

那年仲夏 提交于 2021-01-29 10:08:01
问题 I'm trying to build a Yocto image but the build fails when compiling glibc. If I run just bitbake glibc -c compile I get a compilation error as follows: /usr/src/debug/glibc/2.27-r0/git/nptl/pthread_atfork.c:51: undefined reference to `__dso_handle' | /media/g/01D476BE2E4F26B0/AT91/SAMA5D27_SOM1/yocto/poky/build-microchip/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/glibc/2.27-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc