Skip to content

Conversation

@govindsi
Copy link
Contributor

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 evk information: https://www.compulab.com/products/som-evaluation-kits/ucm-imx95-evaluation-kit/

Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input
Screenshot from 2025-10-23 11-59-23

@Mic92
Copy link
Member

Mic92 commented Oct 29, 2025

Since this seems like a rather more complex board, can you also add a rought README guide that explains how to install the first system onto a board.

@Mic92
Copy link
Member

Mic92 commented Oct 29, 2025

@govindsi
Copy link
Contributor Author

govindsi and others added 4 commits October 30, 2025 14:29
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>
Added README.md for UCM-iMX95 SOM support.
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>
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).
@Mic92 Mic92 force-pushed the feat/ucm-imx95-platform branch from 9aec527 to 8650454 Compare October 30, 2025 13:49
Mic92 added 2 commits October 30, 2025 14:52
- 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
@govindsi govindsi requested a review from Mic92 November 2, 2025 09:01
@Mic92 Mic92 force-pushed the feat/ucm-imx95-platform branch from ef79ff1 to 5ad68c5 Compare November 4, 2025 11:57
@@ -1,3 +1,3 @@
final: _prev: {
inherit (final.callPackage ./bsp/ucm-imx95-boot.nix { pkgs = final; }) imx95-boot;
inherit (final.callPackage ./bsp/ucm-imx95-boot.nix { }) imx95-boot;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be good now.

@Mic92 Mic92 enabled auto-merge November 4, 2025 12:03
@Mic92 Mic92 added this pull request to the merge queue Nov 4, 2025
@Mic92 Mic92 removed this pull request from the merge queue due to a manual request Nov 4, 2025
@Mic92 Mic92 added this pull request to the merge queue Nov 4, 2025
Merged via the queue into NixOS:master with commit bffe23e Nov 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants