Differences between revisions 56 and 65 (spanning 9 versions)
Revision 56 as of 2019-02-06 16:47:38
Size: 2537
Editor: GunnarWolf
Comment: Update to the 2019-02-06 image.
Revision 65 as of 2020-07-10 14:38:51
Size: 1458
Comment: fix syntax
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.

Raspberyy Pi, like earlier models, [[RaspberryPi#Booting_via_a_binary_blob| require a non-free blob to boot]]
Line 2: Line 6:

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 15:
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 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
Line 50: Line 19:
== Known issues ==
Shipping a system with a preset root password usable over the network is a recipe for disaster. We want to tackle this! 😉
== Sound ==

The buster kernel does not support at least the analog audio output on the Raspberry Pi 3B+ but installing the buster-backports kernel fixes it:

{{{
$ cat /proc/asound/cards
 0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA
                      bcm2835 ALSA
 1 [vc4hdmi ]: vc4-hdmi - vc4-hdmi
                      vc4-hdmi
}}}

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

Raspberyy Pi, like earlier models, require a non-free blob to boot

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.

Sound

The buster kernel does not support at least the analog audio output on the Raspberry Pi 3B+ but installing the buster-backports kernel fixes it:

$ cat /proc/asound/cards
 0 [ALSA           ]: bcm2835_alsa - bcm2835 ALSA
                      bcm2835 ALSA
 1 [vc4hdmi        ]: vc4-hdmi - vc4-hdmi
                      vc4-hdmi