Merge pull request #1777 from balena-os/extend_custom_dtb_support_to_tx2-nx_devices

backends/extra-uEnv: Extend custom DTB support for Jetson TX2 NX
This commit is contained in:
bulldozer-balena[bot] 2021-10-13 00:37:56 +00:00 committed by GitHub
commit d11cb37190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -63,7 +63,8 @@ export class ExtraUEnv extends ConfigBackend {
return (
(deviceType.endsWith('-nano') ||
deviceType.endsWith('-nano-emmc') ||
deviceType.endsWith('-tx2')) &&
deviceType.endsWith('-tx2') ||
deviceType.includes('-tx2-nx')) &&
(await exists(ExtraUEnv.bootConfigPath))
);
}

View File

@ -267,4 +267,8 @@ const MATCH_TESTS = [
{ type: 'asus-tinker-board', supported: false },
{ type: 'nano-board', supported: false },
{ type: 'tx2-tx2-device', supported: false },
{ type: 'jetson-tx2-nx-devkit', supported: true },
{ type: 'photon-tx2-nx', supported: true },
{ type: 'jetson-xavier-nx-devkit', supported: false },
{ type: 'photon-xavier-nx', supported: false },
];