20 Commits

Author SHA1 Message Date
Jörg Thalheim
6ec1e82182 format nix code after nixfmt update 2025-10-30 12:39:05 +01:00
Jörg Thalheim
688ee555de refactor(nxp): parameterize i.MX platform builders to reduce duplication
This refactoring reduces code duplication across i.MX93, i.MX8MP, and
i.MX8MQ platforms by extracting common build logic into parameterized
shared builders. This makes it easier to maintain and add new i.MX
platforms while ensuring consistency across all platforms.
2025-10-29 18:26:21 +01:00
Govind Singh
8b405e9c6d chore(fmt): apply nix formatting
Signed-off-by: Govind Singh <govind.singh@tii.ae>
2025-10-29 18:19:05 +01:00
Govind Singh
34b7229b95 Add support for i.MX93-EVK platform
The i.MX93 EVK provides a platform for comprehensive evaluation
of the i.MX93 application processors. This change adds support
in NixOS hardware to provide a template for customized i.MX93-based
platforms.

Signed-off-by: Govind Singh <govind.singh@tii.ae>
2025-10-29 18:19:05 +01:00
Ganga Ram
2dbfb943a0 bsp update for imx8mp-evk
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-09-03 17:17:14 +04:00
Andre
51e51e6014 chore: format repo using treefmt-nix and nixfmt-rfc-style 2025-06-04 12:35:54 -04:00
Ganga Ram
4ce6bba2f7 Update correct hash for imx mkimage utility
- Don't fetch dotGit directory.
- Dot git dir gets different object packs when it is pulled from
  different nixpkgs versions which causes hash mismatch.
- Patch Makefile not use git revision from .git.

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-05-22 11:15:13 +04:00
Ganga Ram
e3a967ba29 Fixed build issues for imx8mq-evk
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-04-14 13:43:29 +04:00
Ganga Ram
48a8eaeac8 Fixed native build issues for imx8mp-evk atf
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-04-14 13:30:27 +04:00
Ganga Ram
c7034bb57b Fix compilation issue
Updated makeFlags as latest buildArmTrustedFirmware specifies CC and LD explicitly, which
doesn't work well with the nxp imx8mp-evk platform.

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2025-04-11 12:56:20 +04:00
Brian McGillion
6209032a7c fix the unused module error accross all imx8
this fixes the unused modules error that wad introduced by https://github.com/NixOS/nixpkgs/pull/366004

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2025-01-23 01:45:56 +04:00
Brian McGillion
63c0f02ce5 nxp-imx: fix unused modules errors
https://github.com/NixOS/nixpkgs/pull/366004
introduced a breaking change that if a module is declared but it is not
being used it will fail.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2025-01-23 00:17:20 +04:00
Ganga Ram
772de835d5 Remove buildUBoot function from U-Boot build
The buildUBoot function is intended for internal use and is dedicated
for Raspberry Pi platforms. With latest nixpkgs it is causing
build failure in older uboot(prior to v2023.07) due to a Raspberry Pi patch.

Now this function is not used for the U-Boot build.

More Information:
https://github.com/NixOS/nixpkgs/pull/311614
https://github.com/NixOS/nixpkgs/pull/146634

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-05-16 16:04:12 +00:00
Ganga Ram
f12e5fd7ec nxp imx8mp-evk/imx8mq-evk documentation
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-28 08:54:14 +00:00
Ganga Ram
53e2a96a9e nxp imx8m quad evaluation platform support
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-28 08:54:14 +00:00
Ganga Ram
5c2a5c00a0 nxp imx8mp-evk platform support
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-28 08:54:14 +00:00
Ganga Ram
f1b2f71c86 Update repository path for nxp/imx
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-13 16:36:44 +00:00
Jörg Thalheim
c84a8f2423 nxp-imx8: drop kernel overlay
With overlays one cannot re-use nixpkgs across different machines,
which is a performance issues. In this instance it's not really needed.
2023-05-05 09:22:26 +02:00
Ivan Nikolaenko
826a2714d7 nxp: imx8: Fix wrong paths to imx-uboot.nix file
In addition, adjust code formatting and improve documentation

Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2023-03-07 13:54:38 +02:00
Ivan Nikolaenko
75b6ec4775 Add NXP i.MX8 SOC family support.
Currently there are two devices supported:
* imx8qm-mek
* imx8qxp-mek

Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2023-02-20 12:19:39 +02:00