Jetson/TX2 DTB

< Jetson
Revision as of 23:09, 2 August 2017 by Aastal (talk | contribs)
Jump to: navigation, search

Starting on Jetson TX2, the Device Tree Binary (DTB) is no longer specified by default in /boot/extlinux/extlinux.conf. This is to allow u-boot to pass parameter to load the specific DTB file. However if you have compiled your own DTB, there are ways to set it yourself.
Please refer to the steps according to your JetPack release version.


Modifying the Existing extlinux.conf

Although L4T by default no longer sets the FDT entry in extlinux.conf, users can still manually set this for the change to take effect. Note the DTB field added back into /boot/etxlinux/extlinux.conf below:

  DEFAULT primary
  MENU TITLE p2771-0000 eMMC boot options
  LABEL primary
     MENU LABEL primary kernel
     LINUX /boot/Image
     FDT /boot/tegra186-quill-p3310-1000-c03-00-base.dtb
     APPEND fbcon=map:0 net.ifnames=0 console=tty0 OS=l4t console=ttyS0,115200n8 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 gpt tegraid= tegra_keep_boot_clocks maxcpus=6 android.kerneltype=normal androidboot.serialno=0335115020673 vpr_resize root=/dev/mmcblk0p1 rw rootwait

Before Flashing

The default DTB can also be set before flashing by modifying jetson-tx2.conf located inside ../Linux_for_Tegra_tx2 directory on the host PC. Set the path to the desired DTB in jetson-tx2.conf, then proceed with flashing.

If extlinux.conf is also edited with FDT option, then extlinux.conf will override what is specified in jetson-tx2.conf at the time of flashing.


Replace the dtb file with your own build, and update the DTB with the following commands.


Replace your own build DTB with


flash the DTB partition with

sudo ./flash -r -k DTB jetson-tx1 mmcblk0p1


Replace your own build DTB with


flash the DTB partition with

sudo ./flash -r -k kernel-dtb jetson-tx2 mmcblk0p1

Discussion Thread

  1. extlinux.conf: FDT No Longer Used for DTB File Specification?
  2. method to modify/use different device tree in R28.1