JP6.0 can't load customized dtbo?

Hi NV_Team,

We modify the kernel_tegra234-p3768-0000+p3767-0000-nv.dtb to match our ONX cvb, and add a csi camera dtbo.

The /boot/dtb/kernel_tegra234-p3768-0000+p3767-0000-nv.dtb loaded success, but /boot/tegra234-p3767-camera-p3768-gmsl-4lanes.dtbois not loaded.

How to debug this ?

(base) nvidia@nvidia-desktop:~$ cat /boot/extlinux/extlinux.conf
TIMEOUT 30
DEFAULT primary

MENU TITLE L4T boot options

LABEL primary
      MENU LABEL primary kernel
      LINUX /boot/Image
      FDT /boot/dtb/kernel_tegra234-p3768-0000+p3767-0000-nv.dtb
      INITRD /boot/initrd
      APPEND ${cbootargs} root=PARTUUID=dd89c62a-c22d-4f68-8cc5-e2444425819e rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0 nospectre_bhb video=efifb:off console=tty0 
      OVERLAYS /boot/tegra234-p3767-camera-p3768-twgmsl-4lanes.dtbo

tegra234-p3767-camera-p3768-twgmsl-4lanes.dts

// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, Fangzhu Technology CORPORATION & AFFILIATES. All rights reserved.

/dts-v1/;
/plugin/;

#define CAM0_PWDN	TEGRA234_MAIN_GPIO(H, 6) //CAM0_PWDN
#define CAM0_PWDN	TEGRA234_MAIN_GPIO(AC, 0) //CAM0_PWDN 

#include <dt-bindings/tegra234-p3767-0000-common.h>
#include "tegra234-camera-twgmsl-4lanes.dtsi"

/ {
	overlay-name = "Camera GMSL GMSL 4Lanes";
	jetson-header-name = "Jetson 24pin CSI Connector";
	compatible = JETSON_COMPATIBLE_P3768;

	fragment-camera-twgmsl@0 {
		target-path = "/";
		__overlay__ {

			gpio@2200000 {
				cam-pwdn-low {
					gpio-hog;
					output-low;
					gpios = <CAM0_PWDN 0 CAM0_PWDN 0>;
					label = "cam0-pwdn", "cam1-pwdn";
				};
			};
			
			bus@0 {
				i2c@3180000 {
					reg = <0>;
					#address-cells = <1>;
					#size-cells = <0>;
					........
				};
			};
		};
	};
};

Hi Luna2020,

Could you try to add the overlay dtb from board config file as following?
In p3767.conf.common:

- OVERLAY_DTB_FILE="L4TConfiguration.dtbo,tegra234-carveouts.dtbo,tegra-optee.dtbo";
+ OVERLAY_DTB_FILE="L4TConfiguration.dtbo,tegra234-carveouts.dtbo,tegra-optee.dtbo,tegra234-p3767-camera-p3768-gmsl-4lanes.dtbo";

and reflash the board to apply the change.

Hi KevinFFF,

Okay, I will try later, can we just re-flash dtb with dtbo ? Because we have many files in the SSD.

For Jetpack 6.0GA, the dtb is loaded from UEFI so that you should reflash the bootloader partition to apply the change for DTB.

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