Questions tagged [arm]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

DHCP connection times out during Debian Buster [armhf] Network Install in VirtualBox on Mac OSX

I'm trying to do a netins of Debian Buster (armhf version) on a virtual machine with a Mac OSX host. I'm using a bridged adapter on en0 (Ethernet). At boot time, the link-up works on net0 but hangs ...
1
vote
1answer
30 views

How to check if my ARM64 board supports 32 bit binary compilation? (error: unrecognized command line option ‘-m32’)

I have a ARM virtual machine on AWS with Ubuntu18.04 installed. dpkg & uname commands show this, $ dpkg --print-architecture arm64 $ uname -m aarch64 I've got a third-party precompiled static ...
0
votes
1answer
19 views

Where to find (or how to build) rpcapd for my ARM 7 based linux FreshTomato router

I had previously found a prebuilt binary for my older MIPS based router running Linux/TomatoUSB, which worked great. Now of course that binary won't work on my newer ARM based router (Asus AC3200). ...
1
vote
0answers
21 views

Support for armv7 32-bit binaries on an aarch64 Linux kernel

I'm trying to determine whether a Linux aarch64 kernel can run 32-bit armv7 binaries. Various threads I've found ([1], [2], [3]) indicate that this should be possible using CONFIG_COMPAT, but this ...
0
votes
0answers
27 views

Linux kernel 5.3.9 with CONFIG_KPROBES option fails

I am rebuilding the Linux kernel, version 5.3.9, for my board Cubieboard 2 (Allwinner A20 SoC Armbian disty). When I enable the option CONFIG_KPROBES and rebuild the kernel, I get an exception ("Oops")...
1
vote
0answers
25 views

General question: Memory map vs Device Tree

I have a factory card (Reflex Achilles, target) with Arria 10 SoC (Arm) on FPGA. It has build-in U-boot and Linux (4.1.22-ltsi) on eMMC flash. No FPGA configuration no Device trees of U-boot/Linux ...
1
vote
1answer
153 views

Correct way to add /lib/ld-linux.so.3 in Debian

My current setup is quite exotic, and I could use some clarification. I am running on a Pinebook Pro, powered by a Quad Cortex-A53, 64-bit CPU. The OS is a 64-bit version of Debian: $ uname -a Linux ...
2
votes
0answers
43 views

Is it possible to Build and Run Linux on ARM Cortex-R and ARM Cortex-M devices and How?

Both these Profiles belong to ARMv7.As per Technical Reference Manual of both, they are not having Memory Management Unit (MMU) & they dont have ARM Instruction Set.They run on Thumb-1 & Thumb-...
0
votes
0answers
32 views

how can i configure usb?

I want to configure USB in NUCLEO-H743zi board . I have used QUBE-MX and I have chosen CDC class (communication device class) mode for receiving and sending data to PC . when I plug in the USB port ...
0
votes
0answers
18 views

How to enable snapshot boot in Linux/Android?

I want to reduced boot time of linux/android, I read many article, its only possible with snapshot/quickboot in linux/android. Please let me know how to enable snapshot boot in linux/android ?
2
votes
0answers
44 views

Is it possible to build Single GCC Executable for armv5, armv6, armv7-{cortex-xx-{A,R,M}},armv8 etc.?

Digging into the sources of GCC I noticed in files gcc/config/arm/t-*, There are multiple arm target options. Reading [GCC internal Manual], These are called Target Makefile Fragments, which will be ...
-1
votes
1answer
87 views

Using BLAS in Alpine Linux

I am running Alpine Linux inside Termux using proot. I installed gcc, libc-dev and openblas, and tried to compile a C program requiring cblas.h. But it gives the following error. /usr/lib/gcc/armv6-...
1
vote
0answers
125 views

bettercap not working on kali linux

I've been attempting to perform an ssl strip MITM attack with my rasberry pi 4B 4GB running kali linux. after loading all the required modules in bettercap and navigating to a website without HSTS on ...
1
vote
0answers
28 views

Power management in Qualcomm SoCs vs CPUFreq based power management

