Flashing Actual DTB

Hello ,

I had previously installed NVME SSD and copied the rootfs to ssd , Now i am facing a problem , I want to flash the dtb.

But the ./flash.sh script is updating the dtb on the SSD , not the actual dtb.

As the Xavier actually boots from 30gb SD Card provided, how can i flash the actual dtb ?

hello SuperSaiyanGoku,

please refer to Flash Script Usage,
you may include -k options and specify the device tree blob partition name for flash DTB binary.
for example,
$ sudo ./flash.sh -r -k kernel-dtb jetson-xavier mmcblk0p1

Hi Jerry , i am doing the exactly same thing , still DTB is not getting update !! my rootfs is on the ssd , which i have mounted on AGX Xavier , I suspect this ssd is causing this issue ?

i am using
cd Linux_for_Tegra/
sudo ./flash.sh -k kernel-dtb jetson-xavier mmcblk0p1

dmesg shows dtb is not getting updated , attaching reference image, as you can see dtb is showing its build date on 27th Oct 2020 !!

dtb not built

Also just to bring to your kind notice that i have a NVME SSD mounted on AGX Xavier , my rootfs has been migrated to SSD , System boots from SD card , but after that SSD takes over.

Proc folder on 30gb internal sd card is empyty ,

while the SSD Proc has teh device tree folder !!

Note that depending on setup the device tree might be found from a partition, or it might be found due to the FDT key/value pair in the “/boot/extlinux/extlinux.conf”. When you have multiple possible boot devices the “/boot” might be the one on eMMC, or it might be one from the alternate boot media. If you have an FDT key/value pair you might consider dropping in your new tree where the FDT can see it from the correct device (2 possible choices), or commenting out the FDT entry to instead use the partition (and it would be the partition on the eMMC). Think of it searching for the first tree, and if no FDT entry is found, then searching in the partition.

hello SuperSaiyanGoku,

please check Jetson Xavier’s CBoot chapter,
you may refer to [Kernel Boot Sequence Using extlinux.conf] session for the steps to load device tree blob from an extlinux.conf configuration file, i.e. FDT entry.
thanks

hello JerryChang ,

Actually there was a problem with my bootloader !! WayneWWW solved the issue , in this post !!

kernel_b was being used to boot , due to it , being set at high priority !!