Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update iot-gate-imx8plus flashing args, add iotdir-imx8p json files #92

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
3 changes: 3 additions & 0 deletions lib/flashing/devices/iotdin-imx8p-d1d8.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "iot-gate"
}
3 changes: 3 additions & 0 deletions lib/flashing/devices/iotdin-imx8p.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"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