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 [embedded]

The use of Unix in embedded computer systems such as networking equipment, mobile phones, media players, set-top boxes, etc.

1
vote
0answers
18 views

How to tell Linux where initramfs is in RAM

I'm trying to boot a Linux kernel running on top of Xen with a initramfs copied into RAM by the bootloader. In the device tree I took out a chunk of memory so the kernel will not overwrite the area ...
0
votes
0answers
14 views

Cannot Reach External Network Despite DHCP on QEMU Embedded Guest

I am trying to give an embedded router networking on QEMU. I replaced the router's kernel and modules using a generic buildroot build for the Malta CPU. I also can compile any software needed to help ...
0
votes
0answers
7 views

How deep is U-Boot's `bootm` command checking for a valid header?

TL;DR: How many ways can the bootm command fail with this error in version 1.1.4?: # bootm Booting image at 31000000 Bad Magic Number Background: I've bricked a device whose U-Boot is deeply ...
0
votes
0answers
29 views

How do I rearrange the clock tree to get the clock I need?

I am using a LVDS display on an i.MX6 DualLite. The panel is supposed to be running at a clock of 51.2MHz. I am in the process of updating to a newer Yocto (Pyro) built BSP running 4.14.16. The ...
0
votes
0answers
44 views

Import value from kernel startup code to user space

I need access to a variable, an integer, whose value is determined during startup on this embedded system. The kernel is: 2.6.35.14 and the variable I am trying to access is created an used in the ...
-1
votes
0answers
32 views

How to run FTP server in linux? [closed]

We boot the linux from sd card to zedboard and we display it using VGA cable. Now we want to trasfer any files or images or videos etc. to linux os. Please tell how to do that??
1
vote
0answers
21 views

Is it possible to access linux/ramdisk code memory from its running system?

I'm working with an embedded Linux device that has to be auditioned by a regulatory agency. The agency will select a few devices in the field to check if the code running is the same as auditioned. ...
0
votes
1answer
33 views

resolv.conf always empty

I have 2 different embedded devices...an old one running TI arago Linux and a Xilinx device (petalinux). On both I see the same outcome when adding dns-nameservers to /etc/network/interfaces and ...
0
votes
1answer
17 views

Interpreting /proc/partitions

I'm confused about the partitions size of a flash memory in my embedded linux device: / # cat /proc/partitions major minor #blocks name 240 0 93184 ndda 240 1 85168 ndda1 ...
1
vote
0answers
17 views

JTAG'ing firmware into imx28

My goal here is to load a custom kernel and initramfs into the memory of the wink hub 1 based on imx28 dev board and boot it using the bootm command from u-boot shell. So, I downloaded the u-boot ...
0
votes
1answer
54 views

Flashing U-boot on beaglebone black

I got a beaglebone black which comes with u-boot linux preinstalled on the emmc. For the sake of learning I want to put u-boot on the flash myself and build linux from scratch. I have compiled u-boot, ...
1
vote
0answers
13 views

Embedded Linux: Setting up NFS (or any service) in a portable way

If I have a read-only file system, but with a read-write overlay on /etc, is it possible to run NFS service (or any other service) via a USB drive, as if the service is a portable application? Note: ...
1
vote
2answers
48 views

Rootfs versus kernel confusion [closed]

I know that they are two different entities. Rootfs is a file system which describes how to store and access data. The kernel is actual code which executes. However, isn't the kernel code stored ...
0
votes
0answers
23 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
0answers
53 views

mmc0 warning on SD card bootup of linux

I get the following warning on debian linux (kernel 4.18.8) bootup of my microchip sama5d3 board: mmc0: unrecognised SCR structure version 4 mmc0: error -22 whilst initialising SD card after spewing ...
1
vote
1answer
45 views

sd card issue in embedded linux

My setup: Embedded linux version 3.x on an ARM board with a sd card After running for a couple of months, I am getting this print in the console. I want to understand this issue, and fix it. ...
1
vote
0answers
25 views

How do I shrink a partition from the beginning? i.e. create empty space at the beginning of the block device?

I have devices with SD cards, with several partitions. The first partitions on the card is typically not mounted, and have vfat filesystem. What I want to achieve is, to create a 1MB free space just ...
1
vote
0answers
59 views

login system on a buildroot linux router [closed]

