Request for a tool to update device tree locally.

This (GitHub - kmartin36/nv-tegra-sign: Python script to sign files for the Nvidia TX2) seems to be a wonderful tool, but I am not a python guy, and using it fails for me, complaining about missing packages :

nvidia@devkit-jp451:~/nv-tegra-sign$ ./sign.py /boot/dtbfile /tmp/dtbfile.encrypt
Traceback (most recent call last):
  File "./sign.py", line 3, in <module>
    from cryptography.hazmat.backends.openssl import backend
ImportError: No module named cryptography.hazmat.backends.openssl
nvidia@devkit-jp451:~/nv-tegra-sign$

How do I install the missing dependencies ?

Later…

sudo apt install python-pip

installs the needed package(s)

hi, there is a version on С:

1 Like

Thank you, tested and approved ! It helps me work around the bug described at https://forums.developer.nvidia.com/t/jetpack-4-5-1-tx2-bug-fdt-selected-file-loaded-incorrectly-by-uboot/180197

Hello,

I noticed that on jetpack-4.5.1 for Nano’s, the header for the dtb partition (called DTB, instead of kernel-dtb) has a size of 0x400 (= 1024 decimal) instead of 400 decimal. Unfortunately, I don’t see immediately where to change that in your sources.