Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [yocto]

Framework for building installable images

0
votes
0answers
12 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
12 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 ...
0
votes
0answers
15 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 ...
0
votes
1answer
26 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
17 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
29 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
10 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
23 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
5 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
40 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 ...
0
votes
0answers
58 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
238 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
0answers
170 views

How to bitbake copy a prebuilt static library into the sdk

Scenario: I am working with yocto linux recipes. I am trying to make a recipe which simply copies a prebuilt MyLibrary.a and its headers available on the built linux image. So, I have a libMyLibrary.a ...
0
votes
1answer
19 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 ...
0
votes
0answers
32 views

How to check user and group of files/folder created my makedevs

We have beaglebone black based custom board. We have cross compiled rfs in our build system, We started adding user for custom applications, As part of that we started updating file permissions, ...
2
votes
1answer
279 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
210 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
27 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 ...
0
votes
1answer
101 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
206 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
420 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
0answers
179 views

yocto linux systemd daemon

I have an embedded device running a linux image built with Yocto. Also I have an application running on this system. I want to make daemon script for this application, so that it should start at boot, ...
0
votes
1answer
58 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
66 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
140 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
89 views

obexd - Unicode conversion failure

I am running a system on Yocto Linux with the bluez bluetooth stack installed in it. When I run obexd on my system and use my Android phone to push a file to it, I get the following Unicode ...
0
votes
0answers
246 views

gst-launch full screen

I've been using gstreamer on yocto project for playing video on HDMI, but I can't find anyway to play the video in full screen. Command I'm using is gst-launch playbin uri=file:///file/path How ...
0
votes
0answers
251 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. ...
0
votes
0answers
41 views

Start module before boot

Is there a way to start a module (framebuffer display driver, fbtft_device) before boot so that it can be used for boot-time splash screen? Its like issuing a modprobe command before boot. I want to ...
3
votes
0answers
102 views

Execute a command instantly after system is powered

I would like to execute a command instantly after system is powered. My project is realized in an embedded Linux environment (Yocto-based, with U-boot bootloader), therefore I would like to show a ...
-1
votes
1answer
122 views

Is there any alternate method to install phpmyadmin in phytec board other than using 'sudo apt-get install phpmyadmin'? [closed]

I am currently trying to install phpmyadmin in phytec board. I have installed Yocto OS for this board. The installation procedure commands like sudo apt-get install phpmyadmin fails and "Package '...
1
vote
2answers
2k views

Why isn't my systemd service automatically starting?

Here is my boondocks-agent.service file. I have installed it in /lib/systemd/system: [Unit] Description=Boondocks agent Requires=\ balena.service After=\ balena.service [Service] Type=...
1
vote
1answer
286 views

troubleshooting serial settings through stty

Hardware PHYTEC Mira Board with i.MX6 Processor Operating System Yocto Image created using the BSP provided by PHYTECSource with minimal packages in it. The board has an UART board called UART3 ...
0
votes
1answer
319 views

How to debug u-boot issue?

I am working on putting a custom system together on the Beaglebone Black. Things work most of the time, but every once in a while, the system will fail to boot when powered on. This never happens ...
1
vote
1answer
2k views

Setting up apt package manager in Yocto image

I have created a filesystem image using Yocto by setting EXTRA_IMAGE_FEATURES = "package-management" and CORE_IMAGE_EXTRA_INSTALL += "apt" in Yocto's configuration file. The image is successfully ...
1
vote
1answer
42 views

From where does dql (dynamic queue limit) variables in kernel get their value?

Context : I was working with a custom driver in an arm SoC, while trying ifconfig enp1s0 up. I was getting a report like below WARNING: CPU: 0 PID: 0 at /home/abc/Yocto_Setup/fsl-release-bsp/build-...
0
votes
0answers
64 views

Modify start up routine of LXDE using startx command

I have built lxde and fbtft driver for Raspberry Pi using Yocto. In order to correctly start X11 session and dbus, I need to stop the existing one and execute something like: FRAMEBUFFER=/dev/fb1 ...
0
votes
1answer
387 views

u-boot bootdelay=2 when booting ext4, and bootdelay=0 when booting fat

I am running u-boot on a Beaglebone Black custom install, and have modified ./include/configs/am335x_evm.h to set the default bootdelay to 0, which was working well when I was loading my kernel and ...
1
vote
1answer
907 views

Why is my resolv.conf being deleted? [duplicate]

I've built a custom linux system using Yocto. It uses busybox. I have most everything working, except I can't have a static dns resolver address because /etc/resolv.conf is being deleted on every ...
1
vote
2answers
205 views

How to see debug logs from Raspberry pi 3 during boot process?

I am currently trying to debug a "black screen" on a Raspberry Pi. The Pi is plugged to an in-house PCB using connector of the Pi and the LCD screen is connected on this in-house board. Now, ...
2
votes
1answer
142 views

What causes a swap partition to be shown as `(deleted)` in `/proc/swaps`?

I have a system with a dedicated swap partition, running a custom distribution generated by Yocto. On startup, during init, I can see the first swapon command successfully activating the swap space. ...
0
votes
1answer
957 views

How to get the exact file size in linux? [duplicate]

I would like to get individual file size, all used file size in the disk and usable the maximum file size in the disk. In linux, commands for checking file sizes such as "du", "df", "ls -l" are ...
1
vote
1answer
1k views

Why is uboot ignoring mmcroot in uEnv.txt?

I am trying to get an embedded linux build using yocto to work. I'm very close, but I'm having trouble with the boot. I have 2 root file systems. One is the main and the other is to be used during ...
2
votes
0answers
515 views

Bluetooth over serial (SPP) configuration and setup

I have an embedded board with an onboard bluetooth capability. My board runs Linux with bluetooth support provided by the BlueZ stack. I have access to all the bluez utils like hciconfig, sdptool, ...
1
vote
1answer
78 views

Cant get WiFi to work on Ostro (Yocto)

I just built an Ostro os image and baked this onto a piece of hardware I have. However I am not able to get WiFi to work. Here is the output of commands inorder to debug: root@intel-corei7-64:~# ...
1
vote
2answers
1k views

crda make error

Hardware: Intel Galileo Gen 2 System: Yocto linux (iot-devkit-image) User: root At "Step 7" of this Post root@dhcppc6:~/crda-3.18# make GEN keys-gcrypt.c Trusted pubkeys: pubkeys/root.key.pub....
0
votes
1answer
3k views

Enable WIFI Channel 14 iw reg get country 00 DFS-UNSET

Hardware: Intel Galileo Gen 2 System: Yocto linux (iot-devkit-image) User: root # iw reg set JP # iw reg get global country 00: DFS-UNSET (2402 - 2472 @ 40), (6, 20), (N/A) (2457 - ...
0
votes
1answer
209 views

How to interface LCD for new WaRP7 (imx7s-solo)?

I'm trying to interface LCD for my new WaRP (imx7s-solo). (we can found both LCD and WaRP7 here LCD and WaRP7 product) The problem is I can not have enough knowledge to verify my work is right or ...
2
votes
1answer
489 views

How to establish an IP conncetion with ModemManager, but without NetworkManager?

To test connectivity without NetworkManager, we would like to establish an IP connection using only ModemManager and basic Linux tools except NetworkManager, e.g. pppd. Our modem is a Telit HE-910 (3G)...
2
votes
1answer
600 views

Boot time SysV vs Systemd - systemd system takes ~2 seconds longer!

I am using meta-raspberrypi to build my raspberrypi image I see an increased boot time of about 2 seconds with systemd when compared to SysV. I don't derive much information form the kernel log. ...