Questions tagged [yocto]

An open source collaboration project that provides templates, tools and methods to help you create custom Linux-based systems for embedded products regardless of the hardware architecture

The Yocto Project is a Linux Foundation workgroup defined as:

The Yocto Project provides open source, high-quality infrastructure and tools to help developers create their own custom Linux distributions for any hardware architecture, across multiple market segments. The Yocto Project is intended to provide a helpful starting point for developers.

The Yocto Project is an open source collaboration project that provides templates, tools and methods to help us create custom Linux-based systems for embedded products regardless of the hardware architecture.

It was founded in 2010 as a collaboration among many hardware manufacturers, open-source operating systems vendors, and electronics companies to bring some order to the chaos of embedded Linux development.

In conclusion, Yocto Project is a a community open source project that is a combination of communities, companies, projects, and tools, and gather people with the same purpose to build Linux-based embedded Project.


Documentation :

3641 questions
1
vote
1 answer

Cannot build C project by Eclipse when two c sources are in the project

I would like to build c project by Eclipse. The codes are ok (like following) but link is not worked. So I cannot build them.If the contents of sub() is defined in sub.h, build works fine. I often use Microsoft visual studio, but I am a begginer of…
user8257918
  • 55
  • 3
  • 13
1
vote
1 answer

How to add an existing recipe to a custom BSP layer in Yocto

I'm new to Yocto. I have a custom BSP layer. I need to add an existing recipe to it. My layer needs to have libevent and libsoc in it. How do I add them to it?
flashburn
  • 4,180
  • 7
  • 54
  • 109
1
vote
1 answer

Bitbake: proper way to "patch" a function from a recipe?

In Yocto build, I need to patch a Python function do_special_task() in a recipe under meta/recipes-devtools. Naturally, I'm not touching the original .bb file, but creating own .bbappend in our own layer. To do this, I copy all the function into…
Konstantin Shemyak
  • 2,369
  • 5
  • 21
  • 41
1
vote
2 answers

ABI mismatch when building go project with a yocto recipe

I'm trying to write a Yocto recipe to build a Go lang project for the x86_64 target platform (rocko branch). My yocto recipe builds the Go project fine, resolving dependencies with dep tool. But the binary built doesn't run on the target platform.…
aicastell
  • 2,182
  • 2
  • 21
  • 33
1
vote
1 answer

build system derived toolchain in Yocto

I have a problem starting from the rocko upgrade and related to the Recipe-specific Sysroots introduced in Yocto 2.3 Our project uses cmake. So our recipe has: DEPENDS = "cmake-native [...]" So cmake ends up in…
StackedUser
  • 327
  • 2
  • 13
1
vote
1 answer

Yocto Project usb sensor access

I've never worked with the Yocto Project, and barely knows what it is. But I'm investigating the possibility to use a Simatic 2040 as a gateway between an USB hall sensor and industrial PLC network. The sensor that we want to use is this one. It's…
Belekz
  • 480
  • 1
  • 7
  • 18
1
vote
0 answers

Unable to run Snappy player on Beaglebone Black using Yocto Project

My main objective is to run snappy player (https://wiki.gnome.org/Snappy) on target machine (BeagleBone Black) so, I wrote a recipe for Snappy player(snappy_1.0.bb) as below LICENSE = "GPLv2" LIC_FILES_CHKSUM =…
E V Ravi
  • 141
  • 1
  • 1
  • 7
1
vote
1 answer

Yocto - Add Custom Driver

I need realtek-8192cu driver in my linux version. The default driver shipped with kernel is not suitable for me. I want to use a custom version of driver like https://github.com/desflynn/realtek-8192cu-concurrent-softAP. How to create a recipe for…
Murat
  • 245
  • 1
  • 4
  • 8
1
vote
1 answer

Yocto: oe_runmake failed, error in do_configure from bitbake image

I'm building yocto image. I'm having an error when I type bitbake piflo command (piflo is my image name) like shown figure below: oe_runmake failed with do_configure and No rule for 'clean' | make: *** No rule to make target 'clean'. Stop. So I…
paulc1111
  • 631
  • 3
  • 14
  • 32
1
vote
1 answer

yocto bitbake: running bitbake python task with python command line options

Is there a way to run bitbake task with python command line options ? Example: I have debug in the code, and the debug is always True, is there a way to pass an python option like python -O when executing bitbake task. python do_some_task(){ if…
Željko
  • 21
  • 4
1
vote
0 answers

Can u-boot verify a signed hardware?

i have found several pages and document describing how realize secure boot using i.MX6 processor and u-boot. This is fine for me, because it allow to be sure that only original FW (u-boot and kernel) can be load, but it is not sufficent. Actually i…
S.Mori
  • 29
  • 3
1
vote
3 answers

Yocto recipe to manage Go dependencies with dep tool

Update: This question is already SOLVED. I'm re-editing the question to update to the fixed state. I'm trying to write a recipe that uses dep tool to resolve dependencies of a go related project before building it. I'm using the 'poky' layer of the…
aicastell
  • 2,182
  • 2
  • 21
  • 33
1
vote
1 answer

Bitbake the latest Gstreamer in Yocto Morty

I would like to bitbake the latest Gstreamer in Yocto Morty, but the error has occured and could not implement the Gstreamer. I found the gstreamer 1.12.2 recipe at https://github.com/dv1/meta-gstreamer1.0. So I put meta-gstreamer1.0 directory in…
user8257918
  • 55
  • 3
  • 13
1
vote
1 answer

Cant get Java to run on Ostro

I have built a Ostro image from the current repo and built this on a 14.04 Ubuntu machine. I have successfully installed this on a target machine with intel i7-64 bit architecture. As per my opinion Java should have come packaged with this however…
User3
  • 2,465
  • 8
  • 41
  • 84
1
vote
2 answers

Yocto kernel module path

I need to access the target path to kernel modules in a recipe, is there a variable with such information? I mean, where can i get "/lib/modules/4.1.23-fslc+g3617c73" since this path may change because of configuration?
ErniBrown
  • 1,283
  • 12
  • 25
1 2 3
99
100