Skip to content

Commit

Permalink
lib/flashing: Remove dram arg for iot-gate-imx8plus
Browse files Browse the repository at this point in the history
The DRAM argument has been removed in the flashing tools

Change-type: patch
Signed-off-by: Alexandru Costache <[email protected]>
  • Loading branch information
acostach committed Aug 1, 2024
1 parent e51f127 commit f3821cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 2 additions & 3 deletions lib/flashing/devices/iot-gate-imx8plus-d1d8.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"type": "iot-gate",
"dram": "d1d8"
}
"type": "iot-gate"
}
5 changes: 2 additions & 3 deletions lib/flashing/devices/iot-gate-imx8plus.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"type": "iot-gate",
"dram": "d2d4"
}
"type": "iot-gate"
}
6 changes: 2 additions & 4 deletions lib/flashing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -604,8 +604,6 @@ async function flashIotGate(filename: string, autoKit: Autokit, port: usbPort, d
[
'-a',
'armv7',
'-d',
dram,
'-i',
filename
],
Expand Down Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit f3821cd

Please sign in to comment.