and have minimal partitioning, e.g: only APP partition with kernel/initrd/dtb inside.
From my understanding, I need to configure L4T Configuration → L4T Boot Mode to Extlinux (and later on ONLY allow this value in the source code of edk2 which is UEFI launcher for Tegra boards) which means load Kernel and Initrd and dtb from /boot partition of the filesystem located in the APP partition.
For A/B support, I would only need to add APP_b partition and it should work.
I do not need recovery or boot from kernel partition according to this schema
Are you using the devkit or custom board for Orin Nano?
What’s your Jetpack version in use?
You can modify the partition layout for your use case, but we don’t support for those customization since some partition has their function. Let me take recovery partition as example, it would be used when you boot up the board failed or used in OTA update or initrd flash.
I am concerned about security features. The end goal is to implement full secure boot chain (from ROM code to encrypted filesystem) and I would like to make sure only one boot chain is possible.
Does having these fallbacks in case of failure can increase chances of attacks?
I understand A/B is enabled by default and this is needed for fail-safe mechanism and this is something I do not plan on removing but simplify it as much as possible.
I would like to remove the ability to boot from [ 00 00 00 00 ] - Boot GRUB and [ 02 00 00 00 ] - Boot normal kernel and DTB in partitions
which should allows me to remove the following partitions (if I understood correctly):
Another clarification I could not find in the documentation is regarding these partitions: name=A[/B]_reserved_on_user name=UDA name=reserved
Could you explain what is the purpose of these partitions?
May I know what’s your use case to remove those partitions?
You could try to customize them for your use case but we’ve verified them so that we can’t guarantee if there may be any side effect due to removing them.
It is the partition for user data. I think it should be fine to remove it.