Error: missing dtbfile

My device is Jetson AgX Orin Developer Kit,An error occurs when I use the command to burn
sudo ./ jetson-agx-orin-devkit mmcblk0p1 or sudo ./ jetson-agx-orin-devkit-as-jao-40w mmcblk0p1
Error: missing dtbfile (/home/dji/nvidia/nvidia_sdk/JetPack_5.0.1_DP_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/kernel/dtb/tegra234-p3701-0000-as-p3701-0004-p3737-0000.dtb).

Can you help me or can you provide me with a detailed process for obtaining the kernel source code? Thank you

Your topic was posted in the wrong category. I am moving this to the Jetson AGX Orin category for visibility.

Thank you very much. Good luck

hello liuzhiyuan0821,

may I know how you download the release image?
BTW, could you please use NVIDIA SDK Manager, you may also install JetPack 5.0.2 since it’s production release,

I can use SDK manager to burn images and CUDA and tensor. I use version 5.0.1. Then I passed. / source_ sync. sh -k jetson_ 34.1.1 downloaded my source code because I think I need to modify the source code in the future. Then I use sudo. / flash SH Jetson AgX Orin devkit mmcblk0p1 burned my Orin. It reported the above error. The error file is below. thank you very much。When I use 5.0.2, there will be more bugs. I want to use 5.0.1 because I have mastered the ability to burn 5.0.1 through sdkmanger.
flash_error.txt (15.6 KB)

hello liuzhiyuan0821,

actually, this is developer preview release and it’ll deprecate soon.

Hi, when I use SDK manager, there are two versions of 5.0.2, one is 5.0.2 runtime and the other is 5.0.2. Which one should I use. In addition, I would like to ask if I want to change the kernel later and burn the changed kernel to Orin using USB. Is there a detailed burning process document. I’ve been looking for it on the forum for a long time. Maybe I can’t find it. thank you

I use 5.0.1 because I am worried that the new version of 5.0.2 is unstable, so I want to use the version of 5.0.1

hello liuzhiyuan0821,

you may select JetPack 5.0.2.
please check /boot/extlinux/extlinux.conf, there’s LINUX entry to specify kernel, you may update the binary file to apply your kernel image.
JetPack 5.0.2 is production release, ideally, it’s more reliable than JetPack 5.0.1 developer preview release.

HI,I used version 5.0.2 for burning. I used source_ download the source code and burn it through flash. Then it will still have the first error.

hello liuzhiyuan0821,

there are some bugs to fetch kernel sources via source_ directly.
please see-also Topic 224160,
please update the script file to sync the source again. you may also use the attach to compile the sources.

Yes, I saw this topic. I changed the source according to the post_ file, but the above error will still occur. But I didn’t manage the file

I obtained the kernel code according to the steps in the following page;
I want to ask the steps in this page:

  1. Replace Linux_for_Tegra/rootfs/usr/lib/modules/$(uname r)/kernel/drivers/gpu/nvgpu/nvgpu.ko with a copy of this file:
  2. For the device tree, replace the files in Linux_for_Tegra/kernel/dtb/ with a copy from:
  3. Replace Linux_for_Tegra/kernel/Image with a copy of this file:
    Hello, where is the location of the file I need to replace? When I replace the jetpack I downloaded using the SDK Manager_ 5.0.2_ Linux_ JETSON_ AGX_ ORIN_ Target directory, and then use the command sudo. / flash SH Jetson AgX Orin devkit mmcblk0p1 can be burned successfully. However, when I burn, I cannot open the DP screen, but the startup progress can be displayed on the DP screen. thank you

hello liuzhiyuan0821,

you don’t need to re-flash the target since it’s loadable kernel module, and Orin is able to read kernel and device tree via file system.
please review /boot/extlinux/extlinux.conf, you should update LINUX and FDT entry for loading your customize binaries.

Hi, I don’t need to load my custom kernel module. I just want to download the source code and then write flash through flash script. But I don’t know where there are detailed steps. In this page Kernel Customization — Jetson Linux<br/>Developer Guide 34.1 documentation I only saw how to download the source code. I finished building the kernel: in the following steps
Replace Linux_ for_ Tegra/rootfs/usr/lib/modules/$(uname -r)/kernel/drivers/gpu/nvgpu/nvgpu. ko with a copy of this file:
$kernel_ out/drivers/gpu/nvgpu/nvgpu.ko
For the device tree, replace the files in Linux_ for_ Tegra/kernel/dtb/ with a copy from:
$kernel_ out/arch/arm64/boot/dts/nvidia/
Replace Linux_ for_ Tegra/kernel/Image with a copy of this file:
$kernel_ out/arch/arm64/boot/Image
I want to know the Linux here_ for_ Where do Tegra / rootfs / usr / lib / modules / $(uname - R) / kernel / Drivers / GPU / nvgpu / nvgpu.ko come from? Can you tell me the detailed steps

hello liuzhiyuan0821,

sorry, I do not fully understand your question.
may I know what’s your use-case? you may also check r35.1 developer guide, Flashing Script Usage.

Hi, I can brush Orin through SDK manager, but there is another method, sudo. / flash SH jetson-agx-orin-devkit mmcblk0p1, I want to know what the steps of this flash method are, so I found this page and unzipped tar - XJF public according to the steps in the page_ sources. Tbz2, but Linux in step 5, 6 and 7 of the steps to build the kernel on this page_ for_ Tegra / rootfs / usr / lib / modules / $(uname - R) / kernel / Drivers / GPU / nvgpu / nvgpu.ko where is the address of this directory

hello liuzhiyuan0821,

you’ve already download JetPack release image with SDKManager, right?
then, the path is looking like below…

hi,I have completely mastered burning images and components through SDK or flash. Now I want to make an image. I know that I use flash Sh-k-g-app, but I don’t know what the specific steps are. Can you tell me? Or give me a reference document. thank you

hello liuzhiyuan0821,

did you meant image cloning?

please refer to developer guide for Flashing Script Usage.
the sample command is… $ sudo ./ -r -k APP -G <clone> <board> mmcblk0p1