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

learn more… | top users | synonyms

0
votes
1answer
49 views

Compress mtdblock with 'tar' before sending it via TFTP

what is proper command compress mtdblock with 'tar' before sending it via TFTP? tftp -l /dev/mtdblock3 -p 192.168.100.40
0
votes
1answer
184 views

Using dd command to download mtd block

How to use dd command to download mtd block from embedded Linux-based device? # cat /proc/mtd dev: size erasesize name ... mtd3: 003a0000 00010000 "DRTI2" I need download mtd3 block, so dd ...
1
vote
1answer
52 views

Managing(adding/deleting,etc) users in a squashfs(RO file system) with a small R/W partition

I'm using squashfs as the file system on a board which is RO, along with a small jffs2 partition which is R/W. The files corresponding to user management, i.e /etc/passwd, /etc/group & /etc/shadow ...
3
votes
1answer
223 views

High CPU load on the embedded Linux of my router

I hope that, as long as this question refers to Linux, could be answered here: I have a DSL router from Observa Telecom, model BHS-RTA : Modem Name : BHS_RTA Serial Number : D861940E5088 Time and ...
1
vote
0answers
97 views

SSH Remote Execution - checking server can do it?

I have a embedded device (Perle IOLAN+, an Ethernet to serial adaptor) that I can administer via SSH. From time to time, I need to log in and execute a command on this device. Logging in via SSH, ...
0
votes
0answers
76 views

TFTP error when downloading larger files

Embedded Linux device, with BusyBox v1.4.2 multi-call binary. I tried download files from remote device to local computer via TFTP, but got some issue: it works OK for small files (about ~350MB), but ...
1
vote
0answers
81 views

Untar a filesystem to device as normal user but maintaining the correct UID and GID

I'm doing quite a bit of development using Yocto to target an embedded system. As its final output, Yocto generates a tarball of the filesystem, which I then untar onto an ext4 partition of an SD ...
0
votes
1answer
34 views

Listing a file with strange characters on DD-WRT embedded Linux

When SSHing into my DD-WRT router (Buffalo WHR-HP-G54) with embedded Linux to browse the DHCP Lease list I get strange characters: ~ # more /tmp/udhcpd.leases x▒_▒▒ ▒▒iPhone-de-Tomaz▒ ...
0
votes
1answer
113 views

Embedded linux hotplug changed mount point

I have a linux media player that was very common before android's age. It is a MIPS running Linux Venus 2.6.12.6 and has 2 sata, 2 usb and 1 sdcard port. Since the flash memory is very limited, I ...
0
votes
1answer
64 views

Embedded Linux and Init problem - Init won't start

I'm working on a embedded system. I have multiple SD cards to save copy of Linux rootfs on (kernel saved in nand). On a original SD card, where is located a system, and from this card the system is ...
0
votes
1answer
609 views

Trouble changing backlight brightness (/sys/class/backlight folder empty)

I have a small embedded system that I am working on that needs to be able to reduce its brightness for power saving reasons. The screen is connected by LVDS with separate Inverter Power Output ...
1
vote
1answer
227 views

Linux/Embedded Linux - Understanding the Kernel and additional BSP specific components [closed]

*tldr; I would like to generally understand how the world of linux / embedded linux works. What do I need to do to take the Linux mainline and compile/deploy it on a board with different processors ...
0
votes
1answer
344 views

sfdisk doesn't work anymore?

I updated my OS to Ubuntu GNOME 15.10 but now I have a huge issue : sfdisk doesn't work! I really need it to build partitions on my SD cards for an embedded Linux but it seems that the options ...
0
votes
0answers
27 views

Best small distro for ROM burning of the system for an embedded system

I am building a specific device and I would like to know what Linux based small distribution would be good when I would choose the put-Linux-on-the-ROM route, so, that the system is not possible to ...
4
votes
0answers
69 views

Block device naming, how to enable by-name and by-uuid?

While building and using linux kernel for custom boards, when Android is used, usually the MMC partitions appear in /dev/block/mmcblkXpY. And there are also symbolic links created in /dev/block/**/<...
3
votes
1answer
131 views

Systemd Boot Optimization dev-mmcblk0p2.device

I'm working on an embedded system and want to make it boot faster. I already stripped a lot of things. Now I don't know how to improve it further. Here is my systemd-analyze blame: 4.457s dev-...
4
votes
1answer
84 views

