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:
Jörg Thalheim
2025-10-30 14:48:42 +01:00
parent 11ea8b8477
commit 8650454db6
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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..."