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.
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>
- 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>
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>
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>
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/311614https://github.com/NixOS/nixpkgs/pull/146634
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>