How best to enable end-user configuration of wifi or Ethernet on embedded device?

I'm building a device that includes an embedded Linux computer and I need to allow the device user to (easily) configure the device to connect to their wired or wireless network. I know there are ...
1
vote
0answers
15 views

configure analogic pin as digital pin

I have the SAMA5D3 Xplained. This kit has several analog ports and my idea is to be configured as analog or digital as needed. Would it be possible to do it in an easy way from the kernel? Regards!!...
0
votes
0answers
44 views

There is possible to read 1-wire (ds18b20) without waiting for conversion?

I want to read temperature value from ds18b20 by 1-wire interface without blocking. There is any way to do that? I tried fnctl(fd, F_SETFL, O_NONBLOCK) but its not working. Actually I have a loop ...
1
vote
0answers
52 views

Is there some way of simulating a framebuffer device?

I'm starting to write a small software that I intend to run on embedded linux, and I want to draw the GUI using a framebuffer device. However, since I want to be able to test the software on my ...
0
votes
1answer
325 views

kernel panic not syncing: vfs :unable to mount root fs on unknown block(31,1)

I am trying to boot linux from flash on an powerpc board. In u-boot I set bootargs with: setenv bootargs root=/dev/mtdblock1 rootfstype=ext2 rw console=ttyS0,115200 ramdisk_image=\${rd_size} I also ...
1
vote
1answer
215 views

CLFS for ARMv7 neon

I am following CLFS book (GIT-20140613-arm version), and I have a issue when building GCC with armv7 and neon combination. Target info here. My host is a clean Debian 8 with gawk, build-essential, ...
0
votes
2answers
372 views

gdb installation in beaglebone black with customized linux kernel

I am developing an application for the beaglebone black which I cross compile using arm gcc compiler then port on the compiled binary file to the beaglebone black using scp command and run there on ...
3
votes
0answers
233 views

Procedure to figuring out U-Boot environment location from binary/hex dump

TL;DR: I have a u-boot (version 1.6.1) enabled board, I have dumped the partition that contains the environment variables to a binary file using dd and now am stumped at finding out how to translate ...
4
votes
1answer
73 views

If my program detects that a power loss will occur in a few seconds, what can it do to avoid data corruption?

A program (which needs to read and write from and to the filesystem), has the extra feature of being able to communicate with an external sensor. Therefore it has the unique ability to know if a power ...
1
vote
0answers
72 views

Make ubi filesystem image from directories

I have a rootfs directory which contains all the directory structure (bin boot dev etc home ... var) to be installed on an embedded board . What I would like to accomplish, is to make a ubi image ...
0
votes
0answers
96 views

Run Linux kernel on Raspberry Pi together with Crosswalk

Is it possible to run the Linux kernel on a system like the RPi and have the Crosswalk runtime on it too. I would like to create an app that runs using Crosswalk on the RPi or any other sytem, but the ...
0
votes
0answers
16 views

Embedded board - Install a distro

I've this freescale board: http://www.mect.it/en/products/control-and-automation/operator-panels-with-embedded-input-and-output-and-plc/tpac1007/ I need it to run python scripts, but it mount linux 2....
2
votes
1answer
56 views

Embedded board - Install debian

I'm new in embedded world and I'm quite confuse. I have a Freescale board which contains an ARM926 32 Bits and mounts Linux 2.6.35. First question: this is the kernel, right? Second question: I ...
1
vote
1answer
300 views

Trying to mount ext4 partition from eMMC gives “Invalid Argument” error

I'm trying to set up a custom Linux installation on an Intel Atom (Baytrail) based Android tablet, using Qt 5.5 for device creation. The build system is based on the Yocto project and builds an ...
0
votes
0answers
131 views

FriendlyArm pppd problem

I have two files in FriendlyArm. 1-) wcdma is an option file to use with "pppd file" nodetach debug lock /dev/ttySAC2 115200 user "" password "" nocrtscts show-password usepeerdns noipdefault novj ...
1
vote
0answers
100 views

Change device framebuffer to use overlay layer

I'm using atmel-hlcdc driver to control a LCD panel and an application uses the /dev/fb0 framebuffer created by the driver. The display works fine except that the panel's standard orientation is ...
5
votes
1answer
135 views

Applying device tree overlay

I have a device based on imx233-Olinuxino-Nano. The Arch Linux Arm distro boots and works. However, there is a slave device on my board that is connected to SPI of CPU. It is supported by kernel, ...
1
vote
1answer
38 views

