Questions tagged [embedded]
The use of Unix in embedded computer systems such as networking equipment, mobile phones, media players, set-top boxes, etc.
807
questions
50
votes
2
answers
83k
views
Why does sh say "not found" when it's definitely there? [duplicate]
Possible Duplicate:
“No such file or directory” lies on Optware installed binaries
I'm trying to add ebtables to a little router box. I went and got a binary compiled for the correct ...
44
votes
6
answers
24k
views
Corruption-proof SD card filesystem for embedded Linux?
Recently we had a rather unpleasant situation with our customer - Raspberry Pi based "kiosk" used to display remote sensing data (nothing more fancy than a kiosk mode browser displaying a self-...
41
votes
2
answers
27k
views
Mount zip file as a read-only filesystem
I am looking for a way to mount a ZIP archive as a filesystem so that I can transparently access files within the archive. I only need read access -- the ZIP will not be modified. RAM consumption is ...
41
votes
9
answers
170k
views
How to check password with Linux?
I want to check, from the linux command line, if a given cleartext password is the same of a crypted password on a /etc/shadow
(I need this to authenticate web users. I'm running an embedded linux.)
...
34
votes
4
answers
89k
views
How to extract files from uImage?
Buildroot is generating images for an embedded device where they should run. This is working very well. In those images, the rootfs is included.
Due to some research, I'd like to look into that ...
31
votes
2
answers
118k
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" ...
31
votes
2
answers
12k
views
Why do embedded systems need device tree while pcs don't?
When booting a kernel in an embedded device, you need to supply a device tree to the Linux kernel, while booting a kernel on a regular x86 pc doesn't require a device tree -- why?
As I understand, on ...
26
votes
3
answers
8k
views
Can I achieve functionality similar to interrupts in Linux userspace?
One of functionalities I miss the most from "small embedded" in Embedded Linux is the interrupts. A signal appears on a specific pin, or other interrupt source is triggered and whatever was done ...
23
votes
3
answers
49k
views
Attaching USB-Serial device with custom PID to ttyUSB0 on embedded
I'm attempting to get an FTDI USB-Serial device with a custom PID to automatically (or even manually) attach to ttyUSB%n, without much success. The device's normal VID/PID is 0403/6001. When ...
22
votes
2
answers
31k
views
How can I observe memory bandwidth?
I have an embedded Linux ARM system that is showing significantly less throughput than expected on both Ethernet and USB. I suspect the memory may be contributing. Is there a way to observe the memory ...
20
votes
5
answers
77k
views
Shell command to read device registers?
On a single-board computer running Linux, is there a way to read the contents of the device configuration registers that control hardware? I think it would be a wrapper for inw().
I'm looking for ...
20
votes
3
answers
36k
views
How do I have Linux boot with a rootfs in RAM?
The rootfs is a squashfs image and my bootloader is loading it into some address in SDRAM. What parameters do I need to pass to the kernel so It can mount the rootfs from there? Squashfs support is ...
19
votes
4
answers
18k
views
What are the minimum root filesystem applications that are required to fully boot linux?
It's a question about user space applications, but hear me out!
Three "applications", so to speak, are required to boot a functional distribution of Linux:
Bootloader - For embedded typically that's ...
18
votes
2
answers
14k
views
Is using a read only root file system a good idea for embedded setup?
I have been tasked with running Linux as an operating system on an embedded device.
The target has an x86 processor and has 8 GB CompactFlash device for storage.
I have managed to use buildroot to ...
16
votes
2
answers
16k
views
Is it possible for a daemon (i.e. background) process to look for key-presses from a USB keyboard?
I'm working on an embedded Linux project where I will be developing a program that will run automatically on bootup and interact with the user via a character display and some sort of button array. ...