Questions tagged [arm]

Questions related to the CPU and instruction set of the Raspberry Pi. See also: cross-compiling

Filter by
Sorted by
Tagged with
0
votes
1answer
19 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 ...
0
votes
1answer
1k views

Electron app just shows blank white screen on a Raspberry Pi

I am trying to load a program on an ARM machine which I was running on a Linux on an x86 machine. The program loads but just with a white screen. The program was developed using electron and when I ...
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 -...
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 ...
0
votes
1answer
485 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-...
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 ...
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 ...
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 ...
0
votes
1answer
597 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 ...
0
votes
1answer
2k views

Is it possible to fix the “cannot find -lgcc” and “cannot find -lgcc_s” error messages when using arm-linux-gnueabihf-g++ as a linker?

I get the following error messages: ./Downloads/tmp/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux‌​-gnueabihf/bin/ld: cannot find -lgcc_s and Downloads/tmp/usr/bin/../lib/gcc/arm-...
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 ...
3
votes
1answer
295 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 ...
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. ...
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 ...
0
votes
0answers
92 views

Boot Windows ARM on Raspbery PI4 from SSD via USB3 adapter

I want to test my dev on ARM devices. With an SDCard it's too slow, Windows is unusable. I do : I build an Windows 10 ARM ISO enable USB with "winpatch" put on SSD (via USB3-SATA adapter) ...
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....
2
votes
2answers
143 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 ...
0
votes
0answers
47 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 ...
1
vote
1answer
2k views

Installing Postgis on Raspberry Pi to PostgreSql 9.6

I'm trying to install Postgis 2.3 on Pi running Jessie. I have tried using apt-get but this installs the Postgis for Postgres 9.4. And hence I cannot use it on the 9.6. So I've tried to compile from ...
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, ...
0
votes
1answer
75 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
0answers
83 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 ...
0
votes
1answer
53 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 ...
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 ...
3
votes
0answers
756 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 ...
0
votes
0answers
401 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'...
1
vote
0answers
40 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.
4
votes
1answer
397 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 ...
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 ...
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 ...
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 ...
1
vote
1answer
1k 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
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 ...
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 ...
0
votes
1answer
289 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?
1
vote
1answer
183 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´...
1
vote
1answer
284 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
0answers
99 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
0answers
373 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-...
7
votes
1answer
342 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
0answers
123 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
0answers
114 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 ...
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 ...
0
votes
0answers
231 views

How to troubleshoot a permanently blinking green light on a Pi3b?

The green light on a Pi3b is blinking permanently, even after bootup. It outputs two flashes at a time for as long as the power is on. Is this normal? If not, how do I troubleshoot this? Background ...
3
votes
2answers
5k 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
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 ...
0
votes
1answer
815 views

Viewing battery status Archlinux arm

I have a portable USB charger/external battery pack. The exact model is this one. My raspberry pi is running ArchLinux Arm. I am trying to view the battery status and other relevant information. ...
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 ...
0
votes
1answer
290 views

chromium-bsu on the raspberry pi

Is it possible to run chromium-bsu (NOT the browser. The game.) on the raspberry pi? My friend tells me it needs an ARM build, and if it does but there is no ARM build, can I replace the pi's CPU with ...