Questions tagged [embedded]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
29 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
19 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
145 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
30 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
409 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
196 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
50 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
12 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
70 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. What are Hardware Requirements?
0
votes
2answers
178 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
747 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
35 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
85 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
38 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
211 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
147 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
41 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
54 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 ...
3
votes
1answer
2k 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
76 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
68 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
71 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
532 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
158 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
1k 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
59 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
154 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"...
2
votes
1answer
571 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
266 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
47 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 ...
0
votes
1answer
51 views

Get same /etc in different Operation Systems

I have an embedded system with 3 operating systems (self-created Debian 9.4 with 4.14.40-rt Kernel). Each operating system is on a different partition. A bootchooser sets up the system so that when ...
0
votes
0answers
1k views

How to take read all the partitions from eMMC dump

We have Beaglebone Black based custom board with 4GB eMMC and 256MB RAM. eMMC is partitioned as follows # parted --list Model: MMC MMC04G (sd/mmc) Disk /dev/mmcblk0: 3842MB Sector size (logical/...
2
votes
2answers
240 views

Can I run Linux on specific CPU cores?

I'm making a brainwave detection device. Will be using an Octa-Core ARM processor for the software processing. For the management of CPU cores, can I code Linux to strictly run on a specific set of ...
0
votes
0answers
86 views

Linux kernel update

I'm trying to update the kernel version from 3.14 to 4.0.9 of Debian distribution. For boot I'm using U-Boot, and my microcontroller is imx6 (ARM architecture). I have the sources for the 4.0.9 ...
4
votes
1answer
2k views

When can Linux boot with a Read-Only Root Filesystem

I am working on a embedded Linux with u-boot as bootloader and systemd init system. The tools are limited to standard busybox. While analyzing some problems, I figured out the root filesystem is read ...
2
votes
0answers
235 views

Cannot set wifi card to use non-HT IBSS modes using iw

I have two embedded systems that will be communicating with each other using Doodle Labs NM-915-1F wifi transceivers. One system is an Axiomtek PICO831 running Arch Linux 4.10.9-1-ARCH, and the other ...
1
vote
0answers
363 views

BeagleBoneBlack device tree changes to add i2c device driver ()

I'm trying to run an i2c device driver on the BeagleBoneBlack using i2c2 pins [P9]: (19) I2C2_SCL, (20) I2C2_SDA. I can use i2c2 successfully from user space to control the same atmel touchscreen ...
0
votes
1answer
76 views

Are there any network switch platforms for Linux/BSD? [closed]

There's plenty of barebone PCs/servers optimized for building custom Linux/BSD based routers, VPN servers or firewalls and in general various L3 devices. However I couldn't really find anything about ...
0
votes
1answer
531 views

VSFTPD Limit user acess to specific folder only

In my application i have folder /LD and one user as test_user. I want to give access to user to only this /LD folder only. But when i try to connect through filezila ftp client then by defualt /LD is ...
0
votes
1answer
444 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 ...
0
votes
1answer
37 views

Performance comparison between binary and script

If I want to implement some functionalities in Linux (e.g. open, copy, compress, delete, waiting events), is it better to implement it in C++ and run the binary as a process or to implement it in a ...
2
votes
2answers
970 views

Systemd: how to shut down without actually shutting down

I'm setting up an embedded device running Debian Jessie to shut down when a UPS experiences a power failure. Unfortunately, the device's bootloader restarts the OS whenever it quits, so shutdown/halt ...
1
vote
1answer
1k 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 ...
0
votes
1answer
32 views

Embedded linux to read text and append it to another file [closed]

I have an embedded linux system that has limited commands available. VI being the only text editor I found so far. I can run SH to run a script but again, limited abilities. I need to ftpget a text ...
1
vote
2answers
224 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, ...
1
vote
0answers
191 views

Embedded linux - USB framebuffer device mounting

I have a embedded system which consists of a usb framebuffer display, and a customized embedded linux (3.10.59) box running Busybox (1.21.1). There is software running a application which utilizes ...
1
vote
1answer
722 views

Why ICU lib is so big?

I'm trying to reduce the size of an embedded system. So I'm studying what I could remove. One of the biggest file is : libicudata.so.52.1 which length is 23 Mo. This is a big part of my system. I'm ...
0
votes
1answer
47 views

Embedded Linux: getting two distinct DHCP responses

I'm using these bootargs: setenv bootargs 'console=ttyPS0,115200n8 root=/dev/nfs rootfstype=nfs nfsroot=192.168.0.101:/usr/nfs/xilinx-zynq,port=2049,nolock,proto=tcp rw loglevel=8 tcp ip=dhcp' The ...
2
votes
0answers
175 views

What is the preferred way to unhog a hogged GPIO pin?

So I'm doing development on an ARM embedded system which is using the device trees. We're going to integrate a small PCB with a processor and support components onto a bigger PCB, which will be the ...