How can I flash a nvm drive with a separate boot partition?

Right now I can only manage to flash my nvme drive using the initrd flash script with a layout like this

-nvme0n1p1 APP partition /
-nvme0n1p(2-10)
-nvme0n1p11 UDA partition with the rest of the drive space

Ideally I would like to have it look more like this

-nvme0n1p(1-9) the standard partitions
-nvme0n1p10 boot mounted at APP/boot
-nvme0n1p11 APP
-free space so APP can be expanded

How would I configure the initrd flash script to manage this? Thanks!

You can rearrange the partitions in tools/kernel_flash/flash_l4t_nvme.xml to do that. In tools/kernel_flash/ , there is a partition layout called flash_l4t_external.xml that has the APP partition at the end; you can also use that for initrd flash or modify it according to your needs.

1 Like

Thanks, I just saw that xml file last night, I’ll give it a try!