Skip to content

Commit

Permalink
prettify
Browse files Browse the repository at this point in the history
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
  • Loading branch information
vipulgupta2048 committed Dec 18, 2024
1 parent ed46689 commit f41b3c3
Showing 1 changed file with 42 additions and 40 deletions.
82 changes: 42 additions & 40 deletions src/models/device-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,46 +495,48 @@ const getDeviceTypeModel = function (deps: InjectedDependenciesParam) {
));
if (contract!.slug === 'jetson-orin-nano-devkit-nvme') {
contract = {
"slug": "jetson-orin-nano-devkit-nvme",
"version": "1",
"type": "hw.device-type",
"aliases": [],
"name": "Nvidia Jetson Orin Nano 8GB (SD) Devkit NVME",
"assets": {
"logo": {
"url": "./jetson-orin-nano-devkit-nvme.svg",
"name": "logo"
}
},
"data": {
"arch": "aarch64",
"hdmi": true,
"led": false,
"connectivity": {
"bluetooth": true,
"wifi": true
},
"storage": {
"internal": true
},
"media": {
"defaultBoot": "internal",
"altBoot": ["usb_mass_storage"]
},
"is_private": false
},
"partials": {
"instructions": [
"For balenaOS versions v6.1.16 and newer, please ensure your device is running UEFI firmware version 36.3. Check and update the <a href=\"https://docs.balena.io/learn/develop/hardware/jetson-orin#provisioning-jetson-orin\">firmware version</a> before proceeding.",
"For balenaOS versions older than v6.1.16, please refer to the <a href=\"https://github.com/balena-os/jetson-flash?tab=readme-ov-file\">{{name}} legacy flashing</a> guide."
],
"bootDeviceExternal": [
"Insert a NVME drive in the Devkit and power up the {{name}}."
],
"flashIndicator": ["power LED is off"],
"bootDevice": ["Power up the {{name}}. If you have a display or a debug UART cable connected to the device, a progress bar will show up while the UEFI firmware is updated. Please do not interrupt this process by turning off power or rebooting the device."]
}
}
slug: 'jetson-orin-nano-devkit-nvme',
version: '1',
type: 'hw.device-type',
aliases: [],
name: 'Nvidia Jetson Orin Nano 8GB (SD) Devkit NVME',
assets: {
logo: {
url: './jetson-orin-nano-devkit-nvme.svg',
name: 'logo',
},
},
data: {
arch: 'aarch64',
hdmi: true,
led: false,
connectivity: {
bluetooth: true,
wifi: true,
},
storage: {
internal: true,
},
media: {
defaultBoot: 'internal',
altBoot: ['usb_mass_storage'],
},
is_private: false,
},
partials: {
instructions: [
'For balenaOS versions v6.1.16 and newer, please ensure your device is running UEFI firmware version 36.3. Check and update the <a href="https://docs.balena.io/learn/develop/hardware/jetson-orin#provisioning-jetson-orin">firmware version</a> before proceeding.',
'For balenaOS versions older than v6.1.16, please refer to the <a href="https://github.com/balena-os/jetson-flash?tab=readme-ov-file">{{name}} legacy flashing</a> guide.',
],
bootDeviceExternal: [
'Insert a NVME drive in the Devkit and power up the {{name}}.',
],
flashIndicator: ['power LED is off'],
bootDevice: [
'Power up the {{name}}. If you have a display or a debug UART cable connected to the device, a progress bar will show up while the UEFI firmware is updated. Please do not interrupt this process by turning off power or rebooting the device.',
],
},
};
}
if (!contract?.partials) {
throw new Error(
Expand Down

0 comments on commit f41b3c3

Please sign in to comment.