tx2 : flash kernel-dtb by using_uboot

Hi, all:

  1. My sdk version is 32.1, the board is tx2-8G
    I`m flash the dtb/kernel by flash.sh. I am modified the flash.sh set the using_uboot to 1.
    For kernel image, it is useful that copy the Image into /boot/.
    But for the kernel-dtb image, it is not useful that copy the dtb file into /boot/dtb/ and /boot/. so I must use the command “sudo ./flash.sh -k kernel-dtb jetson-tx2 mmcblk0p1” to flash kernel-dtb.
    what should I do to make it useful that copy the kernel-dtb into /boot/ and /boot/dtb/ ?

  2. My sdk version is 32.2, the board is xavier-16G
    The flash.sh not have using_uboot. It is not useful that copy the kernel image and kernel-dtb into /boot.
    What should I do to make it useful that copy the kernel image and kernel-dtb into /boot?

Thank you very much

Hi, cxl824158933

The dtb need to be encryped before flashed into the partation.

dd if=dtb.encrypt of=/dev/mmcblk0p10

You can get your dtb.encrypt with ./flash script.

or refer to https://devtalk.nvidia.com/default/topic/1064654/

  1. “sudo ./flash.sh -r -k kernel-dtb” should work on both your devices.
  2. The method in #2 should also work too.