about summary refs log tree commit diff
path: root/pkgs/misc/arm-trusted-firmware
AgeCommit message (Collapse)AuthorFilesLines
2024-06-09treewide: Remove indefinite article from meta.descriptionAlexis Hildebrandt1-1/+1
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-03-22arm-trusted-firmware: add RK3588Pratham Patel1-1/+20
2023-12-08Merge pull request #269809 from r-ryantm/auto-update/armTrustedFirmwareToolsWeijia Wang1-2/+2
armTrustedFirmwareTools: 2.9.0 -> 2.10.0
2023-11-25u-boot: ROCK64 RAM init improvementsLorenz Brun1-1/+0
This switches the ROCK64 over to the open-source RAM init as it now works flawlessly. It also removes the HDCP flag from the ATF for the RK3328 as it cannot use it, it is only used in the RK3399. This makes the ROCK64 u-boot now fully open. There is also an issue with the ROCK64 v2 revision where the DRAM routing is marginal, making some of them unstable. So also package a variant which uses a lower-speed DDR3 timing configuration which is stable on these boards.
2023-11-25armTrustedFirmwareTools: 2.9.0 -> 2.10.0R. Ryantm1-2/+2
2023-08-17arm-trusted-firmware.armTrustedFirmwareTools: remove CC_FOR_BUILDsternenseemann1-0/+5
As explained in the new comment, we trick the build system here to build its build tools for the host platform. To make this even more foolproof / reliable, stop adding CC_FOR_BUILD to the environment, so there can be no mix up.
2023-08-17arm-trusted-firmware: tell Makefile abt arm-embedded's targetPrefixsternenseemann1-0/+1
Some of the firmware requires an arm-embedded toolchain to be in PATH. The Makefile offers a similar mechanism to CROSS_COMPILE for letting it know what naming scheme is used for the accompanying tools.
2023-08-17arm-trusted-firmware: set HOSTCC to CC_FOR_BUILDsternenseemann1-0/+1
arm-trusted-firmware assumes that HOSTCC is `gcc` which is not necessarily the case.
2023-07-06armTrustedFirmwareTools: 2.8 -> 2.9.0R. Ryantm1-2/+2
2023-05-19Merge pull request #204562 from lopsided98/arm-trusted-firmware-updateSergei Trofimovich1-4/+3
arm-trusted-firmware: 2.7 -> 2.8
2023-04-05u-Boot: add Orange Pi 3 supportSergey Makarov1-0/+6
Enable build of U-Boot for Orange Pi 3. Signed-off-by: Sergey Makarov <setser200018@gmail.com>
2022-12-04arm-trusted-firmware: 2.7 -> 2.8Ben Wolsieffer1-4/+3
sptool was replaced by a Python script. It wouldn't be too hard to install/wrap the new script, but I doubt anyone uses it. I made sptool part of the armTrustedFirmwareTools package when I created it simply because it was trivial to add, not because it was actually necessary.
2022-10-09armTrustedFirmware: Fix bintools 2.39 regression (LOAD segment with RWX)Samuel Dionne-Riel1-0/+4
Fixes: ``` .../aarch64-unknown-linux-gnu-ld.bfd: warning: /build/source/build/rk3399/release/bl31/bl31.elf has a LOAD segment with RWX permissions .../aarch64-unknown-linux-gnu-ld.bfd: warning: /build/source/build/rk3399/release/bl31/bl31.elf has a LOAD segment with RWX permissions .../aarch64-unknown-linux-gnu-ld.bfd: warning: /build/source/build/rk3399/release/bl31/bl31.elf has a LOAD segment with RWX permissions make: *** [Makefile:1306: /build/source/build/rk3399/release/bl31/bl31.elf] Error 1 ``` See: https://developer.trustedfirmware.org/T996
2022-08-12arm-trusted-firmware: remove version parameterAdam Joseph1-3/+2
The arm-trusted-firmware/default.nix expression exposes `buildArmTrustedFirmware` and its `version?"2.7"` field to `top-level/all-packages.nix`. Unfortunately it doesn't work. Changing the version field doesn't change what version of the ATF source code is used. Attempting to "lock" an installation to a specific version by overriding this field (e.g. version="2.7") won't work either; when nixpkgs bumps the version to 2.8 the user will end up building the 2.8 source code but the resulting expression will be labeled misleadingly in the store: ``` /nix/store/eeee...-arm-trusted-firmware-2.7/ ``` **using the 2.8 source code**. So not only does `version` not lock the version, it will actually *conceal* the fact that the underlying source code has been upgraded! Let's just remove the `version` field. It doesn't work and never did. https://github.com/NixOS/nixpkgs/pull/185004#discussion_r939526830 Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-06-11arm-trusted-firmware: 2.6 -> 2.7Ben Wolsieffer1-2/+2
2022-05-29arm-trusted-firmware: unfree only if hdcp.bin used; otherwise delete itAdam Joseph1-4/+21
The `unfreeIncludeHDCPBlob` parameter was introduced as a result of this reviewer request: https://github.com/NixOS/nixpkgs/issues/148890#issuecomment-1032002903 The default value `unfreeIncludeHDCPBlob?true` causes a change in the `meta.license` field for all of the subpackages within `pkgs/misc/arm-trusted-firmware/`, and results in them needing `NIXPKGS_ALLOW_NONFREE=1`. For non-Rockchip platforms the file hdcp.bin does not get included in the output; the blob is for a Synopsys HDCP core that is currently used only by Rockchip (although other companies could license it from Synopsys in the future). Therefore on non-Rockchip we can delete hdcp.bin before building instead of changing the license. This preserves the ability to build them without NIXPKGS_ALLOW_NONFREE=1. Let's do that. Deleting hdcp.bin ensures that we won't be caught by surprise if some future non-Rockchip Arm CPU licenses the same Synopsys HDCP core that Rockchip is using. Use easier-to-follow names for controlling the blob inclusion/exclusion. Also, if the blob is believed to be unnecessary, delete it beforehand so we will know if we were wrong about that belief. Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-02-08make meta.license be a list rather than a single valueAdam Joseph1-1/+1
2022-02-08arm-trusted-firmware: add unfreeIncludeHDCPBlob?true to control license and ↵Adam Joseph1-3/+11
blob-removal patch This change implements @lukegb's idea: https://github.gitop.top/NixOS/nixpkgs/issues/148890#issuecomment-1032002903 Specifically, it introduces a new parameter unfreeIncludeHDCPBlob (defaults to true): * If unfreeIncludeHDCPBlob==true then the license is changed to unfreeRedistributable, which will alert the user to the fact that the blob is being included (unless they set NIXPKGS_ALLOW_UNFREE=1). * If unfreeIncludeHDCPBlob==false then the license is kept as bsd3, but a patch is applied to remove the HDCP blob from the build.
2022-02-05remove unfree HDCP blob from arm-trusted-firmware, closes #148890Adam Joseph2-0/+49
This patch comes from https://gitlab.com/vicencb/kevinboot/-/blob/master/atf.patch I have been running firmware with this patch on my daily driver rk3399 laptop for the past four months.
2022-01-27treewide: rename name to pname&versionFelix Buehler1-1/+1
2021-12-11armTrustedFirmwareTools: 2.5 -> 2.6R. Ryantm1-2/+2
2021-11-13pkgs.misc: remove unused argsMarkus S. Wamser1-1/+1
2021-10-04Merge pull request #125743 from novmar/novmar/orange_pi_zero2_supportSamuel Dionne-Riel1-0/+6
ubootOrangePiZero2: init
2021-06-22armTrustedFirmware*: fix hashFlorian Klink1-1/+1
Either this was republished with another hash, or the hash was wrong before all ready. Now I'm able to fetch and build it :-)
2021-06-14armTrustedFirmwareAllwinnerH616: initMarcel Novotny1-0/+6
2021-05-22armTrustedFirmwareTools: 2.4 -> 2.5R. RyanTM1-2/+2
2020-11-22armTrustedFirmwareTools: 2.3 -> 2.4R. RyanTM1-2/+2
2020-04-22arm-trusted-firmware: 2.2 -> 2.3Pavol Rusnak1-4/+4
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2020-01-15armTrustedFirmwareTools: 2.1 -> 2.2R. RyanTM1-2/+2
2019-12-05armTrustedFirmwareS905: initBen Wolsieffer1-0/+7
This supports the Amlogic S905, otherwise known as Meson GXBB.
2019-12-05armTrustedFirmwareTools: initBen Wolsieffer1-7/+25
This package currently contains fiptool, cert_create and sptool.
2019-08-28treewide: remove redundant recvolth1-2/+2
2019-05-18arm-trusted-firmware: Switch Allwinner to upstreamSamuel Dionne-Riel1-9/+1
2019-05-18arm-trusted-firmware: 2.0 -> 2.1Samuel Dionne-Riel1-2/+2
2019-01-18arm-trusted-firmware: add RK3399Ben Wolsieffer1-1/+11
2019-01-18arm-trusted-firmware: 1.5 -> 2.0Ben Wolsieffer1-2/+2
2018-11-06arm-trusted-firmware: correctly handle version overridesPatrick Hilhorst1-1/+2
2018-03-23armTrustedFirmware: Disable parallel buildTuomas Tynkkynen1-1/+2
I think https://hydra.nixos.org/build/71541345 is parallel build related.
2018-03-23armTrustedFirmwareQemu: 1.4 -> 1.5, fixes build with GCC7Tuomas Tynkkynen1-3/+3
2018-03-20armTrustedFirmware: Remove targetPlatforms like was done in U-BootTuomas Tynkkynen1-7/+4
Should also fix Hydra attempting to build this stuff on x86, like https://hydra.nixos.org/build/71533289
2018-03-18arm-trusted-firmware: Inits at various versionsSamuel Dionne-Riel1-0/+24
For qemu, at 1.4 from upstream. For Sopine / Pine A64-LTS, at 1.0 from fork.
2018-03-18arm-trusted-firmware: initBen Wolsieffer1-0/+63
ARM trusted firmware is required as part of the boot process on some ARMv8-A boards. Currently, only the RK3328 is supported in nixpkgs. This makes the Rock64 u-boot image bootable.