Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arm]

A family of processor architectures used in many embedded applications, network and other appliances, and almost all smartphones.

1
vote
0answers
61 views

How Can I luks encrypt the root and swap partition on a Fedora ARM Server?

On every graphical Linux installation I've used there is typically a checkbox to enable luks encryption. Problem is the installation is different, whereas typically you get a bootable .iso or .img the ...
0
votes
0answers
28 views

Who is causing extremely high CPU usage when writing to SSD?

When writing to SSD (regardless if over file system or directly into /dev/sda) I observe extremely high CPU usage, with top showing CPU: 0% usr 53% sys 0% nic 9% idle 27% io 0% irq 9% ...
0
votes
0answers
33 views

kernel does not boot because of rcu_sched self-detected stall on CPU

I'm using a Cubox-i with a self-compiled kernel (previously version 4.19.4). When I tried to upgrade to version 5.0.7 I get the following problem while booting, and the kernel never comes up. I have ...
0
votes
0answers
17 views

Display ID changing without obvious reasons on Ubuntu ARM kernel

I have an application which requires DISPLAY variable to be set. On startup, usually echo $DISPLAY returns :1. Today, without any apparent changes, DISPLAY remained unset after startup and pygame ...
2
votes
1answer
27 views

How to get one core of a quad-ARM running without an OS

I'm using a quad-core ARM CPU and I'm wondering if it is possible to get 3 cores running in Linux, and one core running without Linux?
0
votes
1answer
45 views

How to cross compile older version of GCC under Debian?

I'm trying to build an older version of GCC toolchain for ARM under x86 because there is a bug with GCC > v5 for Cortex-M0. I'm following the combination of the following instructions: https://...
0
votes
0answers
38 views

How to stop/kill thread in process

I see all of threads according process with ps -T Is there any way to kill/ stop specific thread(not all the process) by thread id/thread name? I prefer with shell script but if it impassable so in ...
0
votes
2answers
94 views

Kali linux on Gemini PDA : vim error when `apt-get upgrade`

I have installed Kali linux on my Gemini pda. It boot up fine and works without problems. I tried to run apt-get update and then apt-get upgrade, but the second command fail all the time. I get the ...
1
vote
0answers
31 views

Determine which device was assigned to a USB modem?

I'm testing a Tinker board, which is an ARM gadget running Debian 9.8. I inserted a USB modem. It appears the modem was detected but I can't find a device for it: [ 8178.815663] usb 1-1.1.5: new full-...
0
votes
1answer
23 views

How can I add support for a new file system type to an existing kernel?

I have an ARM device running an OpenEmbedded-based kernel. A new requirement is going to involve mounting an ISO 9660 file system, but that file system is not currently listed in /etc/filesystems. I ...
28
votes
3answers
2k views

Porting Linux to another platform requirements [closed]

I know that Linux is available and has been ported for many different platforms such as for X86, ARM, PowerPC etc. However, in terms of porting, what is required exactly? My understanding is that ...
0
votes
0answers
12 views

How deep is U-Boot's `bootm` command checking for a valid header?

TL;DR: How many ways can the bootm command fail with this error in version 1.1.4?: # bootm Booting image at 31000000 Bad Magic Number Background: I've bricked a device whose U-Boot is deeply ...
0
votes
0answers
115 views

