in an effort to get rid of the NVIDIA binaries for creating partitions/boot files/images for the Nano, I wrote a small tool that creates signed DTB files. The idea came from this posting for the TX2: https://devtalk.nvidia.com/default/topic/1042852/jetson-tx2/request-for-a-tool-to-update-device-tree-locally-/post/5389646
You can find my version for the Nano here:
You could use the tool to create a signed DTB file with the partition header like this:
python mytegrasign.py --offset=560 --dtbheader tegra210-p3448-0000-p3449-0000-a02.dtb
This creates a file called tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt
You can write this file to the SD-Card with dd. It belongs to the partition 10, like this:
dd if=tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt of=/dev/mmcblk0p10
This should also work on the Nano itself (unlike the NVIDIA binaries), so no external development host is needed. Please keep in mind that this tool is written without deeper knowledge of the partition header format or hash generation, as I did not find any documentation on that. I tested it with a locally generated DTB file but it might still fail in other situations and lead to an unbootable system - keep a backup of your SD-Card for this case.
Any feedback is appreciated.