Hi all,
I have a Raspberry Pi with Pi-Hole installed. It works fine. But how can I find out as to whether it's a 32 or 64 bits system? I need to know that to install another piece of software.
Thanks in advance.
Fokke
Hi all,
I have a Raspberry Pi with Pi-Hole installed. It works fine. But how can I find out as to whether it's a 32 or 64 bits system? I need to know that to install another piece of software.
Thanks in advance.
Fokke
uname -a
armv7l=32bit aarch64=64bit
uname -m
aarch64 is 64 bit armv7l is 32 bit
I tried -a first too,
Google told me -m
lscpu works too.
Thanks very much! It's a 32 bits system.
Fokke
That can also mean you have a 64-bit kernel with 32-bit userland (by having "arm_64bit=1" in /boot/config.txt), and you would definitely still need 32-bit versions of software.
In general: Raspberry Pi OS has NOT been released as a full 64-bit version yet, so if you don't know, it's easy: 32-bit for sure.
One way to know for sure without looking at config.txt:
$ file /bin/ls /bin/ls: ELF 32-bit LSB executable [...]
Am I right in thinking that the Pi (at least the newer models) has
64-bit hardware, but it's the R.Pi OS (formerly known as Raspbian) that limits it to 32-bit operation?-- XML is like violence: if it doesn't solve the problem, try using more of it.
OK, thanks.
Fokke
Indeed, that's what it said.
Fokke
Ubuntu Server
I'm running 64-bit on a rpi4, no problems, very little difference.
Yes. The 64-bit version is in beta and perfectly useable, but there are some limitations (I think stuff like hardware video accel., remote desktop maybe if they want to go to Wayland; I don't know details, haven't checked recently).
And like Pancho says, there are other 64-bit distributions like Ubuntu. I like Manjaro because it's a rolling distro and stuff like Python is fully up to date. But you won't get hardware video accel. in the browser like in RPi OS.
On 22/09/2021 12:57, Adam Funk wrote: []
Correct, at least for the RPi-4. I'm running 64-bit as an experiment without issues.
-- Cheers, David
I thought so, thanks (and to the others who answered).
-- Master Foo said: "A man who mistakes secrets for knowledge is like a man who, seeking light, hugs a candle so closely that he smothers
Yes. I've run 64-bit Gentoo Linux on the Raspberry Pi 3 and 4. I have
64-bit OpenWRT running on a Compute Module 4 that's about to replace my home router._/_ / v \ Scott Alfter (remove the obvious to send mail) (IIGS(
On Wed, 22 Sep 2021 12:57:39 +0100, Adam Funk declaimed the following:
The 3 and 4 have 64-bit cores. So far the foundation has been focused on 32-bit OS as it runs on all R-Pi models.
There is a beta 64-bit release
I do not expect any further Buster-based releases, as Debian has released Bullseye -- I expect the foundation is focusing on getting Bullseye (Debian 11) packaged for all R-Pi models before returning to
64-bit development.-- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
hmm - so I got a Pi4 with 8Gb RAM I downloaded the last raspian os (2021-05-07-raspios-buster-armhf-full) and at first boot i upgraded to the latest and greatest (this was yesterday 2021-09-21)
so - if I type pi@raspberrypi:~ $ file /usr/bin/ls /usr/bin/ls: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux
3.2.0, BuildID[sha1]=67a394390830ea3ab4e83b5811c66fea9784ee69, strippedor
pi@raspberrypi:~ $ uname -a Linux raspberrypi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux
they state 32 bit
BUT
pi@raspberrypi:~ $ free -m total used free shared buff/cache available Mem: 7898 142 7460 42 295 7486 Swap: 99 0 99
why does free see the 8 Gb ? and top does too.
output of lscpu, /proc/cpuinfo below as well - all thinks 32 bit
pi@raspberrypi:~ $ lscpu 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): 1 Vendor ID: ARM Model: 3 Model name: Cortex-A72 Stepping: r0p3 CPU max MHz: 1500,0000 CPU min MHz: 600,0000 BogoMIPS: 108.00 Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
pi@raspberrypi:~ $ cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 1 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 2 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 3 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
Hardware : BCM2711 Revision : d03114 Serial : 10000000032637f9 Model : Raspberry Pi 4 Model B Rev 1.4
Den 2021-09-22 kl. 18:27, skrev A. Dumas:
Aha, thanks
The Raspberry Pi OS (Raspbian) userland is 32 bit, however they provide both 32 bit and 64 bit kernels which can be used in the Pi 3, 3+ and 4 which support ARMv7 and ARMv8.
I'm running loading the 64 bit kernel, so I can boot in to the standard
32 bit Raspbian userland, but use raspbian-nspawn-64 so I can run a 64 bit userland inside a systemd container. This gives me a 64 bit shell plus the ability to run 64 bit desktop applications from the start menu alongside 32 bit ones.---druck
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.