Skip to content

Commit

Permalink
Merge pull request #403 from balena-io/add_iot_gate_imx8plus_1g8g
Browse files Browse the repository at this point in the history
Add Compulab iot-gate-imx8plus-1g8g device-type
  • Loading branch information
flowzone-app[bot] authored Dec 13, 2023
2 parents 9a88055 + 32e50ad commit 8314a24
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 9 deletions.
38 changes: 38 additions & 0 deletions contracts/hw.device-type/iot-gate-imx8plus-d1d8/contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"slug": "iot-gate-imx8plus-d1d8",
"version": "1",
"type": "hw.device-type",
"aliases": [],
"name": "Compulab IOT-GATE-iMX8PLUS 1G-8G DRAM",
"assets": {
"logo": {
"url": "./iot-gate-imx8plus.svg",
"name": "logo"
}
},
"data": {
"arch": "aarch64",
"hdmi": false,
"led": false,
"connectivity": {
"bluetooth": false,
"wifi": false
},
"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 <a href=https://github.com/balena-os/iot-gate-imx8plus-flashtools>IOT-GATE-iMX8PLUS flashing tools</a> 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."
]
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 5 additions & 9 deletions contracts/hw.device-type/iot-gate-imx8plus/contract.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1",
"type": "hw.device-type",
"aliases": [],
"name": "Compulab IOT-GATE-iMX8PLUS 4GB",
"name": "Compulab IOT-GATE-iMX8PLUS 2G-4G DRAM",
"assets": {
"logo": {
"url": "./iot-gate-imx8plus.svg",
Expand All @@ -29,14 +29,10 @@
},
"partials": {
"instructions": [
"Unpack the downloaded balenaOS image and extract the file imx-boot-iot-gate-imx8plus-sd.bin-flash_evk from the resin-boot partition.",
"Connect the PROG port to your PC using a micro USB cable.",
"Download <a href=https://github.com/balena-os/balena-iot-gate-imx8plus/raw/master/imx-boot_4g>imx-boot_4g</a> from the <a href=https://github.com/balena-os/balena-iot-gate-imx8plus>balena-iot-gate-imx8plus</a> repository",
"Connect the debug UART and PROG ports to your PC. Use 'sudo <a href=https://github.com/nxp-imx/mfgtools>uuu</a> imx-boot_4g' to load imx-boot_4g on your device and then interrupt u-boot in cmdline. You can skip using uuu if your device already runs an u-boot that has console access and the ums command enabled.",
"Mount the device's boot partition using 'ums 0 mmc 2.1' and write imx-boot-iot-gate-imx8plus-sd.bin-flash_evk to this partition. The binary should be written at offset 0 using Etcher or dd.",
"Mount the device's eMMC from u-boot using 'ums 0 mmc 2' and write the downloaded balenaOS image to it using Etcher or dd. Both the bootloader and the OS image should be written before any reboot.",
"We recommend using <a href=http://www.etcher.io/>Etcher</a> for flashing the bootloader and the operating system image to the device. Etcher writes the images at offset 0 by default. If other flashing tools are used, ensure that the drives are properly synced after the images have been flashed.",
"After flashing is completed, disconnect the micro USB cable from the PROG port and reboot the device."
"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 <a href=https://github.com/balena-os/iot-gate-imx8plus-flashtools>IOT-GATE-iMX8PLUS flashing tools</a> 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."
]
}
}

0 comments on commit 8314a24

Please sign in to comment.