Apply device tree and driver

After booting from the official JETPACK 5.0.2 downloaded through the sdk manager, we want to be able to view the video simply by applying our camera device-tree or camera driver.

Creating and uploading the driver module was successful.

How can we apply our device-tree (camera dtb) to /boot/dtb/kernel_tegra194-p3668-all-p3509-0000.dtb after booting?

Hi @rlatae123

There are two ways of applying the device-tree to the board:

The first one is to modify the /boot/extlinux/extlinux.conf file as for example:

DEFAULT primary

MENU TITLE L4T boot options

LABEL primary
      MENU LABEL primary kernel
      LINUX /boot/Image
      INITRD /boot/initrd
      FDT /boot/dtb/kernel_tegra194-p3668-all-p3509-0000.dtb
      APPEND ${cbootargs} root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=

Notice that we are adding the FDT instance. So, in general, adding the following line:

FDT <dtb path>

After doing that, reboot the board.

Another way to do that is to do a manual installation. You can find an example in the following link

Hope this help!

Embedded SW Engineer at RidgeRun
Contact us:
Developers wiki:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.