Skip to main content
Share Your Experience: Take the 2024 Developer Survey
20 votes
Accepted

What is /dev/vchiq in Raspberry Pi?

I'm amazed that the almighty Google doesn't have a ready answer to the question "what is VCHIQ?" I'm a longtime kernel geek and not a Broadcom employee, nor am I BCM283* expert, but here's ...
BJ Black's user avatar
  • 576
17 votes

Detect that a python program is running on the pi

I found you can get the Pi model and version from: /sys/firmware/devicetree/base/model Ex: Raspberry Pi 3 Model B Rev 1.2 I have a shell script to look for this and return the contents if it exists....
Wesley Mason's user avatar
15 votes

Visual Studio Code & .Net Core ARM support

The community is in the progress of making dotnet core working on ARM. Samsung recently joined the dotnet foundation to (mostly) do work for ARM. .NET is a great technology that dramatically ...
SynerCoder's user avatar
14 votes

Detect that a python program is running on the pi

Here is a simplified version of @Artur Barseghyan's answer import io import os def is_raspberrypi(): if os.name != 'posix': return False chips = ('BCM2708','BCM2709','BCM2711','...
Chris's user avatar
  • 253
12 votes
Accepted

Which images can be used universally across all Raspberry Pi versions?

All images available at https://www.raspberrypi.org/downloads/raspbian/ are compatible with all Pi models. Of course, this may change in the future
Dirk's user avatar
  • 3,541
10 votes
Accepted

Enabling ARMv8 on Raspberry Pi 3 B

I think others here have done a good job answering: Is it even worth switching from ARMv7 to ARMv8 Various software cited to require ARMv8 includes CockroachDB, MongoDB (if accessing >2 GB), the ...
jdonald's user avatar
  • 2,914
10 votes

Does Raspberry Pi 4 processor support AES-NI instructions?

The Raspberry Pi 4 does not have cryptographic extensions, to be more precise it has, but to be enabled would require HW changes alongside paying a license to Broadcom/ARM. Here's the link for a ...
Carlos Lint's user avatar
8 votes

Enabling ARMv8 on Raspberry Pi 3 B

Is it even worth switching from ARMv7 to ARMv8? Not unless you are running a kernel and OS userland compiled for ARMv8; there are at least a few such things for the Pi 3 around, including Fedora. ...
goldilocks's user avatar
  • 59.1k
8 votes
Accepted

How to install Nodejs v12 on Raspi Zero (ARMv6 not available for download anymore)?

As of about April last year, it seems, NodeJS support for Armv6 moved to experimental see this thread for the RFC / discussion / reasoning etc. Armv6 is still supported and maintained on an ...
Hargrovm's user avatar
  • 211
7 votes
Accepted

Crosscompiling: exact archictecture for all models

I believe I figured it out after quite some fiddling. What is the most specific parameter I can use to be compatible with all models? Raspbian FAQ's contain the final answer: -march=armv6 -mfpu=vfp ...
Pietro Saccardi's user avatar
6 votes

Detect that a python program is running on the pi

platform.machine() will return: armv7l on Raspberry Pi running on Raspbian 32-bit. aarch64 on all Arm 64-bit OSes, including those running in Amazon AWS Graviton2. So this is a more reliable way of ...
Hendy Irawan's user avatar
6 votes
Accepted

Installing Raspberry Pi Cross-Compiler

The primary target of the Ubuntu arm-linux-gnueabi cross compiler is to compile for a different architecture of the same Ubuntu release leveraging the Debian/Ubuntu multiarch capabilities. Example: ...
Matthias Lüscher's user avatar
6 votes
Accepted

Miniconda for ARMv6 (Zero W)

Berryconda is the way to go! See https://github.com/jjhelmus/berryconda
VaNa's user avatar
  • 211
6 votes
Accepted

Up-to-date Syncthing on Raspberry Pi

Ok, so I tried the instructions for debian/ubuntu apt install at https://apt.syncthing.net and that worked. There is support for armhf architecture. Just follow the instruction to install the gpg key ...
gray's user avatar
  • 181
5 votes
Accepted

Mono on Raspberry Pi

Mono works absolutely fine on a Pi - we already have a tag and a few dozen questions on the topic. Getting started should be as straightforward as punching in: sudo apt-get update sudo apt-get ...
goobering's user avatar
  • 10.7k
