Questions tagged [embedded]
The use of Unix in embedded computer systems such as networking equipment, mobile phones, media players, set-top boxes, etc.
311
questions with no upvoted or accepted answers
8
votes
1
answer
446
views
Understanding linux Ethernet devices
I have a small, embedded, completely self cross-compiled installation on a mips SoC.
SoC is based on a Mediatek MT7628 sporting a Wifi interface (2.4MHz only), a 100Mbps Ethernet MAC and an internal ...
7
votes
1
answer
1k
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, ...
6
votes
0
answers
1k
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 ...
5
votes
1
answer
804
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 ...
4
votes
0
answers
1k
views
Can dm-crypt (LUKS2) be implemented on top of an UBI volume on a raw NAND flash?
If I have an embedded system with a raw NAND flash, with a bad blocks table etc., as I understand it, the best way to have partitions is to have have them as UBI volumes on top of MTD. UBI takes care ...
4
votes
1
answer
1k
views
How to debug Linux kernel with JTAG + GDB?
I've successfully established a JTAG connection and serial port connection to my development board. I've followed the below diagram (with a little bit of difference).
my GDB_client is on my Linux host ...
4
votes
0
answers
533
views
Linux kernel cannot execute any binary (error -12)
Problem: Memory Allocation Problem
my platform:
SOC = STM32H743 (ARMv7E-M | Cortex-M7)
Board = Waveshare CoreH7XXI
Linux Kernel = 5.8.10 (stable 2020-09-17)
initial defconfig file = stm32_defconfig
...
4
votes
0
answers
2k
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
2
answers
283
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 ...
4
votes
1
answer
719
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 ...
4
votes
0
answers
626
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.
4
votes
0
answers
2k
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 ...
4
votes
0
answers
98
views
Queuing disciplines are per-interface, what happen with interfaces using same device?
I have read about queuing disciplines here http://lartc.org/.
I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
4
votes
0
answers
896
views
No network interface for the lan9118 emulated on QEMU 1.4.0 overo machine
Im using QEMU 1.4.0 Ubuntu 13.04 distribution.
Im trying to make the virtrual machine part of the host network so Im ussing this command:
sudo qemu-system-arm -M overo -m 1024 -sd ./test.img -clock ...
4
votes
0
answers
568
views
Confusion with how to restore corrupt ext3 files if power outage occurs during a file write
I am running a small embedded system. Because the system will never be gracefully shutdown and will just have the power cable unplugged, I am running an initramfs but mounting an ext3 partition on a ...