4 ms·
RPi4 is interesting because it's the first Raspberry Pi with a serious amount of RAM (8GB), moderate speed CPUs (4 x Cortex A72), that can boot and run from ext
by rwmj 6y ago
RPi4 is interesting because it's the first Raspberry Pi with a serious amount of RAM (8GB), moderate speed CPUs (4 x Cortex A72), that can boot and run from external USB 3 SSDs, with UAS and UEFI+ACPI. Essentially you can now use them for aarch64 server SBSA/SBBR development.
It's about a third of the speed of my Intel i7 laptop from 18 months ago, which considering the incredibly low price I consider to be fantastic.
I recently got Fedora Server installed on one using Robert Grimm's instructions (linked from my blog along with other useful links here: https://rwmj.wordpress.com/2020/09/24/raspberry-pi-4-running-fedora-32/ https://rwmj.wordpress.com/2020/09/24/raspberry-pi-4-running...)
- kristopolous 6y agoAre you running a 64 bit kernel actually? Which distribution? I found I could either get a 64 bit kernel (lots of things) Or decent hardware support (raspbian) but not both.
- iMerNibor 6y agoThere is now beta (?) builds of a 64bit raspberry pi os (formerly known as raspbian) available: https://downloads.raspberrypi.org/raspios_arm64/images/ https://downloads.raspberrypi.org/raspios_arm64/images/ Not sure how well it works, but it is a thing now
- StillBored 6y agoI'm not sure I understand what the purpose of the raspberry pi OS is anymore. In the past it was a pretty custom kernel, with a user environment stripped down to work with a minimal RAM configuration. Everyone put up with nonstandard SSH daemons/window managers/missing packages/etc because due to the constrained environment and the fact that arm wasn't a first class citizen with the likes of ubuntu/redhat/etc. These days, every single major distro has rpi instructions, and 8G of ram is more than some laptops come with. So, its a disservice that they don't just tell people, here are a list of disto's which have been qualified to run on the hardware, pick one, and oh BTW, you can run those OS's on your laptop too.
- rwmj 6y agoOf course. The real problem is not the 64 bit kernel which you can easily get with Raspbian, but the 64 bit userspace for which you currently need a different distribution (but see sister comment). I'm using Fedora 33 Server. $ uname -a Linux rpi4.home.annexia.org 5.8.11-300.fc33.aarch64 #1 SMP Wed Sep 23 13:51:39 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux Everything I care about except Wifi is currently supported.
- didip 6y agoWith the latest Raspbian, you can always turn on the 64 bit kernel by modifying config.txt inside boot image and add: arm_64bit=1 My homelab is Kubernetes running on Raspberry Pi 4 with aarm64 architecture. So far, it works great.
- elheffe80 6y ago> My homelab is Kubernetes running on Raspberry Pi 4 Honest question- do you just run one RPi4 or do you have multiple? Either way- how much ram do you have and do you find you use it all/wish you had more?
- didip 6y agoI have a cluster of 3 RPi4 each with 4GB RAM because it is super difficult to get the 8GB spec. The more the better because it is difficult to run multiple dbs or queue systems right now.
- retrac 6y agoI run Arch Linux ARM with the 64 bit kernel and userspace on my Raspberry Pi 3 for tinkering. GPIO, Wifi, Ethernet, framebuffer HDMI, USB all work fine. Video acceleration was the last hardware not supported in 64 bit land, and recent kernels finally have some experimental support. I haven't tried it myself though. Raspbian itself has a beta 64 bit for kernel for a few months now. https://www.raspberrypi.org/blog/latest-raspberry-pi-os-update-may-2020/ https://www.raspberrypi.org/blog/latest-raspberry-pi-os-upda...
- mixmastamyk 6y agoI've found Ubuntu Mate even easier to use than raspbian, and now it finally supports the Pi4: https://ubuntu-mate.org/download/arm64/ https://ubuntu-mate.org/download/arm64/
- m463 6y agoI recently saw an article on setting up jitsi on a pi, and I thought it required 64-bit. https://gist.github.com/krithin/e50a6001c8435e46cb85f5c6c78e2d66 https://gist.github.com/krithin/e50a6001c8435e46cb85f5c6c78e... I guess there's a 64-bit ubuntu 20.04 server
- yjftsjthsd-h 6y agoOh, that's excellent. The same group doing the RPi4 UEFI stuff also does a version for the Pi 3: https://github.com/pftf/RPi3 https://github.com/pftf/RPi3
- rwmj 6y agoAIUI there are problems with that fact that the RPi3 doesn't have a "proper" GIC. The RPI4 has GICv2, but RPi3 has some sort of custom interrupt controller.
- pjmlp 6y agoActually I am more impressed with the ESP32, given how much powerful it is than what we had at the high school computer club.
- ncmncm 6y agoESP32 is fun, but its low-power states and transitions are said to be messed up, so not as useful as e.g. STM32 for battery-powered projects. I have no first-hand knowledge, but would welcome reports from anyone who does.
- mwcampbell 6y agoIf you're interested in something low-power and not running a general-purpose OS like Linux, watch for the launch of the Precursor [1]. The main processor (RISC-V on an FPGA) seems to be more powerful than an ESP32, and they rejected the ESP32 for the WiFi component specifically because of the low-power state transition issues. The intended application is a stand-alone secure enclave complete with LCD, keyboard, and audio, but it will be interesting to see what hacks are developed for this hardware. [1]: https://www.crowdsupply.com/sutajio-kosagi/precursor https://www.crowdsupply.com/sutajio-kosagi/precursor
- ncmncm 6y agoBefore I read about Precursor, I did not realize that FPGAs could be at the center of a low-power design.
- mwcampbell 6y agoTo be clear, it looks like they've had to compromise on power consumption versus performance in their FPGA-based prototype: https://betrusted.io/betrusted-architecture/ https://betrusted.io/betrusted-architecture/ They plan to move to a custom ASIC later: https://betrusted.io/dev-plan/ https://betrusted.io/dev-plan/
- exged 6y agoYes, the ESP32 uses a ton of power relative to most MCUs (external flash comes at a cost!) and has relatively poor peripherals, documentation and tooling. But it's cheap and not bad if you need WiFi or Bluetooth. Most non-networked projects would probably be better served by one of the numerous Cortex-M microcontrollers out there.