NixOS on ARM/Raspberry Pi: Difference between revisions

imported>Mbrock
Add WiFi firmware configuration for RPi 3B+
imported>Samueldr
m Adds intro, updates status with status table + misc fixes.
Line 22: Line 22:
|}
|}
</div>
</div>
<!-- TODO : write intro paragraph -->
The Raspberry Pi family of devices is a series of single-board computers made by the Raspberry Pi Foundation. They are all based on Broadcom System-on-a-chip (SOCs).
 
== Status ==
== Status ==


Only the ''Raspberry Pi 3'' is supported upstream, with the aarch64 effort.
Only the ''Raspberry Pi 3 Family'' is supported upstream, with the AArch64 effort. Other Raspberry Pis are part of '''@dezgeg''''s porting efforts to ARMv6 and ARMv7.


Other Raspberry Pis are part of '''@dezgeg''''s porting efforts to ARMv6 and ARMv7.
The Linux kernel in use, except for the Raspberry Pi 1 family, is the mainline Linux kernel, and not the Raspberry Pi Foundation's fork. This could reduce compatibility with some add-on boards or third-party libraries<sup>[expanded explanation needed]</sup>.
 
The following table is intended to be updated by the NixOS contributors with the current status of the boards. For a list of products, [https://www.raspberrypi.org/products/ see the ''Products Archive]''.
 
{|class="wikitable"
|-
! Board name
! Architecture
! Support
|-
!colspan="3" style="text-align: left;"|Raspberry Pi 1
|-
| Raspberry Pi 1 Model A+
|rowspan="4" style="vertical-align: middle;"| armv6
| C*
|-
| Raspberry Pi 1 Model B+
| C
|-
| Raspberry Pi Zero
| C*
|-
| Raspberry Pi Zero W
| C*
|-
!colspan="3" style="text-align: left;"|Raspberry Pi 2
|-
| Raspberry Pi 2 Model B
| armv7
| C*
|-
!colspan="3" style="text-align: left;"|Raspberry Pi 3
|-
| Raspberry Pi 3 Model B
|rowspan="3" style="vertical-align: middle;"| AArch64<br /> ''+ armv7''
| YES
|-
| Raspberry Pi 3 Model B+
| YES
|-
| Raspberry Pi 3 Model A+
| ?
|}
 
''Support''
* YES: Supported architecture by Nixpkgs downstream and tested to be working.
* C: Community supported, and tested to be working.
* C*: Community supported, unverified but should be working.
* ? : Unverified, unknown if it will work.
 
The Raspberry Pi 3 Family is only supported as '''AArch64'''. Use as armv7 is community supported.


== Board-specific installation notes ==
== Board-specific installation notes ==
Line 119: Line 170:
}
}
</nowiki>}}
</nowiki>}}
== Camera ==
== Camera ==


Line 151: Line 201:
}
}
</nowiki>}}
</nowiki>}}
== Binary Cache ==
== Binary Cache ==


Line 167: Line 216:
| armv7
| armv7
|-
|-
| aarch64
| AArch64
|}
|}