Skip to content

Commit ec18896

Browse files
committed
librem/5r4/u-boot: update and use newer compiler
1 parent 6426964 commit ec18896

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

purism/librem/5r4/u-boot/default.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
stdenv,
3-
gcc11Stdenv,
43
buildUBoot,
54
fetchurl,
65
fetchFromGitLab,
@@ -28,7 +27,7 @@ let
2827
meta.license = lib.licenses.unfree;
2928
});
3029

31-
arm-trusted-firmware-imx8mq = gcc11Stdenv.mkDerivation (_fa: {
30+
arm-trusted-firmware-imx8mq = stdenv.mkDerivation (_fa: {
3231
pname = "arm-trusted-firmware-bl31";
3332
version = "unstable-2020-07-08";
3433
src = fetchFromGitLab {
@@ -40,6 +39,7 @@ let
4039
};
4140
enableParallelBuilding = true;
4241
hardeningDisable = [ "all" ];
42+
NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds";
4343
NIX_LDFLAGS = "--no-warn-rwx-segments";
4444
buildFlags = [
4545
"PLAT=imx8mq"
@@ -53,14 +53,14 @@ let
5353
});
5454

5555
ubootLibrem5 = buildUBoot {
56-
version = "unstable-2022-12-15";
56+
version = "unstable-2025-03-25";
5757
defconfig = "librem5_defconfig";
5858
src = fetchFromGitLab {
5959
domain = "source.puri.sm";
6060
owner = "Librem5";
6161
repo = "uboot-imx";
62-
rev = "956aa590c93977992743b41c45d3c7ee5a024915"; # this is the latest commit on the upstream/librem5 branch
63-
hash = "sha256-MsIIlarN+WFFEzc0ptLAgS7BwJ6Cosy42xo0EwPn1AU=";
62+
rev = "72fcd4ee36e0874daac734c1195263cd9ce9d981"; # this is the latest commit on the upstream/librem5 branch
63+
hash = "sha256-ymqZPuyyZoFTaCMQIJnuNs1fV0uVwJhyQdnGwv9m9lE=";
6464
};
6565
patches = [ ];
6666
BL31 = "${arm-trusted-firmware-imx8mq}/bl31.bin";

0 commit comments

Comments
 (0)