Questions tagged [arm]
Questions related to the CPU and instruction set of the Raspberry Pi. See also: cross-compiling
140
questions
1
vote
1
answer
84
views
Correct cross-compilation options to run binary on Raspberry 3 model B
I have Raspberry Pi 3 Model B with me. I am developing on Ubuntu Linux laptop computer. I want to cross-compile so that the binary may run on Raspberry. My Raspberry info:
pi@raspberrypi:~ $ cat /proc/...
1
vote
1
answer
277
views
Virtualization of Raspberry Pi OS 64-bit arm64 on M1 (arm64) Macbooks
I was wondering whether it was possible to virtualize Raspberry Pi OS Lite Bullseye 64-bit arm64 on an M1 Macbook pro. I've downloaded the '.img' file from the official source and tried to load it ...
0
votes
1
answer
71
views
Has Raspbian for the armel architecture been discontinued?
I am developing an embedded application, and because of supply issues I'm looking at using the Raspberry Pi 0W v1.1, which is armv6, which is armel.
The images available for download, even ones ...
0
votes
0
answers
32
views
Are BCM2711's CPUs always running in 'secure' world?
If SoC's don't use TrustZone, according to this answer it means that the CPU starts in the 'secure' world but does not change to the 'normal' one. Is this the case with the Raspberry Pi 4's BCM2711? ...
0
votes
0
answers
135
views
How to use libwiringPi.so for cross compiling using CMake?
I'm trying to use CMake to cross compile a C++ code using the Wiring Pi library but I'm having trouble with making CMake to find said the correct library. Since I'm compiling from x86 to ARM in order ...
1
vote
1
answer
591
views
Retropie with Raspberry Pi 4 can't install dolphin
I have installed Retropie using the Pi Imager and when I try to install Dolphin in the experimental packages it gives me the error that it only works on a 64 bit OS, but according to this website, ...
2
votes
1
answer
210
views
Which raspberry pi nowadays is compatible with 32bit ARMv7 assembly code?
I'm taking an assembly code class in college, and we're going to study ARM assembly. However, we'll only cover 32bit ARMv7 assembly code.
The class uses some weird ARM emulator, but I would much ...
0
votes
0
answers
139
views
OpenCV is getting slow in Raspberry pi 4, 8gb
Here is have made a project attendance system, for which I have trained a model and used the .h5 file to make the real time Prediction using opencv.
so if the person face is detected then his name and ...
1
vote
1
answer
936
views
Loading firmware into RP2040 SRAM via SWD
I have to upload a new firmware in the Raspbery PI PICO external flash via SWD from a different microcontroller (an ESP32) connected via UART and SWD lines (I asked here a previous question).
I ...
1
vote
0
answers
179
views
Properly chrooting and unmounting on external USB drive
I found multiple guides how to correctly chroot into an arm64 system. In my example I am working with the 21.10 Ubuntu arm image for raspbian pi. I am wondering what is the "best" and most ...
0
votes
1
answer
5k
views
Installing docker on a Pi zero W (or a pi zero2)
I am Trying to install docker on a 32bit Arm.
Has anyone succedded and has a modus operandi?
2
votes
0
answers
1k
views
Programming external QSPI flash Raspberry Pi Pico
I want to reprogram the external flash of a raspberry Pico via SWD line. This feature must be implemented in a different microcontroller, not from a Linux computer so the OpenOCD library cannot be ...
-2
votes
1
answer
316
views
Libreoffice version not up to date
The current Libreoffice version seems to be 7.2.2, but on my Raspberry Pi it's 6.1.5.2. I understand that maybe the ARM version of Libreoffice is a bit behind, but this can't be right.
I used sudo apt ...
3
votes
0
answers
592
views
Creating an OS for the raspberry pi in rust, booting from it
I was following this tutorial on how to make your own basic OS for an x86_64 system in rust, but wanted to do it for an ARM64 target, specifically, the raspberry pi 4. I am at the point where I have ...
1
vote
1
answer
1k
views
Getting OSError: /lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block on Raspberry Pi 4
I am trying to access the models/tf.py from the Yolov5 repository with the following command on my Raspberry Pi 4 and getting the following error:
Command ran:
python3 models/tf.py --weights yolov5s....
2
votes
3
answers
355
views
How to build Ruby 2.7.x/3.0.x on Raspberry Pi4?
I'm trying to install Ruby version 2.7.x or 3.0.x using rvm on a Pi 4. The make process fails compiling the file coroutine/arm64/Context.S
assembling coroutine/arm64/Context.S
coroutine/arm64/Context....
0
votes
1
answer
376
views
Information about floating point unit of Raspberry Pi 4 Model B Rev 1.1
I have this RPI board.
Hardware : BCM2835 Revision : c03111 Serial : 100000009f7a953c
Model : Raspberry Pi 4 Model B Rev 1.1
I want information about Floating point unit(FPU) it has like ...
0
votes
2
answers
111
views
What causes Linuxes on Raspberry Pi to not be able to be installed with an installer?
If you download an ISO for a Linux distro for x86 and burn it onto a disc or USB stick, and put that device into the target computer and start it up, it shows an interactive installer.
If you want ...
0
votes
1
answer
622
views
Linaro cross toolchain 32 bit or 64 bit?
I am developing a kernel on my PC (running Linux Mint 64 bit) and want to transfer that code later onto a Raspberry Pi 3B+ running Raspbian 32 bit.
Now I am confused. Do I need my IDE to pick my gcc-...
0
votes
1
answer
284
views
Why do I have to add arm architecture to use AdoptOpenJDK arm32 installation [closed]
I am packaging some JVM application with AdoptOpenJDK / 11 / HotSpot. I am using the arm32 build, which AFAICS is the only build suitable for Raspbian (running Buster). However, when I build my .deb ...
4
votes
2
answers
2k
views
Up-to-date Syncthing on Raspberry Pi
How can I get the current latest version of Synchthing on Raspberry Pi without building from source?
I'm running Raspberry OS on a Raspberry Pi 4 and everything is recently updated. Running:
$ apt ...
0
votes
1
answer
85
views
Running arm64 windows binaries on arm64 Raspberry Pi [closed]
I am interested in running the arm64 binary of Teams for Windows on the Raspberry pi 4 8gb arm64, at the moment I am using Ubuntu 21.04. There is a version of teams for linux running on the Raspberry ...
0
votes
1
answer
185
views
ArmV7 Assembly returning 1 for basic add function call
I'm trying to get into Assembly development for the purposes of better understanding lower level development and I'm doing this with my Raspberry Pi Model 4B. I am going through this tutorial at the ...
2
votes
2
answers
319
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 ...
3
votes
1
answer
1k
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 ...
0
votes
0
answers
176
views
Selected Processor on Raspberry Pi
I am trying to run my group project and I keep getting this repeated error. My friend was able to run the same code successfully and I dont understand why mine is not working. I am typing as -o ...
9
votes
3
answers
13k
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 ...
0
votes
1
answer
368
views
Why does Rasbian report the Cortex-A72 CPU of the Raspberry 4 as ARMv7?
I run lscpu on a Raspberry Pi 4:
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s):...
0
votes
0
answers
351
views
Running a java program on Raspberry Pi
I want to use my pi as a navigation and weather station on my boat. One of the programs I need is JWX.jar. When I try to execute it, I type "java -jar JWX.jar", wich works flawlesly in Linux Mint and ...
5
votes
2
answers
22k
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
2
answers
394
views
Does Raspberry Pi 4 supports pointer authentication?
I know that ARM Pointer Authentication feature is supported on all ARMv8.3-A processors, and this version was presented at 10/2016. RPi 4 Model B was released last year so there is a good chance the ...
6
votes
1
answer
9k
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, ...
0
votes
1
answer
433
views
What if I flash the ARM processor with some random firmware
As Pi users, we know that our boards are driven by an ARM processor. We can find these processors in tons of devices such as routers, modems, cellphones etc. An ARM developer will use C language and ...
0
votes
0
answers
579
views
How to install Tensorflowjs backend for nodejs?
How can I configure TensorflowJS Backend(nodejs) to work on Raspberry Pi Zero W? After installing and running nodejs application, I get error saying something like 'this instruction set is not support'...
2
votes
1
answer
61
views
Compile Qt application on Raspberry Pi and Run that application on other ARM device. Will it work?
I am compiling One Qt application on Raspberry Pi and Run it on different ARM device like Microchip or TI board without compile again. will it work??? if both the side Qt version is same.
5
votes
1
answer
618
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 ...
0
votes
1
answer
934
views
Unable to install Mongo-DB on Raspberry Pi with Ubuntu Core 18.04
I am trying to install mongoDB on my Raspberry Pi 3b+, which has an ARM 4-Core 64 bit processor.
I was trying to install MongoDB on my Pi just as mentioned in their documentation but unfortunately I ...
2
votes
1
answer
4k
views
List of games complied or ported to Raspberry PI
Is there a list, of games which runs natively on RPI? I mean without any emulator or Wine.
3
votes
0
answers
1k
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 ...
1
vote
1
answer
548
views
Read/Write GPIO
I wrote an assembly code for my Raspberry Pi to read an I/O with a button and switch an LED according to the state of the button. It seems that the I/O with the LED is toggling all the time and I don´...
4
votes
1
answer
3k
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 ...
1
vote
1
answer
460
views
Win10 iot and xampp
I want to know if im able to install xampp on a raspberry pi3 b+ with win 10 ion on it.
I can't find any answer for this.
1
vote
0
answers
155
views
Setting up paging in raspberry pi 3 model B in 32 bit mode
I am trying to setup paging in rpi 3b in 32 bit mode.
First of all I am aiming for identity mapping all kernel code, so I started with short descriptor format using 1 MB sections.
Identity mapping ...
0
votes
0
answers
453
views
Trying to compile arm binary using Dockerfile, failing
so I have a Dockerfile that I need to compile parity an ethereum client for ARM architecture.
Attached is the Dockerfile:
FROM ubuntu:16.04
WORKDIR /build
# install tools and dependencies
RUN apt-...
1
vote
1
answer
659
views
I am on the search for a X2Go solution for RASPI
I am on the search for a X2Go solution for RASPI
I have had a quick lookup here at:
http://wiki.x2go.org/doku.php/wiki:repositories:debian
and
https://wiki.x2go.org/doku.php/wiki:development:build-...
8
votes
1
answer
911
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 ...
1
vote
0
answers
154
views
Running cockroachdb on a Raspberry pi 2 model b (32-bit) as a docker container
I'm trying to run cockcroachdb on a Raspberry Pi within a docker container, but they only provide 64-bit versions of cockroach as they explained it here .
But I do see references of running cockroach ...
2
votes
0
answers
268
views
How to get 2 threads working properly on a Raspberry Pi?
I've an electric car that I need it to travel specific distance. In order to do that I've an 2 phase rotary encoder attached to one of the rear wheels.
I am currently driving all things using a ...
0
votes
1
answer
516
views
recompiling raspbian for armv7, aarch64?
Do there exist straightforward ways of (re)compiling raspbian (any release) for armv6-related ISAs, like armv7/neon? Maybe binary blobs could be reused, even under aarch64? Can you give some pointers?
8
votes
2
answers
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 ...