From 7d678fa8384908d7e57cfac150f32cd2025c1bdb Mon Sep 17 00:00:00 2001 From: Alexandru Costache Date: Mon, 23 Aug 2021 11:12:05 +0000 Subject: [PATCH] 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 --- src/config/backends/extra-uEnv.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config/backends/extra-uEnv.ts b/src/config/backends/extra-uEnv.ts index 90f88fc3..6f1caa67 100644 --- a/src/config/backends/extra-uEnv.ts +++ b/src/config/backends/extra-uEnv.ts @@ -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)) ); }