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
0answers
38 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
42 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
267 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
172 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
251 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
202 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
72 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
54 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
80 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
14 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
votes
1answer
53 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
245 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
94 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
81 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
107 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
31 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
163 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
42 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
296 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
253 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 / ...
0
votes
0answers
632 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
370 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
92 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
70 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 ...
0
votes
0answers
17 views

Which technologies can be used to build up communication between MIPS linux and Windows?

We have an embedded Linux system running on a MIPS processor board. This system is used to control and to poll some other hardware, and to consolidate all the measurement data in one place. Now, we ...
2
votes
0answers
210 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 ...
2
votes
1answer
249 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 ...
2
votes
0answers
105 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.
0
votes
0answers
123 views

How does rootfs.ext3 image file work?

I have a FriendlyARM mini6410 device and I have just hardly make it boot from sdcard. Now my sdcard uses "u-boot for mini" (u-boot.bin), "linux2.6.38 kernel" (zImage) and "rootfs qtopia fs" ...
1
vote
0answers
44 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
94 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
360 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
74 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 ...
1
vote
1answer
316 views

Clocks entry in SPI device tree entry

I'm using a DTS file for a Duovero Parlor board. To this board I've added some SPI devices. My first (a display) works perfectly so I have that entry correct at least. I want to add an entry to ...
5
votes
3answers
503 views

sshd not starting after boot on embedded linux built with buildroot?

I've done a minimal install using buildroot's default config for the Raspberry Pi. I also selected openssh and openssl from menuconfig: Package Selection for the target ---> [*] Networking ...
2
votes
0answers
304 views

How to run Ubilinux / u-boot under qemu (x86)

I wish to test Ubilinux (http://www.emutexlabs.com/ubilinux) before flashing it onto my Intel Edison board, which currently has Yocto on it. I am able to emulate Yocto for Edison with qemu, running ...
3
votes
2answers
4k views

How to create boot SD card for Banana Pi manually

It seems that I have a lack of understanding how booting SD-Card images on devices like the Banana Pi work. The situation is as follows. I have a Banana Pi and a Banana Pro. Every device has an ...
1
vote
0answers
89 views

setting up pycurl for embedded ARM

I am working on a linux x86_64 machine, and I am trying to set up pycurl for an embedded ARM processor running petalinux. I need pycurl library before building the embedded linux image. I have ...
1
vote
0answers
41 views

ARM Debian: how to transfer system from MicroSD to internal flash?

I'm a Windows user, and a true newbie in the linux world, so I hope my question is'nt too dumb. I have Debian running on a BeagleBoneBlack, booting from the MicroSD. After a lot of apt-gets, installs ...
1
vote
1answer
89 views

udevadm does not show expected information

I'm building my own Embedded Linux distro using bitbake . I added udev in the list of dependencies (RDEPENDS). I noticed that the output of: udevadm info --query=property --path=/sys/block/sda is ...
0
votes
0answers
569 views

Device tree compiler won't update

I have a problem on Ubuntu 12.04. I am trying to flash a Toradex Colibri T20 with Linux, following these instructions: http://falstaff.agner.ch/2014/03/16/colibri-t20-upstream-linux-kernel/. However, ...
1
vote
0answers
244 views

WIFI over SDIO over USB - Do I have to reflect that in the device tree?

I am currently extending an embedded hardware platform which runs a linux kernel 3.16. I want to connect an external SDIO controller to the USB bus, and then run a WIFI module using that SDIO ...
2
votes
0answers
155 views

How to switch wifi channel without dropping connection?

We are developing small internet connected device that connects via wifi and does some work. It is controlled via mobile app. For configuration purposes we use wi-fi module that can work in both STA ...
2
votes
0answers
243 views

Transfer file to pc from embedded linux device via serial communications

I'm working on an AT91SAM9G20. I'm connected to AT91SAM9G20 via the debug port using rs232 serial communications. It has Linux version 3.4.8 but does not appear to have any of the common file ...
2
votes
1answer
81 views

SSH demon not installed in linux embedded device

I have an embedded device which runs linux(arm). I am trying to update the executable through ethernet using scp command. But I got to know that sshd is not running in the device . I need to install ...
2
votes
0answers
128 views

Specify Virtual Size using DRM with Frambuffer Emulation

I am attempting make use of double buffering on an AM335x processor. We have an example running on a demo image that was not created by us. I am working on putting together our own image using ...
1
vote
0answers
53 views

How can a package's license be determined using OPKG package manager?

OPKG is used as the package manager in an embedded Linux system. I would like to be able to determine the license of a package prior to installing the package. Is there a simple way to achieve this ...
0
votes
0answers
164 views

Tegra Mesa GLES without X

I am trying to setup a Tegra 3 (Toradex Apalis T30) based system that will have an OpenGL ES based user interface on a touch screen. Unfortunately the standard Linux4Tegra kernel is seriously outdated ...
0
votes
1answer
675 views

/dev/input/event0 is missing in embedded linux

I'm working on a project and we are trying to make a touch-screen work using Qt with Tslib. We already made some previous prototypes and we managed to make them fully functional. But when creating a ...