Questions tagged [arm]

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

ARM is a family of processor architectures especially used in low-power devices. It is commonly found in many embedded applications in consumer and industrial products, in network appliances, in almost all smartphones and tablets, and in some servers.

ARM (the company) designs the instruction set and logical architecture. The physical architecture, as well as companion processors and boot code, is made by system-on-a-chip (SoC) vendors.

Available unix-like operating systems include ([tag:debian Debian, [Ubuntu]2, [Arch Linux]3, Fedora, …), [FreeBSD]5, [NetBSD]6, [OpenBSD]7, … Most and all devices have an ARM CPU as well.

Further reading

509 questions
269
votes
6 answers

What do the flags in /proc/cpuinfo mean?

How can I tell whether my processor has a particular feature? (64-bit instruction set, hardware-assisted virtualization, cryptographic accelerators, etc.) I know that the file /proc/cpuinfo contains this information, in the flags line, but what do…
Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
118
votes
6 answers

is my linux ARM 32 or 64 bit?

under an intel I know I can look at the outcome of uname -m to know if my OS is 32 or 64 bit, but under ARM this gives: armv7l I deduced from file /usr/bin/ls that I'm on a 32-bit OS, but how can I know this in an easier way?
Chris Maes
  • 3,282
  • 3
  • 21
  • 32
43
votes
2 answers

Is it possible to get the information for a device tree using /sys of a running kernel?

Commonly for arm systems, device trees supply hardware information to the kernel (Linux). These device trees exist as dts (device tree source) files that are compiled and loaded to the kernel. Problem is that I do not have access to such a dts file,…
humanityANDpeace
  • 13,722
  • 13
  • 61
  • 107
31
votes
5 answers

How to use /dev/fb0 as a console from userspace, or output text to it

So I have a Palm Pre (original P100EWW) model that I enabled developer mode on, and installed a Debian Squeeze chroot. Works great. I have plans to use this for ANYTHING (bittorrent peer, web server) but a phone. I noticed if I do a cat…
LawrenceC
  • 10,884
  • 4
  • 33
  • 45
29
votes
3 answers

Porting Linux to another platform requirements

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 Linux is software written in C. Therefore when…
Engineer999
  • 1,111
  • 2
  • 15
  • 32
22
votes
1 answer

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

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 here), there are a lot of vendors. For Linux…
davmos
  • 515
  • 1
  • 4
  • 10
22
votes
2 answers

How can I test the RAM for data corruption on an ARM-based system?

I have an embedded device. It is ARM based, with Linux 2.6.31 and has 256 MB RAM. I wanted to get some ideas/tips on what is the most effective way to test the device RAM for data corruptions. Is there a test/software that someone can suggest? Note:…
Ankur Agarwal
  • 3,108
  • 10
  • 35
  • 52
22
votes
2 answers

disabling cpu cores on quad core processor on linux

I want to disable 3 CPU cores and run my processor on a single core. I have used command:maxcpus=1. But after this I executed this command ls /sys/devices/system/cpu. It still shows cpu0,cpu1,cpu2,cpu3. I also tried :echo 0 >…
user3818847
  • 1,131
  • 2
  • 8
  • 7
18
votes
5 answers

list all components of an ARM computer in Linux?

I have an ARM based computer that seems to work alright running Ubuntu Linux (non GUI). How do I get a list of all the components that are on this computer ? like type of Ethernet chip, Wifi chip, Bluetooth, CPU, power management chip etc if…
Curious101
  • 311
  • 2
  • 8
17
votes
4 answers

Why can't the kernel run init?

I've downloaded the Raspbian image on this page. I'm trying to compile a kernel that can be used to boot the image within qemu. I downloaded the Linux kernel source from kernel.org and ran: make versatile_defconfig make menuconfig I then added the…
Nathan Osman
  • 6,170
  • 10
  • 40
  • 51
16
votes
5 answers

How can I get the current CPU frequency of an ARM processor on Ubuntu?

How can I get the current CPU frequency of an ARM processor on Ubuntu? Neither /proc/cpuinfo nor /sys/devices/system/cpu/cpu*/cpufreq helps. In fact, there is no /sys/devices/system/cpu/cpu*/cpufreq directory on my Ubuntu system. And there is no CPU…
sunshilong369
  • 211
  • 1
  • 2
  • 8
15
votes
1 answer

Linker script in .so file? (libc.so) Is that right?

I am currently trying to get python to run on my NAS which is a Zyxel NSA325. I did manage to get python 2.7 and pip running and I was able to successfully install the watchdog module with pip. I followed these instructions to get python and pip…
Forivin
  • 779
  • 5
  • 18
  • 37
14
votes
1 answer

How to install a functional ARM cross-GCC toolchain on Ubuntu 18.04 (Bionic Beaver)

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 applications for Cortex-M4F CPUs with hard floating…
Tim
  • 241
  • 1
  • 2
  • 7
14
votes
1 answer

Cross compiling GLIBC for my ARM SoC

I am seeing something really weird inside a chroot-ed Debian armel environment. But first, a bit of backstory... This is long, but the question is complex and any potential help depends on knowing the full story. I have an embedded ARM SoC that runs…
ttsiodras
  • 2,301
  • 1
  • 21
  • 26
13
votes
1 answer

Running X86 binaries on armv7

I am trying to run a SNBC USB printer on Raspberry Pi2. For that I need to copy the filter binary of the SNBC USB printer to /usr/lib/cups/filter. But the filter binary is compiled using a x86 processor (Manufacturer does not have interest to…
Nash
  • 131
  • 1
  • 1
  • 5
1
2 3
33 34