From 2b0148ba2c6b34d8f74a5b2afe9405419f81e7ab Mon Sep 17 00:00:00 2001 From: Valentin Raevsky Date: Wed, 24 Jul 2024 20:47:02 +0300 Subject: [PATCH 1/2] Add CompuLab iotdin-imx8p to harware contract. Change-type: patch Signed-off-by: Valentin Raevsky --- .../iotdin-imx8p-d1d8/contract.json | 38 +++++++++++++ .../iotdin-imx8p-d1d8/iotdin-imx8p.svg | 54 +++++++++++++++++++ .../hw.device-type/iotdin-imx8p/contract.json | 38 +++++++++++++ .../iotdin-imx8p/iotdin-imx8p.svg | 54 +++++++++++++++++++ 4 files changed, 184 insertions(+) create mode 100644 contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json create mode 100644 contracts/hw.device-type/iotdin-imx8p-d1d8/iotdin-imx8p.svg create mode 100644 contracts/hw.device-type/iotdin-imx8p/contract.json create mode 100644 contracts/hw.device-type/iotdin-imx8p/iotdin-imx8p.svg diff --git a/contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json b/contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json new file mode 100644 index 00000000..a07e8fff --- /dev/null +++ b/contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json @@ -0,0 +1,38 @@ +{ + "slug": "iotdin-imx8p-d1d8", + "version": "1", + "type": "hw.device-type", + "aliases": [], + "name": "Compulab IOTDIN-iMX8P 1G-8G DRAM", + "assets": { + "logo": { + "url": "./iotdin-imx8p.svg", + "name": "logo" + } + }, + "data": { + "arch": "aarch64", + "hdmi": false, + "led": false, + "connectivity": { + "bluetooth": true, + "wifi": true + }, + "storage": { + "internal": true + }, + "flashProtocol": "usbMassStorage", + "media": { + "defaultBoot": "internal" + }, + "is_private": false + }, + "partials": { + "instructions": [ + "Unpack the balenaOS image you downloaded from balena-cloud.", + "Make sure the device is not powered and connect the PROG port to your PC using a micro USB cable.", + "From a Linux-based host, use the IOT-GATE-iMX8PLUS flashing tools to write balenaOS on your device.", + "After flashing is completed, disconnect the micro USB cable from the PROG port, power off the device and then power it back on." + ] + } +} diff --git a/contracts/hw.device-type/iotdin-imx8p-d1d8/iotdin-imx8p.svg b/contracts/hw.device-type/iotdin-imx8p-d1d8/iotdin-imx8p.svg new file mode 100644 index 00000000..c2ad3bf8 --- /dev/null +++ b/contracts/hw.device-type/iotdin-imx8p-d1d8/iotdin-imx8p.svg @@ -0,0 +1,54 @@ + + + + +IOT-DINIMX8PLUS + + + + + + + + + + + + + + + + diff --git a/contracts/hw.device-type/iotdin-imx8p/contract.json b/contracts/hw.device-type/iotdin-imx8p/contract.json new file mode 100644 index 00000000..13643f81 --- /dev/null +++ b/contracts/hw.device-type/iotdin-imx8p/contract.json @@ -0,0 +1,38 @@ +{ + "slug": "iotdin-imx8p", + "version": "1", + "type": "hw.device-type", + "aliases": [], + "name": "Compulab IOTDIN-iMX8P 2G-4G DRAM", + "assets": { + "logo": { + "url": "./iotdin-imx8p.svg", + "name": "logo" + } + }, + "data": { + "arch": "aarch64", + "hdmi": false, + "led": false, + "connectivity": { + "bluetooth": true, + "wifi": true + }, + "storage": { + "internal": true + }, + "flashProtocol": "usbMassStorage", + "media": { + "defaultBoot": "internal" + }, + "is_private": false + }, + "partials": { + "instructions": [ + "Unpack the balenaOS image you downloaded from balena-cloud.", + "Make sure the device is not powered and connect the PROG port to your PC using a micro USB cable.", + "From a Linux-based host, use the IOT-GATE-iMX8PLUS flashing tools to write balenaOS on your device.", + "After flashing is completed, disconnect the micro USB cable from the PROG port, power off the device and then power it back on." + ] + } +} diff --git a/contracts/hw.device-type/iotdin-imx8p/iotdin-imx8p.svg b/contracts/hw.device-type/iotdin-imx8p/iotdin-imx8p.svg new file mode 100644 index 00000000..c2ad3bf8 --- /dev/null +++ b/contracts/hw.device-type/iotdin-imx8p/iotdin-imx8p.svg @@ -0,0 +1,54 @@ + + + + +IOT-DINIMX8PLUS + + + + + + + + + + + + + + + + From f8cba1f64e82e3a1a7258030d7e29f619440b420 Mon Sep 17 00:00:00 2001 From: Valentin Raevsky Date: Wed, 31 Jul 2024 11:59:01 +0300 Subject: [PATCH 2/2] Update the device flashtools reference The original flashtool repo has been updated. It supports iot-din devices. Update the json files to reference the correct flashtool repo. Signed-off-by: Valentin Raevsky --- contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json | 2 +- contracts/hw.device-type/iotdin-imx8p/contract.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json b/contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json index a07e8fff..0fa66b4a 100644 --- a/contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json +++ b/contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json @@ -31,7 +31,7 @@ "instructions": [ "Unpack the balenaOS image you downloaded from balena-cloud.", "Make sure the device is not powered and connect the PROG port to your PC using a micro USB cable.", - "From a Linux-based host, use the IOT-GATE-iMX8PLUS flashing tools to write balenaOS on your device.", + "From a Linux-based host, use the IOT-GATE-iMX8PLUS flashing tools to write balenaOS on your device.", "After flashing is completed, disconnect the micro USB cable from the PROG port, power off the device and then power it back on." ] } diff --git a/contracts/hw.device-type/iotdin-imx8p/contract.json b/contracts/hw.device-type/iotdin-imx8p/contract.json index 13643f81..16a2713e 100644 --- a/contracts/hw.device-type/iotdin-imx8p/contract.json +++ b/contracts/hw.device-type/iotdin-imx8p/contract.json @@ -31,7 +31,7 @@ "instructions": [ "Unpack the balenaOS image you downloaded from balena-cloud.", "Make sure the device is not powered and connect the PROG port to your PC using a micro USB cable.", - "From a Linux-based host, use the IOT-GATE-iMX8PLUS flashing tools to write balenaOS on your device.", + "From a Linux-based host, use the IOT-GATE-iMX8PLUS flashing tools to write balenaOS on your device.", "After flashing is completed, disconnect the micro USB cable from the PROG port, power off the device and then power it back on." ] }