mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
U-Boot: Add 64-bit Raspberry Pi 3 build
And rename the old ubootRaspberryPi3 to ubootRaspberryPi3_32bit.
This commit is contained in:
parent
2bfd83ab6d
commit
b29ee6c8ff
@ -46,7 +46,7 @@ in
|
|||||||
cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/$f boot/
|
cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/$f boot/
|
||||||
done
|
done
|
||||||
cp ${pkgs.ubootRaspberryPi2}/u-boot.bin boot/u-boot-rpi2.bin
|
cp ${pkgs.ubootRaspberryPi2}/u-boot.bin boot/u-boot-rpi2.bin
|
||||||
cp ${pkgs.ubootRaspberryPi3}/u-boot.bin boot/u-boot-rpi3.bin
|
cp ${pkgs.ubootRaspberryPi3_32bit}/u-boot.bin boot/u-boot-rpi3.bin
|
||||||
cp ${configTxt} boot/config.txt
|
cp ${configTxt} boot/config.txt
|
||||||
${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
|
${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
|
||||||
'';
|
'';
|
||||||
|
@ -100,12 +100,18 @@ in rec {
|
|||||||
filesToInstall = ["u-boot.bin"];
|
filesToInstall = ["u-boot.bin"];
|
||||||
};
|
};
|
||||||
|
|
||||||
ubootRaspberryPi3 = buildUBoot rec {
|
ubootRaspberryPi3_32bit = buildUBoot rec {
|
||||||
defconfig = "rpi_3_32b_defconfig";
|
defconfig = "rpi_3_32b_defconfig";
|
||||||
targetPlatforms = ["armv7l-linux"];
|
targetPlatforms = ["armv7l-linux"];
|
||||||
filesToInstall = ["u-boot.bin"];
|
filesToInstall = ["u-boot.bin"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ubootRaspberryPi3_64bit = buildUBoot rec {
|
||||||
|
defconfig = "rpi_3_defconfig";
|
||||||
|
targetPlatforms = ["aarch64-linux"];
|
||||||
|
filesToInstall = ["u-boot.bin"];
|
||||||
|
};
|
||||||
|
|
||||||
ubootWandboard = buildUBoot rec {
|
ubootWandboard = buildUBoot rec {
|
||||||
defconfig = "wandboard_defconfig";
|
defconfig = "wandboard_defconfig";
|
||||||
targetPlatforms = ["armv7l-linux"];
|
targetPlatforms = ["armv7l-linux"];
|
||||||
|
@ -11813,7 +11813,8 @@ with pkgs;
|
|||||||
ubootPcduino3Nano
|
ubootPcduino3Nano
|
||||||
ubootRaspberryPi
|
ubootRaspberryPi
|
||||||
ubootRaspberryPi2
|
ubootRaspberryPi2
|
||||||
ubootRaspberryPi3
|
ubootRaspberryPi3_32bit
|
||||||
|
ubootRaspberryPi3_64bit
|
||||||
ubootWandboard
|
ubootWandboard
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user