Syntax error: “(” unexpected when execute a cross compiled PJSIP binary in ARM

I am working on PJSIP on the Cortex A8 ARM processor. I built the executable PJSIP binary using Code Sourcery Cross compiler by following command ./configure --host=arm-elf-linux. Resulting binary ...
2
votes
0answers
23 views

How can I stop webpages directing me to the mobile site (Firefox)?

I've recently started using Arch Linux on a Chromebook C201 (arm). However, when using Firefox, many websites seem to direct me to their mobile site, which is getting quite irritating. Perhaps they ...
2
votes
1answer
163 views

Why is bluetooth not working on my Chromebook (Arch Linux ARM)?

I have Arch Linux ARM installed on a Chromebook C201. I've been trying to get bluetooth working without success and I can't figure out where the problem is. The output of dmesg seems to indicate that ...
1
vote
1answer
35 views

Unmounting /usr from an external drive [closed]

I mounted /usr from the nvidia TX1 dev board to an external SSD connected to the board. I am wondering how I can restore it original state without re-flashing? If I power down,and disconnect the SSD,...
2
votes
0answers
126 views

QEMU crashed while trying to boot up i.MX6q device kernel

When tried to boot up Kernel uImage of an i.MX6q based embedded device, it seems that QEMU crashes with "Unable to handle kernel NULL pointer dereference at virtual address 00000044". Before crashing ...
1
vote
1answer
63 views

Busybox USB Ethernet adapter

I have an embedded device running busybox on an ARM 7 processor. How would I go about using a USB -> Ethernet adapter for network connectivity? Currently I only have a serial console. The system ...
0
votes
1answer
24 views

Is it possible to run more than one node on a physical host without full-fat VM?

I am planning on running Docker and Swarms on some rPi 3B+'s. My first goal is to test the fault tolerance abilities of RAFT consensus across at least 3 machines so I can simulate failure of a node. ...
0
votes
0answers
67 views

Set time with “Date -s” return “invalid date” [duplicate]

My system is Debian 8 (armv7l, a 32-bit processor). I can not understand why two script below are the same format but the second one return error. root@abcxyz:~# date -s "2037-1-20" Tue Jan 20 00:00:...
0
votes
1answer
270 views

Dpkg-reconfigure openssh-server fails on boot

When I boot the linux, dpkg-reconfigure openssh-server fails and the booting gets stopped there. But when i press ctrl+c it resumes the booting with dpkg-reconfigure failed.
1
vote
2answers
45 views

Is it trivial to compile standard Intel Debian programs to Arm?

Is it trivial to compile standard Intel Debian programs to Arm? Am I simplifying this process? Take any of my favorite programs (R Studio, Sublime Text, Peek, etc.) Find the source code on GitHub or ...
1
vote
1answer
124 views

Install python on an embedded device

I'm working on an embedded device already customized. Here some details: # uname -a Linux DX-4400 3.10.31-ltsi-05172-g28bac3e-dirty #12 SMP Tue Jan 23 17:14:13 EST 2018 armv7l GNU/Linux I have root ...
0
votes
1answer
104 views

/bin/sh: xscale_be-gcc: command not found

I'm learning how to build a Linux OS image for my embeded project, And I'm reading 'Embedded Linux Primer'. I tried to compile the kernel for the ARM XScale and got stuck at $ make ARCH=arm ...
0
votes
1answer
129 views

Can QEMU -M virt on arm / aarch64 have multiple serial TTYs like such as PL011 ttyAMA0 and ttyAMA1?

I was playing around with TTYs, and for qemu-system-x86_64 -M pc, whenever I pass the -serial option it crates a new TTY and I can attach a serial like ttyS0 and ttyS1 to it from Linux. For ARM ...
0
votes
1answer
142 views

When uname reports aarch64 instead of arm64v8. Willl docker-ce still pull arm64v8 images

docker-ce now supports multiple architecture base images but looks for the tag arm64v8 instead of aarch64 (which is labelled as deprecated). Unfortunately my new ubuntu 18.04 host os uname reports ...
2
votes
1answer
45 views

One of the files my application creates “is not a file”

I've been struggling for several days because I run an application that actually runs more application and these generate outputs. The case is that one of these outputs is generated with the following ...
4
votes
1answer
446 views

How to remove a systemd wrapper script for sysV service and use a unit file instead?

I'm trying to un-configure or remove a systemd wrapper script for an old sysV service. The wrapper is provided by a Debian package so I can't just delete it. The wrapper shows up as an artifact and ...
0
votes
1answer
271 views

rng-tools allows /dev/random depletion

I'm trying to understand what is going on with rng-tools and systemd on a Beaglebone Black dev-board that's leading to entropy depletion in /dev/random. I have about 8 dev-boards in a similar ...
1
vote
1answer
202 views

What is the number in readelf symbol table name?

I have a local static variable, something like this: void function(void) { static unsigned char myVariable = 0; ... I dump the symbol table using readelf as follows: readelf -s myprogram....
5
votes
1answer
909 views

Building and running a ARM system image with QEMU?

I am trying to set-up a full system image for ARM (armhf, armel or even aarch64) based on Debian that can be run with QEMU. Unfortunately, all the examples that I found on the Web start the image by ...
1
vote
0answers
34 views

Set U-boot video resolution?

I recently obtained an Nano-PI A64 device and installed Ubuntu core as described on the wiki. The distro appears to use U-boot but I'm not sure how to set the console video resolution or other boot ...
1
vote
0answers
85 views

Rock64 DietPI Mongodb [closed]

I've currently installed the mongodb on my rock64 running latest dietpi version. Everything went well I've followed the guide outline here: https://andyfelong.com/2016/01/mongodb-3-0-9-binaries-for-...
1
vote
0answers
233 views

Should Linux kernel build with -Werror?

I've always built the Linux kernel with -Wall -Werror to make sure I don't miss any warnings I introduce during developement. However it seems that as of 4.18 the default ARM build won't complete ...
2
votes
1answer
38 views

Issues with cross-compiling and “as”?

I'm trying to compile source for a utility for an ARM system (host machine: x86_64, Debian, uname -v reports version as "Debian 4.9.110-3+deb9u1") but when it tries to pack the file into a final ...
3
votes
0answers
253 views

Building and running a ARM Kernel with QEMU [closed]

I am trying to build a generic arm kernel and then run it with QEMU but not having any success. I downloaded linux-4.17.13.tar.xz from Kernel.org extracted it and ran the commands below to build it ...
3
votes
1answer
5k views

What is the difference between different implemetation of arm64/aarch64 for Linux or other software to run on? [closed]

For x86_64 architecture CPU, no matter it is made by Intel, AMD or VIA. The software for this architecture can run on it properly. However, as for arm64/aarch64(the difference of arm64/aarch64 is ...
1
vote
0answers
20 views

Linux Partition on Different Architecture [duplicate]

I have a Cubieboad 2, Raspberry Pi 3 and an Android Smart Phone. On Cubieboard and Raspberry, I write Cubian and Raspbian. On Android, I installed Linux Deploy and installed Debian armhf. All of ...
0
votes
0answers
41 views

Sheevaplug - sdcard slot - “unable to allocate bounce cur buffer”

Debian is booted from a USB hard drive. I don't normally use the SD card slot. When I plug in a card it works fine, but the kernel logs show a rather noisy message (I suspect this is associated with ...
0
votes
0answers
144 views

Compile and install printer driver src.rpm for ARM (Raspberry Pi 3)

I have an Epson Stylus NX420 and a Raspberry Pi 3. I am trying to setup Google Cloud Print Connector in order to use the Pi as a print server. I am following this guide, but for Raspbian Stretch. The ...
3
votes
1answer
6k views

How to install a functional ARM cross-gcc toolchain on Ubuntu 18.04?

Context I recently installed Ubuntu 18.04, Linux foobar-VirtualBox 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux on a VM. I want to cross-compile ...
0
votes
1answer
163 views

fedora-arm-image-installer for nanopi_a64

Trying to create an bootable sd card for a nanopi a64 from FriendlyARM on fedora 28 with the "fedora-arm-image-installer" , however the installation fails at the end with two missing files, "sunxi-spl....
0
votes
0answers
90 views

How to set up fakechroot along fakeroot using mostly only system commands?

Situation I downloaded an android Terminal App which gives access only to system commands (there’s no app with native aarch64 support yet). Neverless, as I’m having more 24Gb of free ext4 space in ...
0
votes
0answers
200 views

Libudev error cross-compiling libusb example

I am cross-compiling a libusb example using CMake for Arm64. I have the C and CXX compilers installed and I have used an existing image from a board as my sys-root. When I try to compile the program I ...
0
votes
0answers
103 views

Right way to fsck the root filesystem on an appliance?

Before going ahead, I'd like to make sure I understand how to perform a file check on the root filesystem that's installed on a USB keydrive on a Sheevaplug appliance running Debian 9. I was thinking ...
0
votes
1answer
148 views

How to execute binary type Mach-O on armv7l?

I am trying to execute a binary file that has type Mach-O, but it doesn't work! My OS is: Linux raspberrypi 4.14.34-v7+ BST 2018 armv7l GNU/Linux And I tried to execute file as Mach-O armv7 ...
0
votes
2answers
625 views

Uboot Hangs when Initrd size increased in FIT image

Im booting Linux on arm64 using FIT multi image (image + initrd + DTB). So if I increase the initrd size (from 16 MB -> 20MB) board hangs at "starting kernel"). However if I change the load address of ...
0
votes
0answers
71 views

How to port docker to arm aarch64

I am interested to run docker on Arm aarch64 board, I would like to isolate few applications/binaries (written in c) using the docker container, all of them running in the same docker container, all ...
4
votes
1answer
236 views

Connect to i2c touchpad (in Device Tree) from Linux userspace

I'm trying to talk to a touchpad/trackpad listed in my laptop's device tree. The touchpad doesn't show up at all in /dev/ like my USB mouse does. I'm using a ASUS C201 Chromebook (codename veyron ...
1
vote
1answer
338 views

Can't mount devtmpfs, can't run init [closed]

I'm trying to run a recent enough kernel (4.9) on an Inforce 6540 board, a single-board computer with a Qualcomm Snapdragon 805 (Also called APQ8084, a SoC with four Krait 450 Cores, ARMv7-A). The ...