Differences between revisions 56 and 62 (spanning 6 versions)
Revision 56 as of 2019-02-06 16:47:38
Size: 2537
Editor: GunnarWolf
Comment: Update to the 2019-02-06 image.
Revision 62 as of 2019-07-18 19:43:14
Size: 982
Editor: GunnarWolf
Comment: pluck out image-related bits to their own page
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
'''Note:''' This page was originally meant to provide support for the Raspberry Pi 3. Support for earlier families has been added since.
Line 2: Line 4:

Debian buster runs on all of the Raspberry Pi 3 models, but there are a few issues preventing us from releasing an official image:

 * DebianPkg:vmdb2, the successor of vmdebootstrap, included in Debian "buster".
 * The Bluetooth module is untested.

Longer-term improvements:

 * The hardware still needs a non-free binary blob to boot (included in the raspi3-firmware package). A [[https://github.com/christinaa/rpi-open-firmware|free software replacement]] is being worked on.

Any help on these issues is very welcome!

== Preview image ==

To install the (unofficial, unsupported!) preview image on the SD card {{{/dev/sdX}}}, use (change ''/dev/sdX'' to your SD card device name):
{{{
$ wget https://people.debian.org/~gwolf/raspberrypi3/20190206/20190206-raspberry-pi-3-buster-PREVIEW.img.xz
$ xzcat 20190206-raspberry-pi-3-buster-PREVIEW.img.xz | dd of=/dev/sdX bs=64k oflag=dsync status=progress
}}}

It is recommended to check the image was correctly downloaded by comparing its SHA256:

{{{
$ wget https://people.debian.org/~gwolf/raspberrypi3/20190206/20190206-raspberry-pi-3-buster-PREVIEW.img.xz.sha256
$ sha256sum -c 20190206-raspberry-pi-3-buster-PREVIEW.img.xz.sha256
}}}

If resolving client-supplied DHCP hostnames works in your network, you should be able to log into the Raspberry Pi 3 using SSH after booting it:

{{{
$ ssh root@rpi3
# Password is “raspberry”
}}}

For the sources of this image, please see https://github.com/Debian/raspi3-image-spec

If you have any questions/feedback, please direct them to https://lists.alioth.debian.org/mailman/listinfo/pkg-raspi-maintainers
Line 48: Line 13:
Unfortunately most Python GPIO libraries are unusable under arm64, as they try to detect the CPU revision from {{{/proc/cpuinfo}}}. The issue is tracked here: https://github.com/raspberrypi/linux/issues/2110

== Known issues ==
Shipping a system with a preset root password usable over the network is a recipe for disaster. We want to tackle this! 😉
GPIO libraries work, but require some extra effort as of 2019-03-25.
 * For RPi.GPIO, see https://alioth-lists.debian.net/pipermail/pkg-raspi-maintainers/Week-of-Mon-20190318/000333.html
 * For gpiozero, see https://alioth-lists.debian.net/pipermail/pkg-raspi-maintainers/Week-of-Mon-20190318/000334.html

Note: This page was originally meant to provide support for the Raspberry Pi 3. Support for earlier families has been added since.

The Raspberry Pi 3 is a version of the RaspberryPi which was released in February 2016. It contains a 1.2 GHz ARM Cortex-A53 CPU and hence is the first version of the RaspberryPi to support the arm64 architecture. In 2018, two further models were added to the Raspberry Pi 3 family — The 3B+ and 3A+.

GPIO

You can use sysfs to configure and control the GPIO pins. The pin numbers are offset by 458 (see /sys/kernel/debug/gpio). Thus to enable pin 4 (as root):

# echo "462" > /sys/class/gpio/export

GPIO libraries work, but require some extra effort as of 2019-03-25.