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
1answer
169 views

Override mtdparts after kernel has booted

Information about mtd partitions can be passed to the kernel via the kernel command line (mtdparts parameter) or via the device tree. Is it possible to override this after the kernel has booted?
1
vote
0answers
69 views

identification of embedded shared libraries

I'm looking for a way to identify shared libraries of embedded devices.I'm especially interested in which version a library is used. So far I try to identify a library by either its file name or the ...
1
vote
1answer
889 views

Does it make sense to have separate ubi volumes for safety with ubifs?

In the pre-ubifs days it was common practice in embedded systems to setup several (MTD) partitions in flash for protection. For example, a partition containing a read-only file system could be mounted ...
1
vote
1answer
517 views

What file system to use on embedded static ram device?

On an embedded system, we have a a 512Kb static ram on a character device /dev/mem. We're currently using it by memory-mapping the file directly in our application with a mmap. I would like to ...
0
votes
0answers
38 views

How can I find functions containing direct memory access in a device driver?

In a given Linux distribution's source code, how can I track down the files and functions that directly access memory registers for peripherals? I'm doing embedded development on several different ...
0
votes
1answer
34 views

Coexistence of DHCP Client and Server using Two NICs

Currently, my Linux box is connected to a LAN using one of two NICs. This LAN provides DHCP services and allows me to connect to the Internet. I would like to serve DHCP from this same Linux box using ...
10
votes
1answer
2k views

Make readonly /etc writeable

I'm dealing with an embedded device running Linux. The manufacturers of this device have it set up so that it loads the root filesystem as readonly. From /etc/mtab: rootfs / rootfs rw 0 0 /dev/root /...
3
votes
0answers
765 views

How can I build/install software on an embedded system? [closed]

I am working on a device that runs some kind of Unix/Linux on ARM architecture. The manufacturers of this device have provided me with a 'debugging tool' that connects to my PC via USB. Using Tera ...
1
vote
1answer
1k views

what is the difference between (linux) framebuffer and GPU's memory?

what is the difference between a Linux or software-controlled framebuffer and a GPU memory? Is there any good pictorial guide to explain how Linux framebuffer works? On an embedded board with GPU, do ...
2
votes
1answer
7k views

uboot write kernel into mmc partition

I want to write a Linux kernel with U-Boot into a mmc hwpartition of an eMMC storage on an i.MX6 board: TX6UL U-Boot > mmc info Device: FSL_SDHC Manufacturer ID: 11 OEM: 100 Name: 004G6 Tran ...
0
votes
1answer
1k views

uboot mmc card already partitioned

I have some trouble with a U-Boot mmc hwpartition of an eMMC storage soldered on an i.MX6 embedded module: TX6UL U-Boot > mmc info Device: FSL_SDHC Manufacturer ID: 11 OEM: 100 Name: 004G6 Tran ...
2
votes
0answers
773 views

Modifying ethernet ports on device tree

We want to change the vitesse switch on mpc8308erdb with a ks8999 switch. And connect eTSEC0 and eTSEC1 to two separate ks8999 switches. I want to know what files i should change in order for linux ...
1
vote
1answer
572 views

How verify the current scheduling policy running in a embedded Linux?

I am testing a ARM based embedded target running with customized embedded linux version 3.14. Is there any way that I can find out which scheduling policy my linux is using at runtime? I see some /...
5
votes
1answer
829 views

Preventing Filesystem Corruption in Linux Embedded System

I'm working on an embedded system these days. It's needed to power off without the proper shutdown. We are thinking about Aufs like read-only file system. But the problem is there are some updatable ...
2
votes
0answers
162 views

Porting kernel 4.6 to ARMv6 board (Samsung S3C6410) which runs 2.6.38

I'm trying to get kernel 4.6 running on an S3C6410 board. In order to complete the port and to boot fully, I need to configure the kernel to work with the NAND flash and the SD controller on the ...
3
votes
1answer
614 views

CDC-ACM driver returning garbage data

I'm trying to connect a u-Blox USB GPS device to an embedded (armel) Linux 2.6.32 system based on BusyBox. The device has a native CDC ACM USB interface. The system didn't come with cdc_acm, so I ...
1
vote
0answers
101 views

How to install real time patch on Embedded Linux version 3.16.0

