Age | Commit message (Collapse) | Author |
|
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>
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
ubootOrangePiZero2: init
|
|
Either this was republished with another hash, or the hash was wrong
before all ready. Now I'm able to fetch and build it :-)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This supports the Amlogic S905, otherwise known as Meson GXBB.
|
|
This package currently contains fiptool, cert_create and sptool.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I think https://hydra.nixos.org/build/71541345 is parallel build
related.
|
|
|
|
Should also fix Hydra attempting to build this stuff on x86, like
https://hydra.nixos.org/build/71533289
|
|
For qemu, at 1.4 from upstream.
For Sopine / Pine A64-LTS, at 1.0 from fork.
|
|
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.
|