yocto

YOCTO : can't insert linux module to the kernel : versions are different

对着背影说爱祢 提交于 2019-12-23 02:52:58
问题 I'm using YOCTO PROJECT to build a linux os for my embedded board. I have a module named uleds which i want insert to my kernel so i taped this insmod command: insmod /lib/modules/4.14.73-linux4sam-6.0-dirty/kernel/drivers/leds/uleds.ko But an errors comes out : uleds: version magic '4.14.88-01445-g234c56a01768-dirty mod_unload ARMv7 p2v8 ' should be '4.14.73-linux4sam-6.0-dirty mod_unload ARMv7 p2v8 ' uleds: version magic '4.14.88-01445-g234c56a01768-dirty mod_unload ARMv7 p2v8 ' should be

How to add multilanguage support to a Yocto build?

给你一囗甜甜゛ 提交于 2019-12-22 18:15:26
问题 I'm trying to add multilanguage support to a Yocto build. Reading the official documentation I've found that the build options that controls locale settings are: GLIBC_GENERATE_LOCALES IMAGE_LINGUAS Link: http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#var-GLIBC_GENERATE_LOCALES After a build with the following options: GLIBC_GENERATE_LOCALES="en_GB.UTF-8 en_US.UTF-8" IMAGE_LINGUAS?="en-gb" if I ask to "localectl" the list of available locales, nothing is displayed (command:

Yocto: : does bitbake cleanall ,cleans dependencies as well

ぃ、小莉子 提交于 2019-12-22 12:37:22
问题 bitbake cleanall Removes all output files, shared state cache, and downloaded source files for a target It is not clear or documented if it cleans all build time dependencies as well 回答1: Please read the mega-manual section do_cleanall . do_cleanall removes: all output files shared state (sstate) cache and downloaded source files for a target (i.e. the contents of DL_DIR). You can run this task using BitBake as follows: $ bitbake -c cleanall <recipe-name> If recipe name is not passed to

Ship extra files in kernel module recipe

倖福魔咒の 提交于 2019-12-22 10:08:33
问题 Is there a way I can ship more files when building an out of tree kernel module? I have tried something like this: FILES_${PN} += "${bindir}/my_program" do_install_append() { install -d ${D}${bindir} install -m 0755 ${D}/my_program ${D}${bindir}/my_program } And like this: FILES_kernel-module-${PN} += "${bindir}/my_program" do_install_append() { install -d ${D}${bindir} install -m 0755 ${D}/my_program ${D}${bindir}/my_program } But still complains: ERROR: QA Issue: my-module: Files

Project ERROR: Unknown module(s) in QT: webengine

大兔子大兔子 提交于 2019-12-22 08:30:05
问题 I have compiled a framebuffer (without x11 and wayland) image for wandboard-quad with Yocto Jethro. I have used the Freescale Community BSP Jethro branch.The image contains most of the Qt 5.5 components and Qt Web Engine. The qmake version is 5.5.1 from meta-toolchain-qt5 and Qt Creator is 5.5 as well. I created the quick nano browser example to test the functionalities. But, Qt Creator gives me this Project ERROR: Unknown module(s) in QT: webengine when I cross compile to wandboard. Desktop

Project ERROR: Unknown module(s) in QT: webengine

匆匆过客 提交于 2019-12-22 08:29:23
问题 I have compiled a framebuffer (without x11 and wayland) image for wandboard-quad with Yocto Jethro. I have used the Freescale Community BSP Jethro branch.The image contains most of the Qt 5.5 components and Qt Web Engine. The qmake version is 5.5.1 from meta-toolchain-qt5 and Qt Creator is 5.5 as well. I created the quick nano browser example to test the functionalities. But, Qt Creator gives me this Project ERROR: Unknown module(s) in QT: webengine when I cross compile to wandboard. Desktop

How to build Qt (with QtWebEngine support) using meta-toolchain-qt5?

邮差的信 提交于 2019-12-22 08:01:53
问题 I am trying to build Qt using meta-toolchain-qt5 , but when I do this via poky-glibc-x86_64-meta-toolchain-qt5-cortexa7hf-vfp-vfpv4-neon-toolchain-2.0.1.s‌​‌​h , I don't see anything about QtWebEngine in the sysroot directory. I also tried to build Qt using the following command bitbake meta-toolchain-qt5 but it is the same result; I don't have anything regarding Qt WebEngine. How can I build Qt with QtWebEngine support? 回答1: Looking at meta-toolchain-qt5 it inherits populate_sdk_qt5 , which

Write a recipe in yocto for a python application

非 Y 不嫁゛ 提交于 2019-12-22 05:16:30
问题 I have a simple python application which does: acquire information from a GPS parse information store it in InfluxDB The package requirements: certifi==2018.4.16 chardet==3.0.4 idna==2.6 influxdb==5.0.0 pynmea2==1.12.0 pyserial==3.4 python-dateutil==2.7.3 pytz==2018.4 requests==2.18.4 six==1.11.0 urllib3==1.22 The above is generated by using: pip3 install pynmea2 pyserial influxdb In the OpenEmbedded Layers Index I have already found pyserial package for Python3 . Which implies on the board I

Yocto/bitbake/OpenEmbedded: Best place for build/conf/local.conf's content?

余生颓废 提交于 2019-12-22 04:35:35
问题 I'm trying out yocto (2.0, jethro) and I want to build an image starting from core-image-minimal . This works fine. Every website out there mention modifying the file build/config/local.conf with (some of) my customization. For example, the target machine (through MACHINE ) or some global settings (through EXTRA_IMAGE_FEATURES ). I also need to modify some specific packages and the way to do it is to create a custom layer. So far so good. What I don't understand is how to "save" all my

How to specify which kernel to build with bitbake/yocto

旧巷老猫 提交于 2019-12-22 04:09:08
问题 I am working on generating a new BSP using yocto daisy. When I build my image I get these warnings: NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for virtual/kernel (my-kernel, linux-dummy) NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/kernel NOTE: multiple providers are available for runtime kernel-modules (my-kernel, linux-dummy) NOTE: consider defining a PREFERRED_PROVIDER entry to match kernel-modules I can't understand