Questions tagged [arm]
Questions related to the CPU and instruction set of the Raspberry Pi. See also: cross-compiling
119
questions
31
votes
2answers
37k views
What BIOS does Raspberry Pi use?
I am wanting to learn about the BIOS on a Raspberry Pi motherboard. What is the BIOS called? Does it have a specific name or is it just called a BIOS on a Raspberry Pi?
27
votes
8answers
16k views
Detect that a python program is running on the pi
I've got a python script that uses sys.platform.startswith('linux') to test if it is on linux or not, but then I can't tell the difference between the x86/64 processor, and the raspberry pi's ARM ...
20
votes
3answers
63k views
How do I see which ARM CPU version I have?
When compiling a package for the Pi I came across a message like this:
CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8
and
CFLAGS += -mtune=arm1176jzf-s -...
20
votes
5answers
21k views
Writing ARM Assembly code
After getting my Raspberry Pi, I decided that I wanted to learn how to write ARM assembly code. My question is, what do I need to get started? I assume that there is already a compiler installed but I ...
20
votes
2answers
2k views
Is mame ARM compatible?
I'm still waiting on my Raspberry Pi, but when I get it, will it be possible to run Mame on it?
I'm not concerned about how it will perform, but I've got my mind set on a project and want to know if ...
19
votes
4answers
18k views
How is Raspberry Pi “open source” if it uses ARM?
All I've ever heard about Raspberry Pi is that its an "open source" SoC. But I see that the CPU inside the BroadCom SoC is an ARM chip.
My understanding of open source hardware is that every single ...
15
votes
4answers
13k views
Visual Studio Code & .Net Core ARM support
I am new to the Raspberry Pi platform and I have been collecting resources and trying to determine what the little computer is (not) suited for.
I understand that Python is the go-to programming ...
14
votes
4answers
32k views
Enabling ARMv8 on Raspberry Pi 3 B
According to this article I should be able to switch to ARMv8 on my Raspberry Pi Model 3B, but I'm getting "rainbow screen" after adding to config.txt the line:
arm_control=0x200
Why is it not ...
14
votes
2answers
19k views
building kernel image (.img) including ramdisk
I have built my Linux kernel (3.0.1) for my Raspberry Pi with these following steps:
1. Downloading kernel source
2. tar xvf source.tar.bz2
3. downloading arm cross compilation tool.
4. tar xvf arm-...
13
votes
1answer
685 views
Is the Raspberry Pi a good teaching tool for students learning assembler?
When I took an assembler course, we used a NIOS II Altera board which had a display, some LED lights and programmable buttons. One of the more useful exercises was to write a binary calculator using ...
12
votes
2answers
15k views
What is /dev/vchiq in Raspberry Pi?
I am using Raspberry Pi 3 and raspbian jessie and i came across /dev/vchiq by trying to call program (omxplayer) with perg-cgi which would play some music on my RiPi. And i coudn't get it to work.
...
9
votes
4answers
24k views
Installing Raspberry Pi Cross-Compiler
I am attempting to get cross-compiling for Raspberry Pi working on my Ubuntu machine.
During my initial attempts I was using the arm-linux-gnueabi compiler, which is available in the Ubuntu repo. I ...
9
votes
3answers
2k views
Cambridge University Raspberry Pi Operating system development Guide Questions
I'm a high level app developer (C#, python) and I'd like to get my hands dirty with low level embedded application development. Cambridge University has posted a series of tutorials teaching you how ...
8
votes
2answers
1k views
Which images can be used universally across all Raspberry Pi versions?
My search failed this time so I'm asking here.
Are there images that universally can be used across all Raspberry Pi versions?
Original, 2, B+ 3, etc. For Armv6 and Armv7 architecture
If they do ...
7
votes
4answers
10k views
What instruction set is used on the Pi's ARM/Broadcom chip?
I am trying to figure out what instruction set (x86_64, IA-32, etc.) is used by the RPi's Broadcom chip (really an ARM 1176JZF-S), because I'd like to understand how linux can run on it.
My ...
7
votes
1answer
347 views
Crosscompiling: exact archictecture for all models
I would like to crosscompile some piece of C++ software in a way that I can run on every Raspberry Pi. I am confused about the parameter -march.
I've found a great deal of resources recommending to ...
7
votes
1answer
8k views
Running Selenium & Firefox & geckodriver on Raspberry Pi 2 Model B
I'm trying to run Selenium on my Raspberry Pi 2 Model B but I'm having trouble finding a compatible combination of versions of Selenium, Firefox, and geckodriver.
(I've already run sudo apt-get ...
7
votes
2answers
8k views
Big Endian distribution for the Raspberry Pi
I have an application that I'm writing on a little endian x86 system, but I would like to test it on a big endian processor to ensure compatibility. I understand that the ARM processor can go big ...
6
votes
1answer
5k views
Cross-compile x86-64 code on Raspberry Pi 2
I'm doing experiments regarding compilation of the Linux kernel on various platforms, but mainly on the RPi and on x86-64 machines. There's no shortage to the links on Google describing how to compile ...
6
votes
1answer
1k views
Dial up HSF usb Conexant modem linux driver for ARM architecture
Hello I've being trying to install my usb HSF Conexant dial up modem to my Raspberry PI 2 B which is running Raspbian OS. I checked a company named Linuxant that makes these kind of drivers but ...
5
votes
2answers
4k views
Miniconda for ARMv6 (Zero W)
I want to install miniconda on my Zero W, but it has ARMv6 architecture and that does not seem to be supported by Continuum Analytics. See https://repo.continuum.io/miniconda/ (just one outdated ARMv6 ...
5
votes
2answers
5k views
ARMv6 Instruction set for getting timestamp counter (TSC)?
I'm trying to get timestamp counter (TSC) of CPU. I've succeeded on my PC with Intel i7 CPU. Assembly code in this links helped me.
Now, I want to do it on my Raspberry Pi model B. The problem is ...
5
votes
2answers
1k views
rpi 2: Unable to change irq affinity
I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the cpu....
5
votes
1answer
1k views
Can I just copy the libraries built in ARM to Windows (x86) in order to cross compile a source code to ARM?
Regarding cross compiling an external library to ARM. Can I just copy the built libraries in ARM (e.g. raspberry pi) to Windows and link them in CMake in order to compile a source code to be deployed ...
5
votes
0answers
647 views
Debugging a RPi using SWD
Has anybody been able to figure out how to debug a Raspberry Pi 3 model B using SWD? To be clear, I'm looking to debug the Pi itself using SWD. We've tried setting up the GPIO pins to use JTAG-SWD, ...
4
votes
2answers
5k views
Virtualization on Pi 3 Raspbian
The new Pi 3 was announced this morning. It's the first Pi to ship with a 64-bit processor, the ARM Cortex A53. The product page for that chip suggests that it's capable of hardware virtualization. ...
4
votes
1answer
400 views
apt-get not working on raspberry pi zero w [Internal error: Oops: 17 [#1] ARM]
I bought a new raspberry pi zero w. I flashed the raspbian lite image on a sd-card, the pi booted normally. But when I try to update it with
sudo apt-get update
sudo apt-get upgrade
I get the ...
4
votes
1answer
2k views
Cross compile error from Ubuntu 14.04 to raspberry zero (using arm-linux-gnueabihf-g++)
I'm trying to cross-compile from my Ubuntu 14.04 (host) to the pi zero. Here is what I've done on host to cross compile a very basic example :
> apt-get install g++-arm-linux-gnueabihf from here ...
4
votes
1answer
531 views
TeamSpeak in VOX mode on the Raspberry Pi
I would really like to run a TeamSpeak client in VOX mode on my Pi. My goal is to hook the Pi to a USB sound card and wire that to my two way portable radio that is VOX.
Has anyone done this?
4
votes
0answers
1k views
Cannot find -lgcc -lc
I'm trying to compile the FreeRTOS port to Raspberry Pi, but when I compile, I get the error:
arm-none-eabi-ld: cannot find -lgcc
arm-none-eabi-ld: cannot find -lc
make: *** [kernel.elf] Error 1
I'm ...
4
votes
0answers
935 views
How to profile code on raspberry pi? [closed]
Are there any open source or examples for using raspberry pi's ARM cpu's PMU, performance counter?
It can be a bare metal example or user-space application.
I have seen this and that (which I don't ...
3
votes
1answer
807 views
Run armv6 software on raspberry pi 2
Is it possible to install and run software that was designed for the raspberry pi 1 on my raspberry pi 2? I plan to install this software along with arch Linux soon and I would just like to know if it ...
3
votes
2answers
7k views
How can we run amd64 architecture on a raspberry pi 4?
We are trying to install jevois-inventor onto the ubuntu18.04 but we flashed the ubuntu18.04 onto a raspberry pi 4 which is an arm64 architecture(we think). We tried to install amd64 packages ...
3
votes
3answers
3k views
How to install Nodejs v12 on Raspi Zero (ARMv6 not available for download anymore)?
I used to install nodejs12 on Raspbian by simply adding the repo and using apt:
sudo su
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt install -y nodejs
But with a fresh install of ...
3
votes
1answer
1k views
Docker 'core-dump' error when starting service
I'm using a Raspberry Pi 1 Model B.
I've just installed using the easy script:
curl -sSL https://get.docker.com | sh
install results:
# Executing docker install script, commit: 4957679
+ sudo -E ...
3
votes
1answer
7k views
Can MINIX 3 work on the Raspberry Pi 2?
The MINIX 3 OS has been ported to ARM based CPUs with development focusing on the Beagleboard. The original Raspberry Pi could not run MINIX however the newly released Raspberry Pi 2 uses an ARMv7 ...
3
votes
1answer
302 views
Why does the new Raspberry Pi OS come with a version of GCC that targets ARMv6 by default?
The August 2020 version of Raspberry Pi OS ships with arm-linux-gnueabihf-gcc-8. Checking arm-linux-gnueabihf-gcc-8 -v I see that it has this option set: --with-arch=armv6. However, the new Raspberry ...
3
votes
2answers
4k views
Error while loading shared libraries: foo.so: cannot open shared object file: No such file or directory
I have cross compiled c++ code for raspberry pi.
Below is process I followed:
1) Cloned the official toolchain from raspberry pi github. Set the environment variable of arm-linux-gnueabihf-c++ (in ....
3
votes
1answer
2k views
QEMU for Raspbian Wheezy on Ubuntu - host is 'none', no job control, invisible text?
I'm having some issues getting Wheezy to work in QEMU. I've tried a lot of different combinations of arguments, all with the same results; this is the most recent I've tried.
> qemu-system-arm -...
3
votes
1answer
200 views
Why does adding a nop or constant break my code?
I am learning the ARM architecture via bare metal programming on the Raspberry Pi 3. I have a booting "kernel" that prints out some info. I have reached a point that I don't understand what is ...
3
votes
2answers
6k views
Docker run “someImage” returns: standard_init_linux.go190: exec user process caused “no such file or directory”
As the title said, I cannot reproduce this kind of error in any Dockerfiles of mine, after trying to run the Docker Container with
docker run registryName:tag
I'm trying to cross compile from amd64 ...
3
votes
1answer
257 views
PI 2 + .net - missing coreclr.dll
My first time trying to get a PI working... Neat idea, pulling out my hair though.
No matter what project I build [simple or not], when deploying I get the missing coreclr.dll. What SDK am I missing? ...
3
votes
0answers
764 views
Raspbian-compatible JavaScript IDE
Does anyone know of any JavaScript IDEs (or IDEs that support JS) that can be compiled or installed on Raspberry Pi?
I've found a few good IDEs that are compilable/installable on the pi, but most of ...
2
votes
3answers
6k views
Does the Pi 3 support Vulkan?
I have tried running Fuchsia OS on my Raspberry Pi 3 but it is not able to run because there is no support for Vulkan APIs on it.
Please explain why Vulkan Support is not there on the Raspberry Pi 3 ...
2
votes
1answer
3k views
Does Raspberry Pi 4 processor support AES-NI instructions?
In the interest of minimizing timing attacks on my OpenVPN and similar connections, does Raspberry Pi 4 support AES-NI instructions?
Some reference to AES is made in the technical reference manual, ...
2
votes
2answers
84 views
How to develop for raspberry pi without actually owning one
I need to run a low level code (thread protected circular buffer written in rust without using environment provided tools like mutexes nor semaphores...) on ARM based processors. The teacher was ...
2
votes
1answer
210 views
RealBoy emulator a real dud
There is an open source game boy emulator called realboy that I was hoping to use on pi, and modify slightly. I can get it to build on Ubuntu just fine. When I build it in raspbian, it does build (...
2
votes
2answers
4k views
Realtek 8192eu driver on Raspberry Pi (Xbian)
I had the misfortune to buy two of these devices off ebay on the basis they were "compatible with linux, raspberry pi, and access point mode".
I'm running Xbian on my Raspberry Pi using a wired ...
2
votes
2answers
1k views
How to stream video and audio from a Raspberry Pi?
A Skype video call would be a perfect solution, but I know Skype isn't designed for ARM processors. I just need something that can stream video and audio between the Pi and another computer running ...
2
votes
1answer
708 views
Run program on Baking Pi ARM ASM OS
I am following the Baking Pi Raspberry Pi ASM OS tutorial here, and I thought that it would be cool if I could create a compiler/runner for like, BASIC or a language I create. I don't have the skill ...