./flash.sh -k kernel-dtb jetson-agx-orin-devkit mmcblk0p1 error

./flash.sh -k kernel-dtb jetson-agx-orin-devkit mmcblk0p1

show error
Error: Return value 13
Command tegradevflash_v2 --erase kernel-dtb
Failed to flash/read t186ref.

how to fix ??

orin_flash_kernel_dtb.log (53.9 KB)

./flash.sh jetson-agx-orin-devkit mmcblk0p1
It is ok …

A_kernel-dtb. Not kernel-dtb.

A_kernel-dtb ?? Is there any relevant documentation??

./flash.sh -k A_kernel-dtb jetson-agx-xavier-devkit mmcblk0p1

[ 5.7735 ] Writing partition A_kernel-dtb with /home/share/HD2/NVDIA_DATA/Tegra186_git_3410_org/tegra186/Linux_for_Tegra/bootloader/kernel_tegra234-p3701-0000-p3737-0000.dtb [ 307512 bytes ]

I have confirmed that the kernel_tegra234-p3701-0000-p3737-0000.dtb file is correct! But it is still old after rebooting

1 Like
  1. You can refer to the boot partition xml file. flash.xml in your bootloader folder. This will tell the partition name.

  2. Check /boot/extlinux/extlinux.conf.

1 Like

Check /boot/extlinux/extlinux.conf.
FDT /boot/dtb/kernel_tegra234-p3701-0000-p3737-0000.dtb
This file has not been replaced

But DTB can be changed after manual copying and replacement, and it is valid after restarting

If FDT is set in extlinux.conf, then the dtb will be loaded from file system.

Your “flash -r -k xxxx” is flashing to partition. Partition is not equal to file system.

hello, channinglan:
Do you update the DTB use ./flash -k kernel-dtb jetson-agx-orin-devkit mmcblk0p1? I 'm failed to update tegra234-p3701-0000-p3737-0000.dtb , flash the dtb allways kernel_tegra234-p3701-0000-p3737-0000.dtb ,but my target dtb is tegra234-p3701-0000-p3737-0000.dtb

Are you able to finish reading the whole thread? The discussion already told how to update it…

1 Like

Hi,
Please help me to check DTB steps of to update;
Like this:
1、 copy tegra234-p3701-0000-p3737-0000.dtb to Linux_for_Tegra/kernel/dtb/tegra234-p3701-0000-p3737-0000.dtb;
2、remove FDT in /boot/extlinux/extlinux.conf;
3、 sudo ./flash.sh -r -k A_kernel-dtb jetson-agx-orin-devkit mmcblk0p1
4、After reboot , cd /boot/dtb remove kernel_tegra234-p3701-0000-p3737-0000.dtb ;
5、reboot;

4、After reboot , cd /boot/dtb remove kernel_tegra234-p3701-0000-p3737-0000.dtb ;

This is not needed. After doing (2), you don’t need to care about dtb file in filesystem.

   thanks for you replay. I

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