mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
ucm-imx95: fix firmware parameter collision and update imx-mkimage
Fixed parameter name collision in ucm-imx95-firmware.nix where the 'silicon' parameter conflicted with the nixpkgs silicon package, causing the wrong AHAB container to be selected. Renamed to 'siliconRev'. Updated imx-mkimage from lf-6.6.36 to lf-6.6.52-2.2.1 to match the firmware version expectations (v202409 instead of v202311).
This commit is contained in:
@@ -14,9 +14,9 @@ let
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nxp-imx";
|
||||
repo = "imx-mkimage";
|
||||
#tag: lf-6.6.36
|
||||
rev = "4622115cbc037f79039c4522faeced4aabea986b";
|
||||
sha256 = "sha256-2gz0GxlB3jwy8PC6+cP3+MpyUzqE1vDTw8nuxK6vo3g=";
|
||||
#tag: lf-6.6.52-2.2.1
|
||||
rev = "f620fb8ef7a04c8dbed8119880f5eeffe3e69746";
|
||||
sha256 = "sha256-JZlX122uZntCIISI1H3Hw+tnk+N/gBJpFFDaZoY8W3c=";
|
||||
};
|
||||
shortRev = builtins.substring 0 8 src.rev;
|
||||
in
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
pkgs,
|
||||
silicon ? "A0",
|
||||
siliconRev ? "A0",
|
||||
...
|
||||
}:
|
||||
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
export SILICON=${silicon}
|
||||
export SILICON=${siliconRev}
|
||||
|
||||
# M7 firmware
|
||||
echo "Copying M7 firmware..."
|
||||
|
||||
Reference in New Issue
Block a user