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
344 views

How to run a x86 based Linux on a ARM processor using virtualization technology?

I have a software which requires CentOS 6.5 (x86). I want to run this software on NXP LS2088ARDB reference board. Porting is becoming increasingly difficult and time consuming. I am thinking of ...
1
vote
1answer
123 views

Buildroot use classic GNU package instead of BusyBox one

I'm wondering how to use the "classic" GNU tools instead of BusyBox ones for a specific command. The command I want to act like on a classic Linux is mount, but I think it's the same for every ...
0
votes
1answer
608 views

Linux freezes when accessing io memory on an Xilinx ARM SoC

I am trying to read FPGA memory on a Xilinx Zynq board (zc702) as part of porting an RTEMS driver to Linux. I am using the devmem2 and mmap_test programs that I cross-compile for the board using the ...
1
vote
1answer
720 views

How can I backup Linux kernel image

Board with ARM926EJ CPU, running embedded Linux v2.6.26.5, on NAND Flash device, NAND 32MiB. Linux is on MTD partitions on NAND device. How can I backup Linux kernel image (SP2Xcybertan_rom_bin) from ...
0
votes
0answers
296 views

glib make error: syntax error near unexpected token `(‘

I am trying to install glib from source code on an embedded linux platform. I am getting the following error on doing ‘make’: Make[4]: Entering directory ‘/glib-2.55.0/gobject’ /bin/sh: -c: ...
1
vote
0answers
104 views

Corrupt SD-card on embedded linux

I'm working on an EmbeddedArm TS-7553 ARM device, running a 2.6.24 Linux. I'm developing on an Ubuntu 14.04 32bit virtual VirtualBux guest. I downloaded their SD-card image (2gbsd-noeclipse-mar292017....
1
vote
2answers
496 views

How to install Tvheadend on a set-top-box running OpenEmbedded-based Linux

Context I have a set-top-box Octagon SF4008, which is designed to run OpenEmbedded-based Linux distributions. I currently have openATV installed on it. Typically, users want to connect the video ...
5
votes
1answer
64 views

How to force the execution of a script when / is not mounted?

I have bricked a linux embedded device. I was experimenting with it, and added my own path to /etc/ld.so.conf. The libc I included in my path is not compatible with this particular device, so I lost ...
0
votes
1answer
224 views

How to interface LCD for new WaRP7 (imx7s-solo)?

I'm trying to interface LCD for my new WaRP (imx7s-solo). (we can found both LCD and WaRP7 here LCD and WaRP7 product) The problem is I can not have enough knowledge to verify my work is right or ...
1
vote
2answers
5k views

How to view files, created by Linux and programs in /tmp directory? [duplicate]

How to view files, created by Linux and programs in /tmp directory? The file names are hidden, command ls -al /tmp only show the presence of files not their names. Edit: I find that place in saved ...
1
vote
1answer
393 views

How to track down sys_reboot function in Linux kernel for ARM architecture

We have Beaglebone Black based custom board, with Linux 4.4. I wanted to track down the low level function corresponding to the reboot() system call. I am able to see sys_reboot() in include/uapi/asm-...
4
votes
1answer
180 views

Clone a block device using 'cat'

I am able to telnet into a router that's running a customized linux firmware. It was compiled using 'buildroot'. I was able to dig out some specs of the router. I intend to clone the router's ...
0
votes
1answer
30 views

Is perl-Net-IP package same as Net-IP package?

I am trying to port a software on aarch64 Linux. One of the requirements of the software is perl-Net-IP library package. When I try to search for the source code of perl-Net-IP package, I get Net-IP ...
1
vote
0answers
55 views

PTXdist + Linux ARM - PCIe not coming up

I've been building a board support package in PTXdist for a Marvell Armada CortexA9 - based embedded system. For now all hardware seems to be working, except for the PCIe - bus. I'm running a Linux 4....
3
votes
2answers
6k views

How to create device files manually use mknod?

Linux 2.6.26.5 embedded. I need manually mount the root file system from busybox shell (initramfs). Because this Linux kernel not use devtmpfs, I have to create the basic device nodes manually, use ...
4
votes
1answer
3k views

Remove SOME advertised link modes with ethtool

I'm in a situation where I have a 10/100/1000-capable PHY cabled only to support 10/100. The default behaviour is to use the autonegociation to find the best mode. At the other end, using a gigabit ...
1
vote
1answer
190 views

OpenCV based programs optimization embedded linux OS [closed]

I'm building my own Embedded Linux OS for Raspberry PI3 using Buildroot. This OS will be used to handle several applications, one of them performs objects detection based on OpenCV (v3.3.0). I ...
1
vote
2answers
1k views

Mounting root partition on embedded file system

Linux embedded file system (Linux v. 2.6.26.5) running on raw NAND flash, it use Full Image's RootFS. U-boot 2009.03 bootloader. I need access shell after the Kernel is fully loaded, so that I can ...
1
vote
1answer
404 views

rsyslog.conf rule for dmesglog doesn't work

We have Beaglbone Black based custom board with Wifi chip We have following entry in the rsyslog.conf # Redirect all kernel messages including dmesg to /var/log/dmesglog kern.* ...
0
votes
1answer
1k views

Problem resetting root password on an embedded device

Linux embedded file system run entirely on raw NAND flash, use Full Image's RootFS. Linux v. 2.6.26.5, U-boot 2009.03 bootloader. After the Kernel is fully loaded, when I try to submit command, the ...
1
vote
1answer
1k views

Backup Nand Flash memory area

Linux version 2.6.26.5 embedded system on board. Device use full Image's Kernel. File system stored on NAND Flash memory, Hynix NAND 32MiB 3,3V 8-bit. # printenv baudrate=115200 ethaddr=FF:FF:FF:FF:...
0
votes
1answer
295 views

Shorthand syntax for U-Boot arguments

What is proper syntax for setenv bootargs command when using shorthand syntax for method? For example, the full kernel environment variables is U-Boot> setenv bootargs console=ttyS1,115200n8 ...
1
vote
1answer
612 views

Access the filesystem as the root user

Embedded device, Linux version 2.6.26.5, U-Boot 2009.03 bootloader. ARM Linux Kernel Image on NAND flash, loading from NAND. How to access the filesystem as the root user, and to reset the root ...
1
vote
0answers
243 views

Write to M25P80 Flash

I am looking for a way to move data onto a Micron M25P80 Flash Card over SPI bus on a Xilinx Zynq 7100 emulated in QEMU. I am not sure which driver to use. I would like to use the Cadence SPI driver ...
1
vote
0answers
674 views

Posting file name and file contents to remote server via curl command

I'm trying to write a bash script that would post the name and content of a local file to a remote server via curl. Local file name has the following format: /tmp/DeviceID-Date.txt For eg. 178-...
1
vote
1answer
1k views

`iw dev $interface scan` not working on embedded device

Running on a custom rockchip board with Ubuntu 14.04. I look at interfaces with ifconfig: ... wlan3 Link encap:Ethernet HWaddr 08:ea:40:d7:63:27 inet addr:192.168.12.1 Bcast:192....
0
votes
1answer
193 views

How can I boot alpine-linux from CF card (in Soekris net4801)?

I've installed according to https://wiki.alpinelinux.org/wiki/Create_a_Bootable_Compact_Flash#Automated and successfully activated serial console as outlined in https://wiki.alpinelinux.org/wiki/...
2
votes
1answer
1k views

No sound played on Bluetooth Headset even if connected

I'm currently trying to make a Sennheiser MM450-X headset works with a custom Linux embedded on an Atmel SAMA5D2 xplained evaluation board. I'm able to pair and connect with it but when I try to play ...
3
votes
1answer
2k views

How do you read and write from a specific address of an EEPROM from sysFS

I have a 24CS02 EEPROM on my I2C bus. I can successfully read it and have successfully written to the beginning of the EEPROM (ie from /sys/bus/i2c/devices/1-0050/eeprom). I am wondering if/how to ...
0
votes
1answer
53 views

Does ARM platform have a universal tool chain / compiler?

Recently I tried to make my own cross-compile toolchain for a arm platform. I noticed with the autoconf script of GCC, I have to pass variables like: --with-cpu=cortex-m4 \ --with-fpu=fpv4-sp-d16 \ --...
6
votes
2answers
3k 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 ...
4
votes
1answer
11k views

Pulseaudio daemon not running for pacmd

I'm currently trying to make HSP bluetooth profile works on a custom board based on Atmel SAMA5D2. I'm using a custom Linux made from Buildroot-2017-08. I'm at the point where I try to configure ...
1
vote
0answers
95 views

TP Link Wifi dongle connectivity drops after 12 hours on Linux Kernel 2.6

I am using USB WiFi dongle (TP Link) to connect my custom device to the Access Point. Upon device boot up, the connection and speed is normal. After about 12 hours, the network connectivity drops and ...
1
vote
1answer
186 views

Linux not giving up cached memory

I'm running a yocto build with 4.4.91 kernel on an embedded device with 256mb RAM, no swap. I'm trying to download a large file onto mmc flash via tftp command, during which according to /proc/...
2
votes
0answers
62 views

Required kernel modules / configuration for OTG host on OMAP3 based device

I'm trying to figure out what kernel modules that I need to load in order correctly configure an TI OMAP3 based device (DM3730) as a USB host via the on-chip OTG controller. Without loading any ...
0
votes
2answers
282 views

NFS boot fail on Atmel Sama5d2 xplained

I'm currently trying to boot an Atmel Sama5d2 Xplained evaluation board from NFS server. I'm running a Debian 9 with 4.9.0 kernel version and the nfs server is nfs-kernel-server. Here is the NFS ...
0
votes
1answer
167 views

tar 1.27: some gz package is getting extracted but some not

I am on tar version 1.27. I have 2 different tar balls of same compression format (*.tar.gz). One is getting extracted but another one is not on same architecture. The error I'm receiving is "Invalid ...
2
votes
0answers
281 views

Problems booting uncompressed linux kernel on PPC

I'm trying to get a newer linux kernel to boot on a PPC embedded linux device using U-Boot, but it won't boot the kernel. My bootable kernel image builds, and is being network booted by U-Boot. The ...
-1
votes
1answer
69 views

Make access to serial console impossible

If I stop getty for the following vt I can achieve what I want, but only until reboot systemctl stop serial-getty@ttymxc1 1) How do I make it permanent? "disable" does not help. 2) How do I make it ...
1
vote
0answers
448 views

Splashscreen for embedded Linux

Is it possible to get a normal splashscreen for Linux? I'm trying to show a logo before my application is autostarted with Linux, I've activated this option in kernel, the logo comes after ca. 2 ...
3
votes
1answer
4k views

Configure Linux system as an OTG device

I'm wondering if it's possible to make a Linux system appear like an USB peripheral. Like smartphones which can switch from master to slave depending on the device they are connected to, I would like ...
0
votes
3answers
3k views

How to find pid of an application recently run on linux?

Hi I recently run an application or an app and now I want to know the cpu status info so i need the PID of the application i have run recently. But i have so many PIDs in the /proc directory so how ...
2
votes
0answers
674 views

Configuring serial driver sc16is7xx

Initial Question I work with the NXP chip SC16IS740 as a peripheral to an embedded linux system (mainline kernel v4.8). The usecase is quite simple, a continuosly transmitting uart line (9600 8n1) ...
0
votes
2answers
2k views

How is Module.symvers generated?

I have an issue trying to build kernel and modules for an embedded system. The resulting Module.symvers has some (a few dozen) entries with invalid (0x00000000) CRC entries. I'm trying to figure out ...
-2
votes
1answer
111 views

How do I interpret the results of gpscat? [closed]

I've been trying to get gps data from an embedded system. This is the command I use: gpscat /dev/ttyS2 And I get a continuous stream of output like this: $GLGSV,1,1,03,70,14,098.6102,E,121853.000,...
1
vote
1answer
463 views

How do I use gpsdecode to output the results of gpscat in a readable manner?

I am connected to a processor with GPS attached through a USB-serial port. What I've been trying to do is read the GPS data by doing: gpscat /dev/ttyS2 | gpsdecode However, it's very slow and after ...
0
votes
1answer
2k views

How do I generate the /sys/kernel/debug/tracing folder in kernel with yocto project?

I was tying to use perf on Renesas target and I configured the yocto "local.conf" as showed in this link. #avoid stripping binaries INHIBIT_PACKAGE_STRIP = "1" #add the debug information ...
1
vote
0answers
51 views

Tracking Changes and Development for Embedded Linux

I'm starting to develop on an embedded linux system and am trying to figure out what the best way to manage my work is. Currently I'm using buildroot to build an image based on the vendors defconfig, ...
3
votes
3answers
254 views

Is CentOS PPC64 supported by Freescale T2080 RDB?

I am working on Freescale T2080 RDB. I got CentOS for PPC64 architecture from this link. I made a bootable SD card with the CentOS minimal ISO using the following command: dd bs=4M if=CentOS-7-...
0
votes
0answers
57 views

Kernel 2.6.29 Booting problem

I am trying to get my kernel booting. I had a problem with getting the output of early_printk for version 2.6.29. Now I am getting it, but I still do not understand what is going wrong there. I have ...