Add custom DTB support for Variscite Dart DT family

Closes: #1963
Relates-to: https://github.com/balena-os/balena-variscite-mx8/pull/134
Relates-to: https://github.com/balena-io/open-balena-api/issues/1033
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
This commit is contained in:
Christina Wang 2022-06-13 12:30:25 -07:00
parent 51c5456af9
commit dfb6bcf0e6
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 },
];