Skip to content

Commit

Permalink
utils: generation of new orb-ids && registration support (#231)
Browse files Browse the repository at this point in the history
* utils: generation of new orb-ids && registration support

* OG review

* Removing hardware-version from the persistent images
  • Loading branch information
sfikastheo authored Nov 12, 2024
1 parent 9a1341e commit 0a7922a
Show file tree
Hide file tree
Showing 5 changed files with 473 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/generate-new-orb-id/build/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*

!.gitignore
!calibration.json
!components.json
!versions.json
7 changes: 7 additions & 0 deletions scripts/generate-new-orb-id/build/calibration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"mirror": {
"phi_offset_degrees": 0.00,
"theta_offset_degrees": 0.00,
"version": "v2"
}
}
100 changes: 100 additions & 0 deletions scripts/generate-new-orb-id/build/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"security_layer": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "SECURITY_LAYER",
"redundancy": "redundant"
}
},
"software_layer": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "SOFTWARE_LAYER",
"redundancy": "redundant"
}
},
"base_layer": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "BASE_LAYER",
"redundancy": "redundant"
}
},
"packages_layer": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "PACKAGES_LAYER",
"redundancy": "redundant"
}
},
"cache_layer": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "CACHE_LAYER",
"redundancy": "redundant"
}
},
"cuda_layer": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "CUDA_LAYER",
"redundancy": "redundant"
}
},
"system_layer": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "SYSTEM_LAYER",
"redundancy": "redundant"
}
},
"sec_mcu": {
"type": "can",
"value": {
"address": 2,
"bus": "can0",
"redundancy": "redundant",
"device": "emmc"
}
},
"main_mcu": {
"type": "can",
"value": {
"address": 1,
"bus": "can0",
"redundancy": "redundant",
"device": "emmc"
}
},
"ai_layer": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "AI_LAYER",
"redundancy": "redundant"
}
},
"lft_layer": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "LFT_LAYER",
"redundancy": "redundant"
}
},
"app": {
"type": "gpt",
"value": {
"device": "emmc",
"label": "APP",
"redundancy": "redundant"
}
}
}
83 changes: 83 additions & 0 deletions scripts/generate-new-orb-id/build/versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"releases": {
"slot_a": "6.0.0+generic",
"slot_b": "6.0.0+generic"
},
"slot_a": {
"jetson": {
"base_layer": "idk2",
"lft_layer": "idk2",
"cache_layer": "idk2",
"software_layer": "idk2",
"ai_layer": "idk2",
"cuda_layer": "idk2",
"app": "idk2",
"security_layer": "idk2",
"packages_layer": "idk2",
"system_layer": "idk2"
}
},
"slot_b": {
"jetson": {
"app": "idk2",
"cuda_layer": "idk2",
"system_layer": "idk2",
"security_layer": "idk2",
"software_layer": "idk2",
"packages_layer": "idk2",
"cache_layer": "idk2",
"base_layer": "idk2",
"lft_layer": "idk2",
"ai_layer": "idk2"
}
},
"singles": {
"jetson": {
"VER": "idk2",
"mts-proper": "idk2",
"bpmp-dtb": "idk2",
"secondary_gpt_backup": "idk2",
"MB1_BCT": "idk2",
"spe-fw_b": "idk2",
"optee": "idk2",
"esp": "idk2",
"secondary_gpt_qspi": "idk2",
"optee_b": "idk2",
"spe-fw": "idk2",
"mts-mce": "idk2",
"VER_b": "idk2",
"MEM_BCT": "idk2",
"xusb-fw_b": "idk2",
"cpu-bootloader": "idk2",
"mts-preboot": "idk2",
"mts-preboot_b": "idk2",
"eks": "idk2",
"mb2_b": "idk2",
"sc7_b": "idk2",
"xusb-fw": "idk2",
"MB1_BCT_b": "idk2",
"adsp_b": "idk2",
"bootloader-dtb": "idk2",
"bpmp-dtb_b": "idk2",
"bpmp_b": "idk2",
"mb1": "idk2",
"bpmp": "idk2",
"cpu-bootloader_b": "idk2",
"mb2": "idk2",
"eks_b": "idk2",
"BCT-boot-chain_backup": "idk2",
"primary_gpt_emmc": "idk2",
"mb1_b": "idk2",
"bootloader-dtb_b": "idk2",
"mts-proper_b": "idk2",
"camera-rtcpu_b": "idk2",
"secondary_gpt_emmc": "idk2",
"BCT": "idk2",
"mts-mce_b": "idk2",
"sc7": "idk2",
"adsp": "idk2",
"MEM_BCT_b": "idk2",
"camera-rtcpu": "idk2"
}
}
}
Loading

0 comments on commit 0a7922a

Please sign in to comment.