Jetpack 4.4 - 32.4.3: How to switch between DTB files from extlinux.conf file

Hello,

We have a custom board which supports various cameras and for each we have a different dtb profiles. Can you let me know how can I sign my dtb files and switch between them using extlinux.conf file.

We did similar thing on one of our Xavier-nx module carrier, using instructions from https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3231/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide%2Fbootflow_jetson_xavier.html%23wwpID0E0HB0HA

Are these instructions same for TX2 as well. Does TX2 even support switching between DTB by just adding FDT line in extlinux.conf.

Hello,

I think this should work on TX2 as well. Signing may or may not be needed. But I will wait for others to comment.

hello mbthakkar,

you may also use the extlinux.conf file for loading device tree binary.
please note that, you should also sign and encrypt device tree binary before pushing to target.
you may perform flash script, by including --no-flash options.
for example,
$ sudo ./flash.sh -r --no-flash -k kernel-dtb jetson-tx2 mmcblk0p1

after that,
you may check the flash messages, and you should found that sign and encrypt device tree file has generate locally,
for example,

...
[   0.1284 ] Signed file: $OUT/Linux_for_Tegra/bootloader/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
*** tegra186-quill-p3310-1000-c03-00-base.dtb has been signed successfully. ***