diff --git a/lib/flashing/devices/iot-gate-imx8plus-d1d8.json b/lib/flashing/devices/iot-gate-imx8plus-d1d8.json index dc69cb5..13a3189 100644 --- a/lib/flashing/devices/iot-gate-imx8plus-d1d8.json +++ b/lib/flashing/devices/iot-gate-imx8plus-d1d8.json @@ -1,4 +1,3 @@ { - "type": "iot-gate", - "dram": "d1d8" -} \ No newline at end of file + "type": "iot-gate" +} diff --git a/lib/flashing/devices/iot-gate-imx8plus.json b/lib/flashing/devices/iot-gate-imx8plus.json index e645f05..13a3189 100644 --- a/lib/flashing/devices/iot-gate-imx8plus.json +++ b/lib/flashing/devices/iot-gate-imx8plus.json @@ -1,4 +1,3 @@ { - "type": "iot-gate", - "dram": "d2d4" -} \ No newline at end of file + "type": "iot-gate" +} diff --git a/lib/flashing/devices/iotdin-imx8p-d1d8.json b/lib/flashing/devices/iotdin-imx8p-d1d8.json new file mode 100644 index 0000000..13a3189 --- /dev/null +++ b/lib/flashing/devices/iotdin-imx8p-d1d8.json @@ -0,0 +1,3 @@ +{ + "type": "iot-gate" +} diff --git a/lib/flashing/devices/iotdin-imx8p.json b/lib/flashing/devices/iotdin-imx8p.json new file mode 100644 index 0000000..13a3189 --- /dev/null +++ b/lib/flashing/devices/iotdin-imx8p.json @@ -0,0 +1,3 @@ +{ + "type": "iot-gate" +} diff --git a/lib/flashing/index.ts b/lib/flashing/index.ts index 9fffb35..4bc8b43 100644 --- a/lib/flashing/index.ts +++ b/lib/flashing/index.ts @@ -573,7 +573,7 @@ async function flashJetson(filename: string, autoKit: Autokit, deviceType: strin } -async function flashIotGate(filename: string, autoKit: Autokit, port: usbPort, dram: string){ +async function flashIotGate(filename: string, autoKit: Autokit, port: usbPort){ const powerOnDelay = Number(process.env.CAP_DELAY) || 1000*60*5; // ensure we have latest flasher tool @@ -604,8 +604,6 @@ async function flashIotGate(filename: string, autoKit: Autokit, port: usbPort, d [ '-a', 'armv7', - '-d', - dram, '-i', filename ], @@ -675,7 +673,7 @@ async function flash(filename: string, deviceType: string, autoKit: Autokit, por if(port === undefined){ throw new Error('No usb port specified!') } - await flashIotGate(filename, autoKit, port, flashProcedure.dram) + await flashIotGate(filename, autoKit, port) } } }