Questions tagged [yocto]

Framework for building installable images

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

rc.local doesn't run my app

Hi everyone I'm working with Yocto Linux and I want to run a program while yocto is starting, I finish to configure rc.local, but my program doesn't run and when I run my program with sudo ./app i get ...
0
votes
0answers
33 views

How to configure X11 for embedded i.MX6 board with touchscreen?

I plan to run an Electron app on my UDOO Neo i.MX6 board with the official st1232 7'' touchscreen kit for UDOO Neo. I created a custom Linux distro with Poky (thud branch) to be able to build a "ready ...
0
votes
0answers
18 views

yocto how to upgrade the kernel

I am still fairly new to Yocto and Openembedded. I’ve built a custom distribution and have a few images. I’m now in the process of trying to determine how to upgrade from one version to another. I ...
0
votes
0answers
13 views

How can I build rootfs for a generic arm64 machine with yocto?

I want to build the latest version of yocto for a specific board (imx8). I don't care about the device tree, or kernel, or any of that. I just want the rootfs. Is there a way to build the rootfs ...
0
votes
0answers
27 views

Let ifupdown use /etc/sysconfig/network-scripts/ifcfg-*

Is there any chance to let ifupdown use the single ifcfg files in /etc/sysconfig/network-scripts instead of using the /etc/network/interfaces file? With that I mean when running ifup enp1s0 it should ...
1
vote
0answers
153 views

yocto not including kernel module in final image

I am trying to enable the CP210X kernel module in my yocto-poky build. I have enabled this option in the bitbake -c menuconfig <name>. I have it included in my meta layer config files under the ...
0
votes
1answer
134 views

How can I add missing “env import” to u-boot?

I'm trying to set up a u-boot on an imx8 board to load environment variables from a uEnv.txt file on the first partition. I've got it working so that it loads the file, and now I'm trying to import ...
2
votes
1answer
45 views

Cannot enable TPM in the kernel

I'm building a machine with Yoctoproject. I need TPM module for some purposes but I can't enable it. I tried this way: I ran bitbake -c menuconfig virtual/kernel, accessed Device Drivers > ...
0
votes
1answer
47 views

Symbolic links in Yocto

I'm trying to make a sym link in Yocto to enable a systemd service that is not enabled by default (apache2, by the way). Here my post process command: my_postprocess_function() { ln -s ${...
1
vote
1answer
35 views

How to build hddimg for i.mx7

