Commit Graph

10 Commits

Author SHA1 Message Date
Jörg Thalheim
655a6da8a8 nxp: document flash procedure and expose images in flake 2025-11-04 13:35:34 +01:00
Jörg Thalheim
fad92f5f57 ucm-imx95: expand pkgs in callPackage for overrides 2025-11-04 12:57:21 +01:00
Jörg Thalheim
f2e49f279c optee-builder: use stdenv as opposed to gccStdenv
should be the same in our use case, but stdenv is more standard.
2025-11-04 12:34:11 +01:00
Jörg Thalheim
e598a4ca2f nxp: patch toolchain more consistent between different targets 2025-11-04 12:28:52 +01:00
Jörg Thalheim
a2bc09823a ucm-imx95: various changes
- Move openssl to nativeBuildInputs in ATF build for proper cross-compilation
- Add explicit SILICON validation with clear error messages in firmware build
- Fix fragile wildcard patterns in firmware DDR file copying
- Replace mutable branch URLs with pinned commit hashes for patch stability
- Add U-Boot config merge step (make olddefconfig) after extra config
- Fix cross-compilation toolchain coherence (cpp in optee-os)
- Standardize license format (single value instead of single-element list)
- Update maintainer references with inline name/email format
- Fix typos and grammar in documentation and comments
2025-10-30 15:17:56 +01:00
Jörg Thalheim
86d9291cc3 ucm-imx95: use --replace-fail for substituteInPlace 2025-10-30 14:52:25 +01:00
Jörg Thalheim
8650454db6 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).
2025-10-30 14:48:44 +01:00
Govind Singh
11ea8b8477 ucm-imx95: firmware: fetch firmware files from NXP release
Fetch AHAB container, M7 firmware, and DDR PHY firmware binaries
from the NXP release packages. The derivation extracts the correct
LPDDR5 PHY images and selects the appropriate AHAB container for
A0 or B0 silicon revisions.

Signed-off-by: Govind Singh <govind.singh@tii.ae>
2025-10-30 14:29:53 +01:00
Govind Singh
a3576f0f3c chore: Add README for UCM-iMX95 SOM support
Added README.md for UCM-iMX95 SOM support.
2025-10-30 14:29:53 +01:00
Govind Singh
fe21eda733 Add support for UCM-iMX95 Evaluation Kit platform
The CompuLab UCM-iMX95 Evaluation Kit provides a platform for comprehensive
evaluation of the NXP i.MX95 application processor. This change adds support
in NixOS hardware to provide a template for customized i.MX95-based platforms.

UCM-iMX95: https://www.compulab.com/products/som-evaluation-kits/ucm-imx95-evaluation-kit/

Signed-off-by: Govind Singh <govind.singh@tii.ae>
2025-10-30 14:29:53 +01:00