Differences between revisions 1 and 62 (spanning 61 versions)
Revision 1 as of 2016-11-24 09:54:03
Size: 1735
Editor: ?MichaelStapelberg
Comment:
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:
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. '''Note:''' This page was originally meant to provide support for the Raspberry Pi 3. Support for earlier families has been added since.
Line 3: Line 3:
Debian stretch runs on the Raspberry Pi 3 as soon as the following blockers are out of the way: 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+.
Line 5: Line 5:
 * https://bugs.debian.org/845422 (src:linux: BCM2835 MMC driver)
 * https://bugs.debian.org/845488 (ITP: linux-firmware-raspi3 package)
 * https://bugs.debian.org/845439 (vmdebootstrap: don’t enforce (U)EFI on arm64)
 * https://bugs.debian.org/845526 (vmdebootstrap: allow users to create the boot directory path)
== GPIO ==
Line 10: Line 7:
Once the above blockers are fixed, there are still a couple of known issues: 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):
Line 12: Line 9:
 * The smsc95xx USB ethernet driver does not use the smsc95xx.macaddr= kernel parameter which the Raspberry Pi bootloader specifies. Hence, on every boot you will have a different MAC address, resulting in new IP addresses if you use DHCP/SLAAC.
 * The Wifi and Bluetooth modules are not currently supported.
 * On boot, the initrd tries to do a file system check but fails because it cannot find fsck.ext4. Later on, systemd actually starts a working file system check, so this is more of a cosmetic issue.
 * Images built with vmdebootstrap don’t automatically expand to use all of the available SD card space.

Any help on these issues is very welcome!

== Preview image ==

To install the (unofficial, unsupported!) preview image on the SD card {{{/dev/sdb}}}, use:
Line 23: Line 10:
$ wget https://people.debian.org/~stapelberg/raspberrypi3/2016-11-24-raspberry-pi-3-stretch-PREVIEW.img
$ sudo dd if=2016-11-24-raspberry-pi-3-stretch-PREVIEW.img of=/dev/sdb bs=5M
# echo "462" > /sys/class/gpio/export
Line 27: Line 13:
The root password is “raspberry”. 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.