git.iko.soy/typeable/nixpkgs
on master help sign in
U-Boot: Add 64-bit Raspberry Pi 3 build

And rename the old ubootRaspberryPi3 to ubootRaspberryPi3_32bit.

commitb29ee6c8ff11613c545dcd332f2f3ff37b00a068 authorTuomas Tynkkynen <tuomas@tuxera.com> dateFri 20 Jan 2017, 14:54 (10 years ago) parent2bfd83a
3 files changed+10−3
nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix+1−1 pkgs/misc/uboot/default.nix+7−1 pkgs/top-level/all-packages.nix+2−1
nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix+1−1
@@ -46,7 +46,7 @@ in
4646 cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/$f boot/
4747 done
4848 cp ${pkgs.ubootRaspberryPi2}/u-boot.bin boot/u-boot-rpi2.bin
49− cp ${pkgs.ubootRaspberryPi3}/u-boot.bin boot/u-boot-rpi3.bin
49+ cp ${pkgs.ubootRaspberryPi3_32bit}/u-boot.bin boot/u-boot-rpi3.bin
5050 cp ${configTxt} boot/config.txt
5151 ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
5252 '';
pkgs/misc/uboot/default.nix+7−1
@@ -100,12 +100,18 @@ in rec {
100100 filesToInstall = ["u-boot.bin"];
101101 };
102102
103− ubootRaspberryPi3 = buildUBoot rec {
103+ ubootRaspberryPi3_32bit = buildUBoot rec {
104104 defconfig = "rpi_3_32b_defconfig";
105105 targetPlatforms = ["armv7l-linux"];
106106 filesToInstall = ["u-boot.bin"];
107107 };
108108
109+ ubootRaspberryPi3_64bit = buildUBoot rec {
110+ defconfig = "rpi_3_defconfig";
111+ targetPlatforms = ["aarch64-linux"];
112+ filesToInstall = ["u-boot.bin"];
113+ };
114+
109115 ubootWandboard = buildUBoot rec {
110116 defconfig = "wandboard_defconfig";
111117 targetPlatforms = ["armv7l-linux"];
pkgs/top-level/all-packages.nix+2−1
@@ -11813,7 +11813,8 @@ with pkgs;
1181311813 ubootPcduino3Nano
1181411814 ubootRaspberryPi
1181511815 ubootRaspberryPi2
11816− ubootRaspberryPi3
11816+ ubootRaspberryPi3_32bit
11817+ ubootRaspberryPi3_64bit
1181711818 ubootWandboard
1181811819 ;
1181911820