Package mali-panthor-g610-firmware
This commit is contained in:
parent
db2143289c
commit
54e15511e8
1 changed files with 32 additions and 0 deletions
32
packages/mali-panthor-g610-firmware/default.nix
Normal file
32
packages/mali-panthor-g610-firmware/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Stolen from https://github.com/qbisi/nixos-rockchip
|
||||||
|
|
||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
fetchurl,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "mali-panthor-g610-firmware";
|
||||||
|
version = "arch10_8";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://gitlab.com/firefly-linux/external/libmali/-/raw/firefly/firmware/g610/mali_csffw.bin";
|
||||||
|
hash = "sha256-56C0b9Z3wy4IwLiBf9HFY8OsoBPax04XaR83O5cNu6s=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
|
||||||
|
dontPatch = true;
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -Dm644 $src $out/lib/firmware/arm/mali/arch10.8/mali_csffw.bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
compressFirmware = false;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue