How to update DTB only for Jetson Nano by flash.sh?

Hi,

We have obtained a customized carrier board for Jetson Nano SoM(P3448) and verified that we can login Ubuntu system through debug serial port.

The customized carrier board use MIPI DSI instead of HDMI/DP for display and the DSI screen is black after the system is powered on. We learned that the default DTB used by official provided image is tegra210-p3448-0000-p3449-0000-a02.dtb, which does not contain DSI device. So we want to update the .dtb file to tegra210-p3448-0000-p3449-0000-a02-hdmi-dsi.dtb.

It seems that Linux_for_Tegra/flash.sh deal with flash related task. How to only flash DTB file by flash.sh?

hello fdtsaid,

please check developer guide of the Flash Script Usage.
you should also check Flashing a Specific Partition to enable -k commands to update DTB partition.
for example,
$ sudo ./flash.sh -r -k DTB jetson-nano-emmc mmcblk0p1

1 Like

Thank you.

I found a way to replace DTB.

Copy .dtb file to target system, then edit /boot/extlinux/extlinux.conf and add

FDT /boot/tegra210-p3448-0000-p3449-0000-a02-hdmi-dsi.dtb 

Rebooted and /proc/device-tree/host1x/dsi/status is “okay”.