I have a Gemtek WVRTM 127ACN router / modem, If you do not touch any key during startup, linux starts automatically. It's a linux version created with buildroot, the problem is that there is not a ...
0
votes
0answers
24 views

How to check the history of processes

I'm using Debian running on a BeagleBone Black. I have a script which is supposed to execute when the system starts. The script then should run a python script. I add the command to run this script ...
0
votes
0answers
13 views

integrity check of uboot using dd

I just upgraded uboot using dd and it boot successfully : dd if=uboot_file of=/dev/mmcblk0 bs=512 The output is : 1360+1 records in 1360+1 records out I would like to read backup to ensure every ...
0
votes
1answer
67 views

How much space does my Debian OS need

I am using a BeagleBone, with 4GB of internal emmc. When I install a Debian image on it from its site and run command df -h , the result is below. /dev/mmcblk1p1 shows that it uses 3.4G of memory. ...
0
votes
1answer
26 views

nc server does not work if launched on startup

I wrote a (ba)sh script to write to a file the content received from a POST method: #!/bin/sh PORT=$1 FILE=$2 while true do echo -e "HTTP/1.1 200 OK\n\n" | ./busybox-armv7l nc -l -p $PORT | tr '[\...
0
votes
1answer
132 views

Could not find libmount

During compilation of customized distribution (using buildroot v. 11.2018) I have problem with libmount library (the problem appeared after I had included efl package in buildroot menuconfig - Target ...
1
vote
1answer
77 views

Install python on an embedded device

I'm working on an embedded device already customized. Here some details: # uname -a Linux DX-4400 3.10.31-ltsi-05172-g28bac3e-dirty #12 SMP Tue Jan 23 17:14:13 EST 2018 armv7l GNU/Linux I have root ...
0
votes
0answers
30 views

What baud rate should I set when using screen tty for bluetooth?

I'm paired up with an Xbox Controller and want to see the output coming from the xbox controller in order to figure out its protocol. I'm trying to do screen tty.Bluetooth-Incoming-Port 9600 on my ...
1
vote
0answers
8 views

DBus Transport - force transport to idle state from Bluez5 embedded side - A2DP [closed]

I'd like to be able to force Bluez's transport state from active to idle on the rendering side of a custom embedded platform. This issue is centred around the fact that simply pausing the A2DP ...
-1
votes
1answer
47 views

What are the Hardware requirement for Debian Linux Kernel 3.16 for PPC architecture? [closed]

We have an Embedded System which is running on Debian Linux Kernel 2.6-2.6 [PowerPC Architecture]. Would like to upgrade the Kernel to 3.16. Could someone guide me with the Hardware Requirements for ...
0
votes
2answers
54 views

How to make /var/log persistent through reboots on an embedded linux device

Scenario I am on an embedded linux system. As usual /var/log/ is the directory when all the logs are stored. I have a directory called /safepath which is created during image creation and it is on ...
3
votes
2answers
681 views

Reduce Boot time

I would be interested in finding ways to reduce the boot time, specially in embedded-related environments. I've read somewhere of a method to avoid the kernel to load some drivers or modules but I'm ...
0
votes
1answer
25 views

Need to switch debian FS readonly writable layer from tmpfs to aufs to not lose files after booting

I'm trying to have this done on a debian 9 based embedded system. The fs that come for root is mounted as such in /etc/fstab: # /etc/fstab: static file system information. # /dev/mmcblk1p1 / ext4 ...
1
vote
1answer
50 views

IP Camera with embedded Linux won't connect to internet using ethernet

I have an IP Camera from Thundersoft with a Qualcomm Snapdragon 625 chip inside that runs a Linux distribution. It is extremely limited in terms of available commands, and I can't install any new ...
0
votes
0answers
33 views

Why “receive / transmit bytes” is so big difference between optical modem and host when download data on host?

ens33 is my host network card,it show a normal number as my network use status,but I don't know why my modem show a very small data traffic in all interfaces of modem when download on host. My host: ...
1
vote
0answers
119 views

udev: how to wait for a specific device to appear from a shell script

I have an embedded system with a tiny initramfs which needs to mount an overlayfs over the rootfs partition and switch_root to the new merged filesystem. It's just a couple operations run from the ...
4
votes
1answer
107 views

gunzip on Embedded machine

I'm using BusyBox 1.24.1 on my Embedded Linux machine (with kernel v3.10.31) and I get behavior I can't understand when unzipping files.  The gunzip command (often, but not always) fails, with no ...
1
vote
0answers
38 views

DT bindings for ADT7516 sensor

I have a BeagleBone green and ADT7516's evaluation board connected with SDA and SCL pins. When I do i2cdetect -y -r 2, I can see the i2c address as 0x4b and I am able to probe the adt7316 driver ...
3
votes
0answers
35 views

What am I missing in my kernel patch for ALSA to get EAPD to properly turn off this internal speaker? [closed]

I'm working with a picture-frame-like device manufactured by the late OpenPeak Inc. known as the OpenFrame (or O2 Joggler in the UK). It has an internal speaker and a 3.5mm line out socket; none of ...
2
votes
1answer
936 views

How to use dd if=/dev/mem in place of devmem ?

It seems like root@testbox:~# dd if=/dev/mem bs=1 count=4 skip=2149646336 | hd should be nearly equivalent to root@testbox:~# devmem 2149646336 32 But, while devmem works great, that dd invocation ...
1
vote
0answers
46 views

Armbian: dm-raid module has gone missing

I'm running Armbian (stretch) on an OrangePi PC 2. This is how the OS identifies itself on SSH login: Welcome to ARMBIAN 5.58.180813 nightly Ubuntu 16.04.5 LTS 4.18.0-rc8-sunxi64 I just updated my ...
1
vote
1answer
56 views

writing small web service for embedded device based on debian [closed]

We are developing embedded device which will integrate with some of our services in future. This device have limited set of functionalities and user defined mods for particular use cases. Based on arm ...
0
votes
1answer
50 views

Build kernel without support for /boot's file system

I am building a customized kernel for RPi. The problem is that the RPi bootloader requires a vfat /boot partition whereas I intend to minimize the kernel size, so need to remove vfat support from ...
1
vote
0answers
327 views

user configuration of rsyslog does not work

I am trying to provide the option to user to add their user configuration option for rsyslog. The default rsyslog is working fine for me. The main or default configuration for rsyslog file looks ...
1
vote
0answers
114 views

Error in mounting rootfs in android

Failed to make and chown /acct/uid_0: Read-only file system I have a i.xm6q sabresd reference board and another is a development board based on i.mx6. I'm trying to port Android O on development ...
2
votes
1answer
542 views

Using squashfs on top of ubi as root file system

I'm trying to use a compressed squashfs ubi volume as my root file system. The idea is to have two ubi volumes. Volume one contains a read-only squashfs file system. Volume two is re-sizable and uses ...
0
votes
1answer
23 views

Driver compatibility between distros

I am working on a project that will involve the communication between a data acquisition system (hardware) and a computer board called Beaglebone. One of the hardware that I am evaluating said to have ...
0
votes
1answer
57 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
116 views

embedded system no longer boots via eMMC - Initramfs unpacking failed: junk in compressed archive [closed]

I have Arch linux on multiple Embedded boards that are similar to Odroid C2. To resolve a DTB file issue, I wrote dtb.img to /dev/dtb of the eMMC via the command : dd if="/boot/dtb.img" of="/dev/dtb"...
0
votes
0answers
86 views

Our Telit LE910C1-NS based board gets nameserver information, but won't ping

We've been using the Telit DE910 to connect to establish a ppp connection through Sprint. We need to change it to the LE910 family. Last week I was able to get the Telit LE910-SV1 (Verizon version)...
2
votes
1answer
263 views

is there a way to atomically move file and directory from tempfs to ext4 partition on eMMC

We have beaglebone black based custom board with 256MB RAM and 4GB eMMC. Board runs Linux kernel 4.9 we are running into a situation where we create a file in tempfs and then after validation, we ...
1
vote
1answer
132 views

Installing a cross-compiled linux kernel on Pine64(or Raspberry Pi or any other similar Single Board Computer)

I am preparing a new linux kernel for Pine64, because it is slow, I did the cross-compilation on a linux PC. I am looking for a way to run make install && make install modules without copying ...
1
vote
0answers
29 views

Changing Master Boot Record (MBR) starting partition address of boot loader

From what I understand, the partitioning of the Linux system - when booting from an SD card on an embedded device should look something similar to: I want to move partition 2 up and merge it with the ...