Questions tagged [yocto]

Framework for building installable images

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

DNS resolution not working in Automotive Grade Linux with QEMU

I build the AGL image with bitbake agl-image-minimal command and I am using runqemu bzImage agl-image-minimal-qemu86-64.ext4 to start the emulator. I was able to run ping 8.8.8.8 command successfully. ...
0
votes
0answers
6 views

how to change yocto desktop to gnome,xfcem…?

I'm new to Yocto project. I can build image for intel-corei7-64 (UEFI and Legacy). Now, how can I change default desktop? I found meta-gnome , meta-xfce layer in openembedded layer index, I know how ...
0
votes
0answers
9 views

Reboot fails and tries again forever

I have a linux/yocto system that is stuck in a reboot loop. It encounters a failure that causes it to attempt to reboot. While core dumping another (different) failure occurs which causes another ...
0
votes
0answers
34 views

Ctrl + C Not terminating a process in Linux

I am building a custom Linux Image using Yocto Zeus (5.4 Kernel). On loading and checking the various functionalities of the Image, I am not able to exit some of the processes such as ping, tail -f in ...
0
votes
0answers
22 views

Choosing linux as a base distro for a presentation project [PresenTux]

Greetings dear StackExchangers :) Basically, in short, this question will be about: if it's a good idea to use Yocto Linux as a basis for my idea (described here) or can you recommend me other distro ...
0
votes
0answers
7 views

How to solve sstate error of BitBake?

I have an error when I try to build my image using BitBake in poky: ERROR: Execution of event handler 'sstate_eventhandler2' failed Traceback (most recent call last): File "poky/meta/classes/...
0
votes
0answers
45 views

Changing Timezone using timedatectl on a read only filesystem

I am trying to change timezone using timedatectl on a readonly file system. And I am unable to do so. I get an error saying unable to change timezone. I am guessing that is because it is a read-only ...
0
votes
1answer
49 views

systemd: Failed to disable unit: Read-only file system

I have an embedded system with an operating system built by yocto (Automotive Grade Linux: Halibut 8.0) that has 2 competing dhcp clients: connman and systemd-networkd. sa8155:~# systemctl --type=...
0
votes
1answer
37 views

How can I install dpkg and aptitude on Raspbian?

I've downloaded and burn a yocto raspbian image, I found out I've no apt nor dpkg but only pkg-config and wget, how can I install them? Or at least how could I install dpkg in order to install apt in ...
0
votes
0answers
44 views

Can't see /proc/scsi/sg folder in the Yocto file system

I'm using a Yocto image on an iMX6 SoC ev-board and I would like to write a C code to access the USB storage device via sg driver. Since I need to access the logical blocks of the storage directly ...
0
votes
0answers
13 views

Can I build μClinux with yocto?

I'm new to μClinux and from what I've read, the best way to build Linux for embedded systems is to use yocto. I want to build μClinux for stm32f407. It's equipped with a Cortex-M4 and does not have ...
5
votes
2answers
122 views

systemd-journald persistent logs do not work with bind mount /var/log

I am using Yocto to produce a custom image for a small embedded Linux system with SystemD Version 241. The root file system is Read-Only. I am using bind mounts and overlayfs to make the /var/log/...
2
votes
1answer
121 views

switch_root from initramfs is failing

we're trying to implement an initramfs with the intent of: Open a LUKS partition (using a key saved on TPM) Mounting the partition RO Mounting an OverlayFS switch_root to the new system The first ...
1
vote
1answer
95 views

Yocto recipe for systemd USER service

I'm trying to create a yocto recipe in order to add an to enable a systemd user service. The problem is that, since the service is installed in systemd/user, with bitbake I get this error: ERROR: ...
1
vote
0answers
47 views

Initializing framebuffer device without udev

I am trying to reduce boot time in a Raspberry Pi 4 using Yocto Linux. The system uses SysV init. There is psplash that uses framebuffer, and Qt application that uses DRM/eglfs, displayed ...
0
votes
0answers
18 views

yocto bitbake a recipe - df: not found

I am writing an bb file, when bitbake it, I got: ./install.sh: 381: ./install.sh: df: not found What should I do to solve this?
0
votes
1answer
20 views

How to include all subfolder and files

In yocto recipe, we use FILES_${PN} += "foo" to include files. How about I want to include all subfolders and files. How to assign it? I don't want to do this: FILE_$(PN} +="foo foo/* foo/*/* ...
0
votes
1answer
43 views

yocto linux - how to shrink a disk image

Noob alert. I used win32 disk imager to backup a 16Gb Scandisk SD card. I have a batch of Verbatim 16GB SD cards I'm trying to restore the image to. Win32 disk imager complains that they have less ...
0
votes
0answers
61 views

Running wic image with qemuarm

I just created a core-image-minimal image for qemuarm and also craeted a partitioned wic image for the same. Now If I just try to run my image with QEMU, the booting hangs forever. The command I used:...
0
votes
0answers
142 views

OPKG : nothing provides requested

