Hot answers tagged

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
16 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,904
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
  • 58.7k
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

Run armv6 software on raspberry pi 2

Yes, in fact all of the software from Raspbian except the kernel falls into this category (i.e., the entire userland). It's compiled for ARMv6 so it works on all models, because ARMv7 is backward ...
goldilocks's user avatar
  • 58.7k
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
  • 163
5 votes

Cross-compile x86-64 code on Raspberry Pi 2

It is possible to compile x86_64 code on the Raspberry Pi, and i have just built a cross-compile toolchain on my Pi 2 (with more than 27 hrs of compilation and some hours of bug fixing). You can ...
Kong Chun Ho's user avatar
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

Visual Studio Code & .Net Core ARM support

The .NET class of languages are all currently supported on the Raspberry Pi 2 if you use Windows 10 IOT as your operating system. The IOT version of the OS is a little different from standard ...
Jacobm001's user avatar
  • 11.9k
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

Virtualization on Pi 3 Raspbian

@jason.kaisersmith Docker won't work on the RaspberryPi (regardless of version) without some significant rework. The Docker site indicates that docker requires a 64-bit OS (https://docs.docker.com/...
Ficertyn's user avatar
  • 171
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

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
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
  • 58.7k
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,298
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

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