Hi :
I used the script flash.sh in Linux_for_tegra folder to flash the Orin devkti.
to write our customer dtb tegra234-p3701-0000-p3737-0000.dtb
./flash.sh -r -k kernel-dtb jetson-agx-orin-devkit mmcblk0p1
but met some errs:
the last log is:
[ 5.2831 ] Erasing partition
[ 5.2933 ] tegradevflash_v2 --erase kernel-dtb
[ 5.2941 ] Bootloader version 01.00.0000
[ 5.2957 ] 000000004e4e090d: E> NV3P_SERVER: Failed to open partition kernel-dtb.
[ 5.3076 ]
[ 5.3076 ] [Failed]
[ 5.3076 ]
Error: Return value 13
Command tegradevflash_v2 --erase kernel-dtb
Failed to flash/read t186ref.
I want to know how to update customer dtb file !
thanks
make dtbs get the arch/arm64/boot/dts/nvidia/tegra234-p3701-0000-p3737-0000.dtb file
4.copy tegra234-p3701-0000-p3737-0000.dtb to Linux_for_Tegra/bootloader/kernel_tegra234-p3701-0000-p3737-0000.dtb
5 ./flash.sh -r -k A_kernel-dtb jetson-agx-orin-devkit mmcblk0p1
and flash success! below picture is the log.
hi dear lhoang:
I changed the file Linux_for_Tegra/kernel/dtb/tegra234-p3701-0000-p3737-0000.dtb
./flash.sh -r -k A_kernel-dtb jetson-agx-orin-devkit mmcblk0p1
and flash success!
reboot the orin devkit , n /proc/device-tree can not find the mogo node.
it seems that the dtb file have not updated.
I use cmd dtc -I dtb -O dts tegra234-p3701-0000-p3737-0000.dtb > c.dts on jetson ,and find c.dts file donโt have mogo node.
I am sure in Linux_for_tegra folder /kernel/dtb/tegra234-p3701-0000-p3737-0000.dtb has mogo node .
hi lhoang:
follow your suggest.remove /boot/dtb/kernel_tegra234-p3701-0000-p3737-0000.dtb then reboot is ok!
thanks!
But I am confusing that even copy the /boot/tegra234-p3701-0000-p3737-0000.dtb which has mogo node to /boot/dtb/kernel_tegra234-p3701-0000-p3737-0000.dtb then reboot .in /proc/device-tree still have not mogo node.