I have a microprocessor that runs the embedded linux version 3.16.0-rc3 (armsdk@debian, gcc version 4.7.2 (GCC)). I wanted to install a real time patch, but I did not find the one for my linux version....
1
vote
0answers
28 views

What linux distro & platform and package capabilities is this device using?

https://www.youtube.com/watch?v=OrTpWlkupUs Miracast Device, using a compact Linux distro. Thoughts on how to dissect/ figure this out? Maybe Replicate? Is it using a certain Linux Distro in an ...
1
vote
2answers
3k views

How to send SysRq command over ssh connection?

I am working on BeagleboneBlack based custom board, Recently I was debugging system hang issues, I had access to debug console using minicom, And I could enable log using key combination Ctrl+A, F `. ...
4
votes
1answer
456 views

How to diagnose slow USB transfer from embedded linux?

I have a board with Cyclone V SE, which contains ARM CortexTM-A9 MPCore (single core). On this board I run linux 4.1.15 built using Buildroot. When testing USB it turned out that while Bulk OUT ...
2
votes
2answers
503 views

Systemd - how service can determine first run from restart run?

I would like to have a service which behaves differently on first run and on restart of service. Is this possible with systemd? (I use systemd in my embedded os). I tried with ExecReload and ...
1
vote
1answer
124 views

moving a Linux to another device

I am working on an embedded Linux ip-camera. I need to have a backup of our Linux for testing and repairing cameras. I have tested multiple options like using tar and rsync , but it does not work and ...
0
votes
2answers
1k views

What are some possible causes of mmc0: error -22

I'm trying to use an SD card on an embedded linux system. I'm getting this error and I'm hoping someone can tell me what potential problems this error is referring too. I assume the error number can ...
4
votes
1answer
1k views

Surprisingly big overhead when creating small ubifs volume

On an mtd partition with 39 erase blocks (= 4.9 MiB), I tried to format a ubifs. The resulting file system has free space of 2.2M uncompressed data when reserved blocks are reduced to the minimum ...
1
vote
1answer
2k views

How to test linux NAPI feature?

I am trying to test the NAPI functionalities on embedded linux environment. I used 'pktgen' to generate the large number of packets and tried to verify the interrupt count of my network interface at /...
-5
votes
1answer
125 views

Is it possible to run GDrive with Bourne Shell or Almquist shell (sh or ash) on xiaomi smart ip camera? [closed]

I have an IP camera with the armv5tejl processor. My aim is to send videos from camera to GoogleDrive. I downloaded gdrive but it can be run only with bash. Is it possible to run gdrive somehow ...
2
votes
1answer
493 views

Add vi on Busybox which is trimmed down

I have a smart energy plug which is running Busybox and works over Wifi to my local LAN. I can telnet into it, but lack crucial binaries like vi. I'd like to add a few scripts to the device, but ...
2
votes
0answers
69 views

How to automatically switch between DHCP Server and Client mode on startup of several devices?

I do wan't to have several embedded devices to boot up at the same time and automatically select the first booted device as the dhcp server and the others as client. But every client can be the server ...
2
votes
0answers
26 views

Looking for a way to test how often filesystem data is flushed

I have an embedded system, which by it's nature, has power cut off with little warning to the system. The system writes log files to an SD card, and it is desired to have the filesystem flush to ...
7
votes
2answers
4k views

Linux kernel hangs at “Starting kernel …”

I have enabled Secure Boot on an embedded device successfully. The problem is that when I am booting in this mode the process seems to get stuck right after the line: Starting kernel ... once U-boot ...
1
vote
1answer
224 views

Embedded Linux OOM - help with lost RAM

I have little Linux system with 256MB RAM. I'm little bit confused, where the RAM may be lost? It is running old linux kernel 2.6.38 and I'm not able to ubgrade it (some specific ARM board). SHM and ...
1
vote
0answers
83 views

Add a driver module to embedded linux

I have a task that consists in implementing a driver for an RF module. The RF module communicate with the blackFin609 microcontroller using UART. In a first step i created a uClinux image and ...
12
votes
2answers
34k views

How to list the kernel Device Tree [duplicate]

I am using an embedded Arm with a Debian build. How does one list the compiled devices from the device tree? I want to see if a device is already supported. For those reading this, the "Device Tree" ...
1
vote
0answers
98 views

DMP 3300MX-A embedded pc, debian 6.0 squeeze, kernel 3.2, bios watchdog and harwdare reset

I have been studying how to properly set up a watchdog on my embedded system, have read plenty of posts, but I am stuck with no solution. I've read: How to correctly configure Debian watchdog daemon ...
1
vote
1answer
2k views

How to debug Linux hang?

We are using beagle bone black based custom board, with kernel version 3.12. We are facing system hang during one of the init script,(Which brings up WiFi) this hang happens after random number of ...
1
vote
1answer
820 views

insmod: cannot insert './intrpt.ko': Function not implemented

I'm writing a kernel module that receives interrupts for mpc8308 (PowerPC) board. when I make the code for Ubuntu and my current version of kernel it works well with interrupt of keyboard, but when I ...
1
vote
0answers
60 views

What happens if I try to use a device driver from the shell and it is already being used by the kernel?

This is the situation. I'm new to embedded linux and I'm trying to test some commands for the LED driver LP5521. The board I have has a RGB LED with this controller IC and it is being initialized with ...
0
votes
2answers
541 views

Gap between two characters writing message over RS485

I am using an ATMEL embedded controller (at91sam9x25e) and its serial port to send/receive over RS485 Modbus RTU. Normal communication works fine, but sometimes - when writing - some packages are ...
0
votes
1answer
149 views

Embedded Linux Distribution

I have a small device that runs a light weight embedded linux. I can telnet and ssh to the device. This device has no package management utility on it that I can tell. I am trying to install a pre-...
0
votes
1answer
1k views

How to “export” configuration variables and “source” them on embedded Linux?

A router runs firmware containing BusyBox and in addition to flash memory the device has secondary memory storage. That USB stick is mounted at both /media/Main and /opt: # mount | grep sda /dev/sda1 ...
1
vote
0answers
309 views

Building kernel for BeagleBone Black lead me hdmi problems

I have successfully followed CLFS book to build RPi and BBB embedded systems. In RPi case the bootloader did not give me problems with device tree. Some years ago I would have to patch Torvalds' ...
1
vote
0answers
292 views

Resume from hibernation is not working on embedded linux system

I'm trying to build an embedded linux system based on an Atmel AT91SAM9G25 SoC (ARM9 @ 400Mhz) CPU. I'm using the AT91Bootstrap bootloader. As the subject of my post suggests, I have an issue with ...
0
votes
1answer
846 views

Instantly getting Write Failed: Broken Pipe with SSH to an embedded system

As said above, when I try to SSH into my embedded system (a De0-Nano-SoC FPGA development board running Angström with Kernel 4.1) I get a "Write Failed: Broken Pipe"-Error and get disconnected. I read ...
6
votes
1answer
1k views

Encrypt files (private key, etc.) in an embedded system

I am working on an embedded device running on Linux. This device communicates with a server and sends data to it using a certificate and a private key. When we distribute the device, I am afraid that ...
1
vote
1answer
578 views

ppp affecting serial ports so that they cannot be used if modem is reset

I've got a Buildroot-based embedded system that uses a 3G modem (Cinterion PH8-P) and PPP to connect to the internet. The 3G modem is a USB device that provides 4 ttyUSB ports. One of these is used ...
1
vote
1answer
374 views

Add bash to base Linux Kernel? [closed]

We have a proprietary SBC (Single Board Computer) type of platform that is a large sized scale Raspberry Pi essentially. It is ARM based and uses Linux Kernel v3.# as its base. This isn't an Ubuntu ...
3
votes
3answers
568 views

OpenBSD stripdown

I recently tried to install OpenBSD to my Soekris net4526, but the 64MB onboard memory is too small. Is there any way to make OpenBSD smaller, because even the smallest configuration (bsd and baseXX....
1
vote
2answers
759 views

Estimate RAM usage information of an embedded device

I'm monitoring the performance of an ARM-based embedded device which runs poky linux distro (from Yocto project) which contains OpenEmbedded build system. I need to get the MHz (CPU cycles) ...
3
votes
3answers
709 views

UTC vs. localtime has an offset of about 25 seconds

I have compared this in different systems, but only get this behavior in an embedded system running Arago linux. I use the date command from BusyBox v.1.13.2 I executed this two commands "...
1
vote
0answers
261 views

Slow SSH connection on embedded platform

I am operating an embedded device running the linux core. I have OpenSHH_4.9p1 installed running in debug mode and trying to establish an SSH connection using PuTTY. After the login screen everything ...