Jetson/TX2 DTB

< Jetson
Revision as of 07:23, 22 April 2017 by Dusty-nv (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.

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.

Discussion Thread