https://www.qualcomm.com/news/onq/2013/10/25/power-vs-performance-management-cpu I was going through the above document and read that "The Krait CPU cores of Snapdragon processors lie on separate ...
1
vote
0answers
52 views

How to connect to the internet, via a bluetooth access point, from command line

The question may seem highly specific, but I didn't seem any answer anywhere. Accessing the internet via a bluetooth access point sounds like an odd choice, but I believe it's the right one in my ...
0
votes
1answer
46 views

Can I use the physical socket id of a CPU to determine which cluster it belongs on an ARM big.LITTLE SoC?

I'm currently trying to determine the quantities of cpus in each cpu cluster of a big.LITTLE architecture from userspace. I'm looking at files on sysfs to see if any of them can give the information ...
0
votes
1answer
37 views

Can't get modules in /lib/modules loaded during startup

I used to have an Ubuntu installed in an ARM (32 b). The drivers needed to run the system were copied in the folder "/lib/modules" and loaded during the startup. Due to a hardware update, I have ...
0
votes
0answers
112 views

OpenSTLinux - how to add sources to apt-get?

I am using openSTLinux with kernel version 4.19 on the STM32MP157c-dk2 board. It turns out a lot of software I need isn't installed by default and I need to show a proof of concept project working. ...
2
votes
1answer
52 views

Switch display manager to lightdm

I downloaded lightdm for my ubuntu 18 (aarch64), installed it and set it as default. When I type cat /etc/X11/default-display-manager this is the output /usr/sbin/lightdm But desktop is ...
0
votes
0answers
38 views

NanoPi NEO2 disable/blacklist audio

I have a NanoPi NEO2 on my hands, which is a neat little board. The board has analogue 3.5mm audio and HDMI audio (although I am not sure how to get that one as there is no HDMI connector). # aplay -...
0
votes
0answers
22 views

What does prepare_page_table() clean?

I already knew that "paging_init()->prepare_page_table() in arm32" is main to clean the PGD which is the mappings below the kernel image. But I am wondering when did the data in that PGD was made? ...
2
votes
1answer
199 views

Why does /proc/stat count more than 100 tick/s

I have a developer complaining that the CPU usage reported by /proc/stat is not consistent. It is my understanding that /proc/stat is counting ticks, which since kernel 2.6 has been fixed to 100/s ...
0
votes
0answers
161 views

How to know why oom-killer triggerd and decode the oom-killer logs?

Below are the logs :- [ 727.941258] kworker/u8:2 invoked oom-killer: gfp_mask=0x15080c0(GFP_KERNEL_ACCOUNT|__GFP_ZERO), nodemask=(null), order=1, oom_score_adj=0 [ 727.954355] CPU: 0 PID: 56 Comm: ...
2
votes
1answer
429 views

How to decompress (extract) U-Boot boot.scr.uimg to boot.scr?

I got an ARM dev board (STM32MP157A-DK1) and I'm messing around to see how the Linux Image is built. I got boot.scr.uimg file in the boot partition. As far as I know boot.scr.uimg is a compressed ...
0
votes
0answers
39 views

Installing XFree86 on imx6 Debian Board

I should install XFree86 on my Debian running imx6 arm board, But it says it has no installation candidate. I have already tried apt installing it. debian@sr-imx6:~$ sudo apt-get install xserver-...
0
votes
1answer
147 views

How fast is an IO interrupt in Linux versus bare metal? (ARM, Raspberry Pi)

I read that an interrupt in Linux (this was about a Raspberry Pi) can take a "long time" to process or let's say "start doing what the programmer wants". Is that true and how bad is it? Is there a big ...
0
votes
0answers
38 views

How to compile kernel in XU4 (armv7l)? Error compiling kernel 4.14.127: “sha512_block_data_order” undefined

I'm trying to compile the 4.14.127 kernel for my XU4 obtained here (https://wiki.odroid.com/odroid-xu4/os_images/linux/ubuntu_4.14/ubuntu_4.14) as I need the USP/IP related modules and, unfortunately,...
1
vote
1answer
266 views

ARMv7: When throwing exception within library: “terminate called without an active exception”