5 votes

Installing Raspberry Pi Cross-Compiler

I cannot reproduce the problem anymore As of https://github.com/raspberrypi/tools/tree/5caa7046982f0539cf5380f94da04b31129ed521 it just works no matter which directory I'm on, just adding to PATH is ...
Ciro Santilli OurBigBook.com's user avatar
5 votes

How can we run amd64 architecture on a raspberry pi 4?

There would be no way to install amd64 packages directly on the PI4. You might need to find a arm version of the packet or recompile it with the correct flags. I don't think I understood, but if you ...
ahwelp's user avatar
  • 51
4 votes
Accepted

Docker 'core-dump' error when starting service

Please note a previous version of this answer recommended installing version 18.06.1 of docker-ce however this version does not include the patch for the runc CVE that allowed for container escape as ...
nnn's user avatar
  • 156
4 votes

What if I flash the ARM processor with some random firmware

No, that won't be possible. As such, ARM CPUs inside the Raspberry pi SoC are slaves to the videocore. They cannot even go out of reset until the videocore executes the right firmware which allows ...
Dmitry Grigoryev's user avatar
3 votes

RealBoy emulator a real dud

According to the repo, RealBoy contains some assembly code. Assembly code is: Architecture-specific (x86 and x64 in RealBoy's case) Not compiled, simpy "linked" with the compiled output of the rest ...
tlhIngan's user avatar
  • 3,372
3 votes

How do I see which ARM CPU version I have?

as STEJ's answer suggested, run uname -m. If you have arm64 then it's 64bit and if you have armv7l, then it's 32bit For more information: https://www.raspberrypi.org/forums/viewtopic.php?t=251721
Aharon Ohayon's user avatar
3 votes

Writing ARM Assembly code

Although I am quite comfortable with command line interface, I could not resist the convenience of GUI. A while ago, I discovered that I could use CodeBlocks IDE to develop ARM assembly language ...
schen's user avatar
  • 31
3 votes
Accepted

How to run pry on Debian Linux for ARM

gem install pry If you want to include the bin directory used by gem, you will need to add it to your $PATH. bin directories generally contain executables and if you echo $PATH you'll see a number ...
goldilocks's user avatar
  • 59.1k
3 votes

Does the Pi 3 support Vulkan?

The Raspberry Pi will support vulkan soon, see VK driver for the Raspberry Pi (Broadcom Videocore IV)
gercapo's user avatar
  • 29
3 votes
Accepted

Bytecoin mining on Raspberry Pi

CryptoNight mining is possible using a CPU-based mining program (such as cpuminer-multi) on a Pi, and RasPiNews was able to set it up on a Pi 3. cpuminer-multi does indeed support pools, as required, ...
Aurora0001's user avatar
  • 6,328
3 votes

Enabling ARMv8 on Raspberry Pi 3 B

As of today, it seems Fedora and Archlinux are well supported. If you go the Arch way, this will help you build the image (for me on linux / rpi3 it was make linux) and this will help you start wifi....
Pierre-Alexis Ciavaldini's user avatar
3 votes
Accepted

List of games complied or ported to Raspberry PI

There are some answers given in the comments. I will make them available here as a real answer. @CoderMike suggested to look at the STICKY: GAMES LIST: Games That Work On The Pi. There you will find ...
Ingo's user avatar
  • 42.2k
3 votes
Accepted

Does Raspberry Pi 4 supports pointer authentication?

According to the Raspberry Pi documentation, the RPi 4B uses a Cortex A72, which was released in 2016. According to this list, it is based on ARMv8.0-A, so it should not include your feature. In fact, ...
looper's user avatar
  • 146
3 votes

Does Raspberry Pi 4 supports pointer authentication?

This paper mentions there is no open and public board that supports PAC instructions. iPhone A12 is the only option that is proprietary. Therefore, the paper has simulated some instructions and ...
nohg's user avatar
  • 31
3 votes

How to install Nodejs v12 on Raspi Zero (ARMv6 not available for download anymore)?

I've updated the "one line install" CLI scripts in the github.com/sdesalas/node-pi-zero repository. These are now pointing to the binaries in the Unofficial Builds Project. For example: v12....
Steven de Salas's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible