yocto

How to determine dependencies of recipes in yocto?

时光毁灭记忆、已成空白 提交于 2019-12-05 09:55:08
I want to add gedit to the the image. But i am not able to find the dependencies of gedit package. How to find the dependencies (DEPENDS) in yocto. psy You can use the following command which opens up a Dependency explorer that displays dependencies on the packages: bitbake -g recipe-name -u depexp or bitbake -g gedit -u depexp ,in your case. On pyro and later use: bitbake -g recipe-name -u taskexp Note: this command needs python-gtk2 installed. You can also use Toaster, which is a web UI that collects information about what you build, including dependencies. This video shows the dependency

How to compile a basic c file in yocto

风格不统一 提交于 2019-12-05 08:14:03
问题 I am working on yocto, I want to compile some C files in yocto and install the resulting binary to external filesystem. Before doing that I tried creating a separate reciepe and compile c code from it. I am unable to compile it. 回答1: I am not sure to understand the question since it is not precise enough. Including C files in recipe tree If you want to have the C files in your recipe, having a file tree like this: recipe-example/example/example_0.1.bb recipe-example/example/example-0.1

Write a recipe in yocto for a python application

北城以北 提交于 2019-12-05 06:46:14
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 just might need to do pip3 install pynmea2 influxdb . How do you go ahead writing my application's

How to set root password on Yocto / Poky image?

那年仲夏 提交于 2019-12-05 06:35:16
I am building an image with Yocto/Poky release Daisy 1.6.3. What is the correct way or config file where to set the root password? The default password is empty and I can't find a place where to specify it. Here is what you have to do in your recipe. inherit extrausers EXTRA_USERS_PARAMS = "usermod -P p@ssw0rd root;" where p@ssw0rd is the password you want root user to have. This link may help you. As "debug-tweaks"'s goal is to set root's password empty, you must remove it from your EXTRA_IMAGE_FEATURES. Hector D Martínez As of Poky 2.1.2; to set the root password the following instructions

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

戏子无情 提交于 2019-12-05 04:43:54
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 configuration to version control. I want everything I change to be locate in files that I can commit so that

How to specify which kernel to build with bitbake/yocto

这一生的挚爱 提交于 2019-12-05 03:23:54
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 how to define my preferred provider for the kernel. From what I have read I should just need to add it to

How do I add more python modules to my yocto/openembedded project?

百般思念 提交于 2019-12-05 02:57:05
I wish to add more python modules to my yocto/openembedded project but I am unsure how to? I wish to add flask and its dependencies. some python packages having corresponding recipes in the meta folders, like Enum class for example: meta-openembedded/meta-python/recipes-devtools/python/python-enum34_1.1.6.bb unfortunately lot's of useful classes aren't available, but some might be needed for the python application. get used of installing missing packages using pip already on booted platform? but what if the target product is not IP network connected? the solution is to implement a new recipe

Machine specific layers in yocto

此生再无相见时 提交于 2019-12-05 02:00:11
问题 I want to add some layers fetch from upstream for a new machine (call it A) mainly just to use the machine A configure file, kernel and u-boot provided from those layers. However, the new layers have several bbappend files (with bb files as well) that the version is different with other machines' layers in my yocto project. For example, machine A has its own gstreamer1.0_1.8.1.bb and bbappend file. Other machines are using gstreamer1.0_1.6.1.bb . What happens when I build the image for the

QML Virtual Keyboard Add New Layout

我只是一个虾纸丫 提交于 2019-12-04 19:51:10
I use qt qml 5.7 on Yocto project for raspberry pi. My project need virtual keyboard for Turkish language. QT Virtual Keyboard has no support Turkish language so i want to create my custom layout. I add my project example layout codes from here as name "myCustomLayout.qml". And I run my virtual keyboard display function by following codes. import QtQuick 2.5 import QtQuick.VirtualKeyboard 2.1 import QtQuick.Controls 2.0 InputPanel { id: inputPanel visible: Qt.inputMethod.visible height:main.height/4 y:main.height - height x:main.width/8 width: main.width*6/8 focus: true } When I run the

Embedded Linux – mechanism for deploying firmware updates? [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-04 17:54:41
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am considering developing on the Yocto project for an embedded Linux project (an industrial application) and I have a few questions for those with experience with embedded Linux in general -- Yocto experience a bonus. Just need to get an idea of what is being commonly done in firmware updates. I have a few