Sending command to an already mounted modem

I'm working on a IMX6 based board, and I need some advice to handle my modem. I've successfully configure the modem, and mounted the ppp. The modem is working fine and everything's great, but now I ...
1
vote
0answers
180 views

Cross compile gdb for mips and make executable file small like one in OpenWrt

I would like to cross compile gdb for mips, but the normal version is too big for my small embedded device. I was wondering how those guys on OpenWrt make it ~3mb. I downloaded gdb ipk, extracted ...
0
votes
0answers
24 views

Sending data intermittently over Wi-Fi and/or 3G

I am working on an embedded Linux system that reads in data through a serial connection, stores the information in a local buffer, and sends the data to the local Windows server when there is a ...
0
votes
1answer
45 views

Two or more threads on single core [closed]

What are the advantages of using threads on single core, does that makes sense to use multithreading on single core?
2
votes
2answers
336 views

Installing Debian on Embedded system with serial console or network console (PCH)

I have an embedded system based on the Intel-Atom with PCH which we are busy developing. In the embedded environment I have: A Serial console through the PCH which means this doesn't work with the ...
2
votes
1answer
292 views

What are the Linux shells that allow network traffic management (sending/receiving data to/from `/dev/tcp/host/port`) via redirectors?

Following this Bash tutorial, I have succeded in obtaining the code of a web page issuing simple commands by using this method: $ exec 3<>/dev/tcp/www.google.com/80 $ echo -e "GET / HTTP/1.1\n\...
0
votes
0answers
731 views

Linux WiFi CRDA SysFs Entries for Regulatory Domain

I'm using CRDA to set the WiFi regulatory domain on Linux with TI's wl18xx module to country code US. When I boot up I see the following messages confirming that I am loading the "cfg80211" module ...
4
votes
4answers
543 views

How do I create small disk image with large partitions

I am building a disk image for an embedded system (to be placed on an 4GB SD card). I want the system to have two partitions. A 'Root'(200Mb), and a 'Data' partition(800Mb). I create an empty 1GB ...
1
vote
0answers
106 views

USB 56k modem not detected

I have this USB 56k modem which I'm using to write some home automation software that will let me know when my home phone is ringing. My software works on my Ubuntu 14.04 LTS laptop, with my modem ...
1
vote
1answer
92 views

Meaning of ?= and ?== in bitbake/yocto

What actually such assignment means in Bash scripts BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}" PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}" MACHINE ??= "qemux86" What of above is ...
3
votes
0answers
234 views

How to make iwconfig fully work on embedded Linux

The target embedded Linux is ARM Xilinx Zynq, and I am working in CentOS to compile to ARM using Xilinx's tool. The target OS is working now and I want to setup the wifi using iwconfig. I downloaded ...
3
votes
1answer
305 views

Relative path to anything not working (while running from initramfs)

I'm working in an embedded Linux system trying to get it booting its root file system in ram using initramfs. The system comes up for the most part but then has trouble in the init scripts. I've ...
3
votes
0answers
129 views

How to check flash memory for ECC errors from the Linux command line

Is there a way to check flash memory for ECC errors from the Linux command line? Note that I do not want to correct ECC errors. I just want to detect errors and list page addresses where they occur.
1
vote
0answers
48 views

How to statically assign network interfaces to USB Wireless LAN adapters

For this system there are two WLAN USB adapters: One connects as a client always, and the other connects as an AP. I have a script that manages their operation, but in order to do that I need to ...
2
votes
3answers
99 views

Legal status of an embedded Linux case

I wanted to find the source code of embedded Linux that is used in Shenzhen Apexis Electronic Co.,Ltd products. For example in this page: http://apexis.com.cn/productsdetails_244.html You see they ...
1
vote
1answer
441 views

4G modem on an embedded 2.6.32.9 kernel on a Parrot AR Drone 2.0

I am attempting to compile support for a Huawei E3276 usb LTE modem for an embedded Linux/BusyBox installation on a Parrot AR Drone 2.0, which is based on kernel 2.6.32; however, I am running into ...
0
votes
1answer
84 views

Enable user login, there by login can happen either as root or user based on requirement

I am working with a board and when it finishes the boot, it gives us login as root user. What I want to do is to login as user or root based my requirement. Mean when the board boots up i should get a ...