Merge pull request from balena-os/add_imx8mm_var_som

Add custom DTB support for imx8mm-var-som
This commit is contained in:
bulldozer-balena[bot] 2022-09-06 17:46:17 +00:00 committed by GitHub
commit 5b7831f0c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions
src/config/backends
test/legacy

View File

@ -62,6 +62,7 @@ export class ExtraUEnv extends ConfigBackend {
deviceType.endsWith('-nano-2gb-devkit') ||
deviceType.endsWith('-tx2') ||
deviceType.includes('-tx2-nx') ||
/imx8mm-var-som/.test(deviceType) ||
/imx8mm?-var-dart/.test(deviceType)) &&
(await exists(ExtraUEnv.bootConfigPath))
);

View File

@ -273,5 +273,7 @@ const MATCH_TESTS = [
{ type: 'imx8mm-var-dart', supported: true },
{ type: 'imx8mm-var-dart-nrt', supported: true },
{ type: 'imx8mm-var-dart-plt', supported: true },
{ type: 'imx8mm-var-som', supported: true },
{ type: 'imx8m-var-som', supported: false },
{ type: 'imx6ul-var-dart', supported: false },
];