backends/extra-uEnv: Extend custom DTB support for Jetson TX2 NX

We just added support for the TX2 NX, which supports u-boot
thus allows for using custom device-trees. Let's allow
for Jetson TX2 NX and future TX2 NX derived
device types to have device-trees configurable from the dashboard.

Change-type: patch
Signed-off-by: Alexandru Costache <alexandru@balena.io>
This commit is contained in:
Alexandru Costache 2021-08-23 11:12:05 +00:00
parent d86ae94525
commit 7d678fa838

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))
);
}