I am cross compiling with gcc 4.9.2 for armv7hv (gcc-4.9.2_armv7hf_glibc-2.9). Theres a main executable and a library with one exported function Foo(). What I experience is that if I throw an ...
0
votes
0answers
13 views

Javapackager for Java 8 arm32 doesn't exist?

I can't find javapackager in Java 8 JDK for arm32 jdk-8u211-linux-arm32-vfp-hflt. It doesn't exists?
4
votes
1answer
60 views

Use an external swap partition only when the drive is available

I use a single-board computer with Debian Buster (armhf) installed on an SD card. It has 1 GB of soldered RAM, which can't be increased. I have disabled Linux swap, which generally works fine. But ...
3
votes
1answer
419 views

Compile Chromium Browser for ARM (2019)

I've tried compiling Chromium for arm several times on Ubuntu 18, 16 and 14 but they all have their issues (mostly outdated-non existing packages). Building for amd64 has run perfectly, so I know the ...
0
votes
0answers
48 views

What cause path error occurs during code compiling

Debian 32-bit host PC, with a pre-built toolchain in /opt dir, the target is ARM. I'm trying to build project (f/w image) from source code,there is error during code compilation. The project have ...
2
votes
0answers
82 views

USB keyboard not working after building the mainline Linux kernel on a generic Allwinner A23 Chinese tablet

For quite a while I've been trying to install a Debian distribution on my useless cheap tablet PC. After reading the details of building Linux kernel on ARM architecture Manual Build Howto I've found ...
0
votes
0answers
372 views

How to build iptables kernel module for Yocto?

So I have been having a rough time building the kernel modules for iptables with bitbake. I got the userspace application working, but the net folder is completely missing from my /lib/modules/`uname -...
0
votes
0answers
68 views

Embedded Linux device with high CPU Load Averages

I'm tinkering with an Embedded Linux device that is utilizing an ARM6 CPU (single core) that seems to be experiencing high CPU Load averages. This is what I am seeing after 10 minutes of being ...
-1
votes
1answer
34 views

Fping not working on Armbian

Fping doesn't work with exit code 4. Given: $ fping 8.8.8.8 $ $ echo $? 4 $ fping -h $ echo $? 4 Then you comment some verbosity flags related if-s in the fping code, build it and see: ./build/usr/...
1
vote
1answer
54 views

i.MX28 SOC DMA timeout on reading NAND FLASH

I'm porting recent Linux kernel to older existing hardware like the i.MX28 EVK kit from Freescale, and Karo TX28 board. I want to use a part of the NAND FLASH in the file system ("userfs partition" in ...
0
votes
0answers
379 views

Linux Kernel boot stucks at “Starting kernel …”

I am facing some troubles while booting kernel. U-boot boots and gets stuck at Starting Kernel.... Boot parameters are as below. setenv mmcroot '/dev/mmcblk0 rootwait rw rootdelay=5 mem=256M' ...
3
votes
1answer
148 views

How to upgrade kernel on Pinebook now ARM support is mainlined?

I have a Pinebook with a Quad-Core ARM Cortex A53 64-Bit CPU running the official KDE Neon image with the really old official 3.10 kernel. In 4.17 support for the Pinebook was mainlined, so ...
1
vote
0answers
50 views

Mapping from uname -m to /usr/src/linux-headers/arch/*

I'm building an eBPF program. For it to build I need to add as include paths (-I) some headers located in /usr/src/linux-headers-*/arch/x86/include. Since this path is x86-specific, to be able to ...
1
vote
1answer
159 views

unixODBC: Cannot load libmaodbc.so

I'm working on an embedded platform and I am trying to access a MariaDB through unixODBC. Trying to test the connection with isql I get the response: isql -v mydsn myuser mypw [01000][unixODBC][...
0
votes
0answers
28 views

Picture not working on fedora arm on raspberry pi

I have an issue booting Fedora ARM Version on my Raspberry Pi 3 B+. I've written the raw image using dd it starts booting just fine, i can see the whole kernel boot process. But when it needs to boot ...
1
vote
0answers
293 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
210 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
378 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
27 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
53 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
405 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
268 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 ...
1
vote
2answers
374 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 ...