My device is Jetson AgX Orin Developer Kit,An error occurs when I use the command to burn
sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1 or sudo ./flash.sh 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
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,
thanks
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)
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
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_ Sync.sh download the source code and burn it through flash. Then it will still have the first error.
there are some bugs to fetch kernel sources via source_ sync.sh directly.
please see-also Topic 224160,
please update the script file to sync the source again. you may also use the attach nvbuild.sh to compile the sources.
thanks
Yes, I saw this topic. I changed the source according to the post_ Sync.sh file, but the above error will still occur. But I didn’t manage the nvbuild.sh file
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
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
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
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
you’ve already download JetPack release image with SDKManager, right?
then, the path is looking like below… ~/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/rootfs/usr/lib/modules/5.10.104-tegra/kernel/drivers/gpu/nvgpu/
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