0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

Various: Add support for raspberry pi 4.

This commit is contained in:
Thomas Kerber 2019-08-17 17:42:22 +01:00
parent 7f523f4d7e
commit cc5baf2d86
No known key found for this signature in database
GPG key ID: 8489B911F9ED617B
12 changed files with 112 additions and 29 deletions

View file

@ -10,11 +10,13 @@ let
pkgs.ubootRaspberryPi
else if version == 2 then
pkgs.ubootRaspberryPi2
else
else if version == 3 then
if isAarch64 then
pkgs.ubootRaspberryPi3_64bit
else
pkgs.ubootRaspberryPi3_32bit;
pkgs.ubootRaspberryPi3_32bit
else
throw "U-Boot is not yet supported on the raspberry pi 4.";
extlinuxConfBuilder =
import ../generic-extlinux-compatible/extlinux-conf-builder.nix {