Merge pull request #61652 from samueldr/update/u-boot/2019.04
u-boot: 2018.09 -> 2019.04 (+ ATF update and boards)
This commit is contained in:
commit
61f0936d1c
@ -6,7 +6,7 @@ let
|
|||||||
, platform
|
, platform
|
||||||
, extraMakeFlags ? []
|
, extraMakeFlags ? []
|
||||||
, extraMeta ? {}
|
, extraMeta ? {}
|
||||||
, version ? "2.0"
|
, version ? "2.1"
|
||||||
, ... } @ args:
|
, ... } @ args:
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ let
|
|||||||
owner = "ARM-software";
|
owner = "ARM-software";
|
||||||
repo = "arm-trusted-firmware";
|
repo = "arm-trusted-firmware";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "087pkwa6slxff0aiz3v42gww007nww97bl1p96fvvs7rr1y14gjx";
|
sha256 = "1gy5qskrjy8n3kxdcm1dx8b45l5b75n0pm8pq80wl6xic1ycy24r";
|
||||||
};
|
};
|
||||||
|
|
||||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
@ -57,15 +57,7 @@ in rec {
|
|||||||
inherit buildArmTrustedFirmware;
|
inherit buildArmTrustedFirmware;
|
||||||
|
|
||||||
armTrustedFirmwareAllwinner = buildArmTrustedFirmware rec {
|
armTrustedFirmwareAllwinner = buildArmTrustedFirmware rec {
|
||||||
version = "1.0";
|
platform = "sun50i_a64";
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "apritzel";
|
|
||||||
repo = "arm-trusted-firmware";
|
|
||||||
# Branch: `allwinner`
|
|
||||||
rev = "91f2402d941036a0db092d5375d0535c270b9121";
|
|
||||||
sha256 = "0lbipkxb01w97r6ah8wdbwxir3013rp249fcqhlzh2gjwhp5l1ys";
|
|
||||||
};
|
|
||||||
platform = "sun50iw1p1";
|
|
||||||
extraMeta.platforms = ["aarch64-linux"];
|
extraMeta.platforms = ["aarch64-linux"];
|
||||||
filesToInstall = ["build/${platform}/release/bl31.bin"];
|
filesToInstall = ["build/${platform}/release/bl31.bin"];
|
||||||
};
|
};
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
buildUBoot = { version ? "2018.09"
|
buildUBoot = { version ? "2019.04"
|
||||||
, filesToInstall
|
, filesToInstall
|
||||||
, installDir ? "$out"
|
, installDir ? "$out"
|
||||||
, defconfig
|
, defconfig
|
||||||
@ -20,7 +20,7 @@ let
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";
|
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";
|
||||||
sha256 = "0s122kyz1svvs2yjzj4j9qravl3ra4vn0fjqgski7rlczqyg56w3";
|
sha256 = "1vwv4bgbl7fjcm073zrphn17hnz5h5h778f88ivdsgbb2lnpgdvn";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -195,6 +195,20 @@ in rec {
|
|||||||
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
|
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ubootPine64LTS = buildUBoot rec {
|
||||||
|
defconfig = "pine64-lts_defconfig";
|
||||||
|
extraMeta.platforms = ["aarch64-linux"];
|
||||||
|
BL31 = "${armTrustedFirmwareAllwinner}/bl31.bin";
|
||||||
|
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
|
||||||
|
};
|
||||||
|
|
||||||
|
ubootPinebook = buildUBoot rec {
|
||||||
|
defconfig = "pinebook_defconfig";
|
||||||
|
extraMeta.platforms = ["aarch64-linux"];
|
||||||
|
BL31 = "${armTrustedFirmwareAllwinner}/bl31.bin";
|
||||||
|
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
|
||||||
|
};
|
||||||
|
|
||||||
ubootQemuAarch64 = buildUBoot rec {
|
ubootQemuAarch64 = buildUBoot rec {
|
||||||
defconfig = "qemu_arm64_defconfig";
|
defconfig = "qemu_arm64_defconfig";
|
||||||
extraMeta.platforms = ["aarch64-linux"];
|
extraMeta.platforms = ["aarch64-linux"];
|
||||||
|
@ -15955,6 +15955,8 @@ in
|
|||||||
ubootOrangePiZeroPlus2H5
|
ubootOrangePiZeroPlus2H5
|
||||||
ubootPcduino3Nano
|
ubootPcduino3Nano
|
||||||
ubootPine64
|
ubootPine64
|
||||||
|
ubootPine64LTS
|
||||||
|
ubootPinebook
|
||||||
ubootQemuAarch64
|
ubootQemuAarch64
|
||||||
ubootQemuArm
|
ubootQemuArm
|
||||||
ubootRaspberryPi
|
ubootRaspberryPi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user