Merge pull request #1964 from balena-os/1963-variscite-dart-dt-custom-dtb

Add custom DTB support for Variscite Dart DT family
This commit is contained in:
bulldozer-balena[bot] 2022-06-14 19:30:53 +00:00 committed by GitHub
commit d34c4a3b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -269,4 +269,9 @@ const MATCH_TESTS = [
{ type: 'photon-tx2-nx', supported: true },
{ type: 'jetson-xavier-nx-devkit', supported: false },
{ type: 'photon-xavier-nx', supported: false },
{ type: 'imx8m-var-dart', supported: true },
{ type: 'imx8mm-var-dart', supported: true },
{ type: 'imx8mm-var-dart-nrt', supported: true },
{ type: 'imx8mm-var-dart-plt', supported: true },
{ type: 'imx6ul-var-dart', supported: false },
];