I have a custom Linux distro built with Yocto/Poky on branch thud. I'm using opkg as software to manage my packages updates on my embedded systems. I have hundreds of systems running and wanted to ...
1
vote
1answer
63 views

There is no scaling_max_freq sys file

I checked my Linux sys file, I don’t have: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq My kernel config doesn’t have CONFIG_X86_INTEL_PSTATE, and it still didn’t use acpi-cpufreq driver. ...
0
votes
1answer
107 views

numactl: this system does not support NUMA policy

When using numactl, I was seeing numactl: this system does not support NUMA policy. Is it because some kernel config is not enabled? Confirmed BIOS enabled NUMA. lscpu shows there are NUMA nodes.
0
votes
0answers
30 views

How to build a linux for Intel Galileo gen 2?

There're some files, provided by Intel. It is set of linux images for Intel Galileo. I tryed to build one of them with help of this thing, but it doesn't work, because image doesn't consist .bb file ...
0
votes
0answers
38 views

Network interface is not ready until I try and bring it up

My network interface does not come up when I boot. This was happening with systemd, and I switched to sysv (which I know better) and it's still happening. This is after I boot, no matter how long I ...
0
votes
0answers
35 views

How to create a static hello world program in C using yocto - zynq?

I am trying to create a simple hello world program in C using yocto. Here are my steps. Basically, I want to program this elf using JTAG to my Zedboard. source /opt/poky/2.5.3/environment-setup-...
0
votes
1answer
47 views

How do I make sure sudo is setuid in repackaged squashfs?

I'm trying to manipulate a squashfs file, containing a yocto build and an application payload, but everytime I do so, sudo fails to execute afterwards. root user is disabled, so I have no real ...
0
votes
0answers
23 views

Errors in my recipe netwprkmanager-pptp

i write recipe networkmanager-pptp for yocto but it have some problem. I thought it was missing the config but didn't know how to fix it. This recipe is very basic and created from autotools. Looking ...
0
votes
1answer
26 views

Yocto version v3.21.0 & QT5

I am using yocto v3.21.0 i.e poky-2.4.3. Trying to add QT5 to the yocto image. I am following this link :-- Using yocto with qr5 I have added layer for qr5 :-- ${TOPDIR}/../meta-qt5 I have to ...
0
votes
0answers
37 views

systemd and fstab mount order

I have an embedded system that uses systemd. The rootfs is read-only. There is a file in /etc/systemd/network/20-wired.network which is a symlink, which points to a file on a different partition, ...
0
votes
0answers
59 views

Driver not showing up in menuconfig Yocto

For my project I would like to import the ath10k driver, but when I run menuconfig only ath9k shows up. Is there any way to import it?
0
votes
1answer
39 views

Wireless card listed but disabled

I have a WNFQ-258ACN(BT) wireless network card installed in a PICO-KBU4 board. It is running Yocto Linux. When I make ifconfig no wireless interface shows up. When I list PCI devices it shows up [...
0
votes
0answers
36 views

run startx on yoctost-example-image-x11 image on stm32mp157 device

I want to use SDL2 to run some application on X11. I build st-example-image-x11 and when LDME service started I can run startX and run my application. I want turn off LDME manager and only run ...
1
vote
1answer
127 views

Troubles autostarting Qt app on Yocto Raspberry Pi3

I'm looking to boot my Pi as quickly as possible into a Qt application. Following this guide I successfully built a Yocto Linux with the necessary Qt dependencies, and I can launch my Qt app by ...
0
votes
1answer
401 views

Why is systemd having trouble with a service PID file?

I'm running a custom Yocto build of Linux on embedded hardware. I have nginx installed, but it won't start correctly. systemctl start nginx.service fails When I try and start the service, it ...
0
votes
0answers
48 views

Yocto/Toaster Build Fails with missing Python?

I'm trying (my second) attempt to build a Linux distribution for an Embedded Linux system (ATSAM9). I loaded up the configuration exactly how it says at the Linux4Sam site and following the Yocto ...
1
vote
1answer
90 views

How can I install kernel modules on a mounted file system?

I'm setting up an embedded system that is built using the Yocto project. This outputs a root file system, kernel, u-boot, etc. I have an installer script that I run from an SD card that configures ...
0
votes
0answers
17 views

Difference in system handling USB port on RPI 3A+ and 3B+?

I'm trying to get a Huawei E3372 stick to work on a Yocto Poky Linux kernel 4.14.68. It is working on both Pi 3A+ and 3B+ with a regular Debian OS Also on the 3B+ with my Yocto image. But when using ...
1
vote
0answers
196 views

brcmfmac sdio error: it's software or hardware fault?

I'm working on a custom embedded board that embeds a BCM43430 (from Cypress). The os is a customized Yocto project for an armv7l-based MPU. On boot I get these messages: # dmesg | grep brcm [ 11....
0
votes
0answers
36 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
2answers
417 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
107 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
24 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
38 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
705 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
612 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
145 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
275 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
65 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
333 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
129 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. ...