Questions tagged [openembedded]

OpenEmbedded is a software framework to create Linux distributions aimed for, but not restricted to, embedded devices.

514 questions
12
votes
3 answers

Bitbake -c clean removed source

I'm beginner for 'BitBake'. I need to modify source code and build it. I found the sources to be located at build/tmp/work/ within a directory which has git commit id as its name. I wanted to rebuild the source. So I gave bitbake -c clean…
Gomu
  • 1,004
  • 5
  • 16
  • 36
12
votes
2 answers

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

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…
big_gie
  • 2,829
  • 3
  • 31
  • 45
12
votes
3 answers

Cmake with bitbake recipe

I am trying to build an yocto image with my own package. I have OpenCV code on github which uses cmake. I trying to write a recipe for it and facing lot of errors. Can any one give some hints on what functions or parameters to include in my recipe.…
Zafrullah Syed
  • 1,170
  • 2
  • 15
  • 38
11
votes
2 answers

Yocto - Create and populate a separate /home partition

I'm creating quite a simple Yocto image based on x86. I want the / file system to be readonly, so I set the IMAGE_FEATURES_append = " read-only-rootfs " in a custom copy of the original core-image-minimal.bb. I do want to have the /home writable…
fault-tolerant
  • 451
  • 5
  • 15
11
votes
1 answer

bitbake: how does the build system choose the recipe provided by more than one layer

The meta layer provide recipe: meta/recipes-graphics/x11-common/xserver-nodm-init.bb The meta-oe layer provide recipe: meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb My question is: How the build system select the…
dudengke
  • 489
  • 2
  • 6
  • 18
10
votes
1 answer

Yocto "Failed to run qemu: Could not initialize SDL(x11 not > available)"

So I've got Yocto on a local build server, coz who wants that massive build chewing up their workspace amirite? Host and Server are Arch Linux 4.19.44-1-lts Anyway I am just running up the example from the quick build page found here and when I…
BitShift
  • 977
  • 2
  • 9
  • 28
10
votes
1 answer

Simple installation of native script for use in other recipe

I need to install a native script, call it foo, in one recipe (foo-native) and then use it in the do_compile step of another (target) recipe - call it bar. My (minimal) native recipe SRC_URI = "file://foo" LICENSE = "CLOSED" inherit…
kdopen
  • 8,032
  • 7
  • 44
  • 52
10
votes
1 answer

Recipe to deploy the .ipk for other developers

I have a recipe (lets say my_package_1.0.bb) that builds libraries and populates sysroot with libraries and headers I need for development. I also see that .ipk for my package is created under build/tmp/deploy/ipk/. My requirement is, I want to…
sob
  • 982
  • 11
  • 31
9
votes
1 answer

Bitbake: force one task of a recipe and all following

I want to force-recompile a package, like that: bitbake -f -c compile mypackage However, I also want all following tasks to be executed (like install, package, etc.), just as if I had called bitbake mypackage from a completely clean state. Can this…
Georg P.
  • 2,785
  • 2
  • 27
  • 53
9
votes
1 answer

Why does bitbake ignore CFLAGS in my makefile?

My application's makefile adds a couple things to CFLAGS as follows: CFLAGS += -Wall -std=gnu99 When I build the application with OpenEmbedded BitBake however, BitBake is apparently ignoring the CFLAGS variable from the makefile. I found that…
user5071535
  • 1,312
  • 8
  • 25
  • 42
9
votes
1 answer

How to examine actual bitbake commands executed

Does bitbake store the shell-commands invoked (along the the path of invocation)? I can find the shell-command output in the log-files, but would like to view the actual command line.
S.C. Madsen
  • 5,100
  • 5
  • 32
  • 50
8
votes
1 answer

using SELinux in yocto/poky

Setup: I am running Ubuntu 16.04 and I am trying to build an image that includes some recipes from meta-selinux. I have tried to follow the READMEs and other help, but I am pretty stuck. Here are the layers that I have: drwxrwxr-x 19 ubuntu ubuntu…
Mark
  • 2,058
  • 2
  • 35
  • 64
8
votes
3 answers

How to make /var/log persistent in Yocto Fido (poky)

I'm trying to get /var/log to be persistent in my fido build. The default setting on poky is, that there is a symlink in /var which points log -> volatile/log. volatile is a mounted on a tmpfs. So far i figured out that the symlink should be created…
Fl0v0
  • 900
  • 11
  • 27
8
votes
4 answers

Bitbake: How to list all recipe and append files used in an image?

I'm using OpenEmbedded-Core and have created a custom layer with priority 6. Months of development have gone by, and now I want to increase my layer's priority to 8 because an append file from another layer with priority 7 is interfering with an…
user5071535
  • 1,312
  • 8
  • 25
  • 42
8
votes
1 answer

Can't boot basic OpenEmbedded-Core on Freescale i.MX28

I've been trying to build and boot OpenEmbedded-Core on the evaluation kit for Freescale's ARM i.MX28, using the Freescale ARM layer for OpenEmbedded-Core. Unfortunately, I can't find a basic "Getting Started" guide (though there is a Yocto…
Craig McQueen
  • 41,871
  • 30
  • 130
  • 181
1
2
3
34 35