How to create/flash multiple partitions?

Hi there,

I am developing a build system for the Orin that installs some customizations on top of the rootfs. In addition to these customization, I am building machine learning Docker containers that I am loading onto the rootfs.

So the rootfs basically stays the same across builds, but a single file (tarball of the Docker containers to load) will change from build-to-build.

In order to avoid the overhead of having to re-flash the entire rootfs, is it possible to create another partition solely for the Docker containers, that on boot gets mounted as a path on the file system?

For example, here is the partition layout that would be ideal on an external NVMe:

Partition: APP: contains the rootfs
Partition: DOCKER: contains the Docker tarball for all of the containers I want to load on first boot

Is it possible to setup an Orin this way, and then only flash the DOCKER partition?

Thanks, any guidance is appreciated.

Gabe

Hello Gabe @gabriel_aero,

You might be able to create your own partition layout by configuring the respective cfg file for your board.

Dor this, you might find the following documentation by NVIDIA interesting:

https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/AR/BootArchitecture/PartitionConfiguration.html

When it comes to flashing, we don’t really know if you would be able to do it with the flash script. However, you might be able to do it with a custom rootfs payload using OTA.

Please let us know if you require further assistance, this task seems very interesting.

Regards,
Andrew
ContactUs: support@proventusnova.com
www.proventusnova.com

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.