I have an i.mx7 som. I want to build a Yocto image which I can dd onto a usb stick to boot from. I believe that I want an hddimg image but cannot see how to create one (I have sdimg which works ...
2
votes
1answer
100 views

How can I speed up random init? [duplicate]

I have an embedded device running a linux environment built with Yocto. I have both openssh-server and nginx running, both of which take 1 minute to start because they are waiting on enough entropy: ...
0
votes
0answers
41 views

How to enable root logical volume in systemd-boot

Reposted. Originally posted on Stack Overflow. First, I was using OpenEmbedded Linux / Yocto 2.6. I tried under 2.7 and got the same issue. I need to have the root filesystem be a logical volume. ...
0
votes
0answers
85 views

Yocto system lockup: rcu_preempt detected stalls on CPUs/tasks

I'm dealing with an intermittent lockup issue on an embedded Yocto system. (4.1.15-2.0.0). We have been able to, over the course of a few weeks, reproduce several times across several units but not ...
1
vote
1answer
133 views

Ethernet over USB

I am new to Yocto, playing with the core-minimal-image and trying to run it on my pocketbeagle. I would like to SSH into my pocketbeagle over the USB port. I know it is possible, as the default image ...
0
votes
0answers
27 views

How to setup grub with a squashf image with custom distro

I'm a little new with grub and I'm a bit confused. There seems to be a few ways to what I'm looking for and none of them seem to work properly. Instead of listing all the things I've tried, I'll just ...
1
vote
0answers
24 views

Yocto - Sumo omitting the file xtables.c for compilation?

I have a Sumo Yocto build and I am trying to build the iptables. However, it is not building the xtables.c file. Here is the Sumo Yocto IP tables recipe http://git.yoctoproject.org/cgit.cgi/poky/...
1
vote
1answer
57 views

udev: Issue with a rule for a PCIe 4G network device

The goal of my rule is having the network interface renamed from "eth0" (or whatever) to "gsm0" and to create a symlink /dev/ATCMD to /dev/ttyUSBX depending on the device we use to issue the AT ...
1
vote
0answers
14 views

How to see all kernel menu options in Yocto?

I want to enable the kernel options using menu config in Yocto - Sumo. I am using the following command bitbake linux-yocto -c menuconfig Symbol: ZONE_DMA [=n] ...
0
votes
0answers
23 views

What is the machine equivalent of MPC8377 in the free scale yocto?

I want to build the free scale yocto project and my processor is MPC8377. However, I don't see that machine on the list. What is the closest to it? Supported machines: apalis-imx6 cgtqmx6 ...
1
vote
2answers
175 views

Yocto Boot2Qt Build for Colibri iMX6ULL no wifi interface

I have built the linux distro Boot2Qt from source with the yocto tools for the board Colibri iMX6ULL which has the integrated wifi chip Marvell W8997-M1216. I installed the whole linux firmware-stack ...
1
vote
2answers
551 views

Yocto Image will not boot

I asked this question on StackOverflow before but got told here is the right spot to ask. Since im new to Yocto I ran into some problems trying to boot my intel-corei7-64 core-image-minimal from HDD. ...
0
votes
0answers
189 views

systemd service will not start automatically at boot-up

I've been struggling to solve this for 2 or 3 days now. I am using Yocto to customize a Linux build. I have a systemd service called app2.service as below. [Unit] Description=app2 ...
0
votes
1answer
143 views

“/root” directory is missing in Yocto build

I have a yocto based Linux build system. I see the "/root" directory is missing. I have the other usual directories under "/". Does anyone know who creates "root" directory under "/" ? P.S. I'm ...
0
votes
0answers
18 views

How to choose the C runtime library that will be included in the system image generated by Yocto?

As you all know, setting TCLIBC (eg. uclibc) in some distroX.conf will choose the C library with which the system is built (The compilation toolchain is going to build the system's packages with that ...
0
votes
0answers
74 views

How to run a process in background on startup?

I'm trying to run a process(myfile) on startup on my yocto linux board, but I'm getting either IOCTL or segmentation fault while I use nohup or & to run in background. I could run myfile in ...
0
votes
0answers
377 views

How to build iptables kernel module for Yocto?

So I have been having a rough time building the kernel modules for iptables with bitbake. I got the userspace application working, but the net folder is completely missing from my /lib/modules/`uname -...
1
vote
0answers
176 views

Yocto adding multiple system services to recipe file

I am modifying a Yocto .bb recipe file to add and enable 3 systemd services in my image. Below shows the bottom of my recipe file with just two services added and enabled. This works! app1.service is ...
0
votes
0answers
484 views

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 ...
1
vote
0answers
215 views

Modifying U-boot booting script and DHCP command script in Petalinux

I want to try the following things : Modify the booting arguments of u-boot of my Petalinux project which is currently using the Xilinx Kernel. I want to modify it such that it runs DHCP during ...
2
votes
0answers
186 views

Yocto vs Petalinux Tools

Me and my team are currently working with Yocto and Petalinux Tools ( from Xilinx) to develop a distribution based on the Xilinx Linux kernel. At first glance both look the same and there is little to ...
1
vote
2answers
471 views

error while starting open ssh : /usr/sbin/sshd: /lib/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /usr/sbin/sshd)

I am working on an embedded board, to access that board I need ssh to work smoothly. Currently, for debugging purpose I am using serial connection to access the board. Now, when I try to start ...
0
votes
0answers
62 views

yocto Xen-Guest-Image-Minimal filesystem setup question

I have used poky/yocto project to create a xen-guest-image-minimal for Xen 4.9.0 (Ubuntu Server 18.04) running on a Xeon i586 processor. I am now preparing to create config file for the guest... and ...
0
votes
0answers
95 views

Can I copy over .ko files to another Linux?

I am working on a wifi chipset from Atmel (ATWILC3000) and following its user guide here. I built the kernel and flashed on their development board SAMAD4XULT (has an ARM). Since the kernel modules ...
0
votes
0answers
17 views

Snoopy logger: libsnoopy.so file is not coming into rootfs but there in packages

When building snoopy package with yocto all the files were inside package dir, but only libsnoopy.so file is missing in rootfs though all links to libsnoopy.so.1, libsnoopy.so.2 file is present in ...
0
votes
0answers
74 views

How to check the status of emmc flashing

I am using a BeagleBone running Linux. I have a Yocto-generated custom Linux image which I flash from the SD card to the internal emmc. This flashes fine, however, I am unable to view the status of ...
0
votes
0answers
25 views

Failing to install my syslog-startup.conf via yocto bitbake

I'm trying to install my own syslog-startup.conf file as a part of the busybox recipe. The file will look like this: DESTINATION=file # log destinations (buffer file remote) LOGFILE=/mnt/userrw/...
0
votes
1answer
67 views

How to read back a fan speed?

I am on a custom board using an i.MX6. I am using Yocto (Pyro) to build my kernel (4.14.16). I am using the generic imx6qdl.dtsi device tree entry for PWM2 to drive the fan and it appears to work ...
1
vote
0answers
174 views

No mouse cursor in Qt EGLFS on Yocto

I am trying to use mouse cursor in Qt5 application. When I run ./Qt5_CinematicExperience : Failed to move cursor on screen HDMI1: -14 Could not set cursor on screen HDMI1: -6 There is no mouse ...
1
vote
0answers
562 views

Linux device unit inactive (dead) after systemctl daemon-reload

I used the solution proposed by galets in this post to add my own udev rule: How to wait for a /dev/video0 before starting a service When Linux boots, my device is detected, and the rule creates a ...
0
votes
1answer
41 views

Capabilities YoctoProject SDK V1.8

I am trying to install the capabilities in my image of the yocto project with SDK V.1.8 for the T2080. I already did it with the SDK V.2.0 for the development kit T2080RDB-PC and for them to work I ...
3
votes
1answer
464 views

Adding iptables to yocto causes image do_rootfs to fail

My image builds nicely with kernel 4.13 (set in local.conf) and all of my recipes. When I try to add the iptables recipe (v1.6) to my image, the do_rootfs task fails with the following error: ERROR: ...
0
votes
1answer
300 views

“-sh: Cannot execute binary file” because of source compiled on “x86_64” and executed on “i686” platform

I need to run some USB NCM related test cases for which i have written some test code in .c file. I have compiled the .c file from Ubuntu Host by using GCC compiler and trying to run from Device's ...
0
votes
1answer
68 views

syslinux pxe boot reboots every few minutes

I am trying to achieve PXE Boot and install the Yocto Image on my intel Apollo Lake SoC. What i did till now: Created EFI/SYSLINUX Folder and placed syslinux.efi and ldlinux.e64, menu.c32 and in ...
1
vote
1answer
276 views

Change sudoers file at build time Yocto Project 2.0

I am using yocto project (QorIQ SDK 2.0) to create my operating system and I want to add the following lines to the sudoers file at compile time: *##My extra rules* Cmnd_Alias DATE=/bin/date %test ...
0
votes
1answer
408 views

systemd ExecStopPost and $SERVICE_RESULT behavior

I want the not working part to work as expected. The syntax expects at least single spacing before and after the environment variable $SERVICE_RESULT. Systemd version: 237 The failurehandler@....
4
votes
0answers
609 views

Ownership of a disk image created with wic

I’m facing an issue when trying to write an image on a SD card. The image was generated by the Wic tool : wic create sdimage-8G.wks -e gnuradio-dev-image -o images/$MACHINE where gnuradio-dev-...
0
votes
1answer
64 views

What makes debian different from other variants given they have same kernel? [closed]

In the recent project we have been asked to create a debain based system for a SOC. Doing some gooogling I did find guides that point to ways to use yocto to create a debian system [1]. But then I ...
1
vote
0answers
107 views

How to run Yocto with really slow internet?

I am trying to build an image using the yocto for the raspberry pi. The only thing I find hindering is that I have real slow connection to the internet. So I am just trying to figure out if there is a ...
1
vote
0answers
227 views

Obex file transfer (opp protocol) using obexd is very slow

I am using the obexd app that comes with the bluez stack in my Linux system to accept files from an android device over OBEX. The file transfer handshake and download happen correctly and ...
0
votes
0answers
398 views

Accessing initramfs-tools features in Yocto generated initramfs image

I would like to load a few kernel modules, and activate framebuffer access prior to Plymouth launch. This is normally done using /etc/initramfs-tools directory provided with the initramfs-tools. ...