[Updated: Mar. 7] — The Raspberry Pi 3 may have 64-bit CPU, but for now its default Linux OS remains at 32 bits.
The arrival of the $35, wireless-enabled, Raspberry Pi 3, following a similarly 64-bit, $40 Odroid-C2 SBC a few weeks ago, represent a big speed boost for Linux hacker boards but not a sudden switch to 64-bit ARM computing. While the Odroid project offers an Ubuntu 64-bit image for the C2, the default Linux distribution released by the Raspberry Pi Foundation is still 32-bit.
An eventual change to 64-bit ARM firmware is inevitable given the fact that the technology offers significantly improved performance. Pressure will also come from more power-efficient, 64-bit x86 chips. Yet, because of the extensive reworking of code required for the changeover, the Raspberry Pi Foundation will commit only to “considering” a change to 64-bit for the Pi’s default Raspbian distribution in the coming months.
The Raspberry Pi 3 advances to Broadcom’s new quad-core, Cortex-A53 BCM2837 SoC. To ease backward compatibility, the SoC is architecturally quite similar to the BCM2836 of the year-old, quad-core Cortex-A7 Raspberry Pi 2. The Pi 3 delivers 50-60 percent higher performance in 32-bit mode versus the Raspberry Pi 2, claims the Pi Foundation. This is a result of the higher 1.2GHz clock rate, up from 900MHz, as well as other Cortex-A53 improvements.
Raspberry Pi 3 (left) compared to Raspberry 2 Model B
The BCM2837 is paired with the same Broadcom VideoCore IV GPU found on the Pi 2, although clocked at a higher rate of 400MHz. So, don’t expect any 4K video, let alone high-end VR or deep learning projects from the Pi’s third generation. The Mali-450 equipped Odroid-C2 does, however, support 4K video decoding.
In his Pi 3 blog announcement, Raspberry Pi Trading CEO Eben Upton wrote: “VideoCore IV 3D is the only publicly documented 3D graphics core for ARM-based SoCs, and we want to make Raspberry Pi more open over time, not less.” (Raspberry Pi Trading is commercial arm of the Raspberry Pi Foundation, and is the principal liaison with manufacturing and distribution partner Element14.)
Pi 3 detail view
(click image to enlarge)
Aside from the new SoC, the other big Pi 3 news concerns the addition of a Broadcom wireless chip enabling 2.4GHz, 802.11n WiFi and Bluetooth 4.1 BLE. This convenience helps make up for the Pi’s lower clock rate compared to the 2GHz quad-core, Cortex-53 Amlogic S905 SoC found on Odroid-C2. The C2, however, lacks wireless and costs $5 more.
There has been considerable debate as to whether it’s better to have onboard wireless or let hackers choose their own wireless options via USB or Ethernet adapters. Of course, cost is the main consideration, and the dropping price of wireless chips was likely the deciding factor. Cost was further reduced because the Broadcom BCM43438 chip and its single antenna were soldered directly onto the board, rather than using a module approach. Considering the backlash from the lack of availability of the $5 Raspberry Pi Zero, which is now being sold for $45, the Pi Foundation perhaps decided that skipping WiFi in order to drop the price to $30 was not worth the trouble.
Other than the new processor and wireless capability, the Pi 3 is identical to the Pi 2, with the same dimensions, 1GB of RAM, and 40-pin expansion connector. The only layout change is a slight shift in the placement of the LED. You will, however, need to purchase a more robust 2.5A power supply.
Hardkernel, whose family of low-cost, Pi-compatible Odroid boards has proven to be one of the Pi’s biggest rivals, has followed the Pi Foundation’s lead in emphasizing backward compatibility. Aside from the processor and RAM update, the Odroid-C2 had relatively modest changes compared to the Odroid-C1+.
The slow road to 64-bit
Aside from avoiding headaches for app developers, the main reason the Pi Foundation is taking its sweet time in moving Raspbian to 64-bit is that performance would likely suffer with only 1GB of RAM. An eventual 64-bit Raspbian release will likely be matched with an option for 2GB RAM.
Two 64-bit SBCs: Raspberry Pi 3 (left) and Odroid-C2
(click images to enlarge)
The Odroid-C2 already has 2GB of RAM, which is also available on the $29 “Plus” version of Pine64’s Pine A64, a quad-core, Cortex-A53 Allwinner A64 SBC with a 40-pin Pi-compatible connector. The PineA64 will soon start shipping to Kickstarter backers, and Pine64 is processing new orders for shipment starting in May.
The $15 version of the Pine A64 with 512MB RAM is sold out, but there’s also a $19 version with 1GB RAM that also moves up to Gigabit Ethernet. As with the Odroid-C2, wireless is an extra-cost option, and despite the Pine A64’s larger dimensions, even the top models are limited to dual USB host ports instead of four on the C2 and Raspberry Pi.
Left to right: Pine64, DragonBoard 410c, and HiKey
(click images to enlarge)
The only other 64-bit ARM hacker boards currently shipping are more expensive 96Boards-compatible SBCs, both of which have onboard wireless. These include Qualcomm’s quad-core, $75 DragonBoard 410c and the octa-core, $99 to $129 HiKey.
The move to 64-bit may be slowed by an increasing focus on lightweight Internet of Things projects for the Pi. Element14, for example, announced some IoT accessories for the Pi 3, including a PiFace add-on and a collaboration with IBM and EnOcean on a IoT Starter Kit endpoint-to-cloud framework for the SBC.
ARM certainly believes the change to 64-bit will be a lengthy process. In recently announcing a 32-bit only ARMv8 Cortex-A32 chip aimed at IoT duty, ARM stated: “We can expect a significant number of embedded devices to remain 32-bit for the foreseeable future.”
Still, even if Raspbian and most other Pi-compatible distros take their time moving to 64-bit, we can expect to see some Pi-compatible 64-bit Linux builds in the coming months. One of the first out of the gate will likely be version of Arch Linux ARM, which has run in 32-bit mode on the Pi, but inherently supports ARMv8, 64-bit operation.
Several 64-bit ARM capable Linux distros have become Pi 2 compatible over the last year, including Ubuntu, and more recently, Fedora. These projects may also decide to release a 64-bit image for the Pi 3 if they feel the RAM limit is not prohibitive.
Another possibility may be the Chromium OS project — the 64-bit ready progenitor of Google’s Chrome OS. A subproject called Chromium OS For All SBC recently expanded beyond the Pi 2 to support the Raspberry Pi Zero, the Chip, and the 64-bit Pine A64. The SBC versions, however, are 32-bit for now.
Finally, the Pi 3 may also accelerate Android’s slow path to the Pi. Even in 32-bit mode, the resource-hungry Android should run much better on the faster Cortex-A53 hardware.
This article is copyright © 2016 Linux.com and was originally published here. It has been reproduced by LinuxGizmos.com with the permission of its owner. Please visit Linux.com for up-to-date news and articles about Linux and open source.