We are developing pci device driver.
We want to change device tree files(dtb) for the target.
Whenever we flashed the target board using -d option, It took a long time(20mins) and totally initialized the board.
We replaced only the device tree, so felt it was a little strange.
Here is the command we used.
“sudo ./flash.sh -d kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb jetson-agx-xavier-devkit mmcblk0p1”
Would you check if the command we used was wrong?
that’s correct usage,
-d command used to assign the path of the device tree blob.
however, this will actually perform the complete flash process to create the image blob and full-flash the target.
please also check Flash Script Usage.
you may use
-k options if you would like to have partition update, and please also include
-r options to skip building
system.img by reusing the existing binary file.
$ sudo ./flash.sh -r -k kernel-dtb jetson-agx-xavier-devkit mmcblk0p1
-k kernel-dtb command take the binary file,
$OUT/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb and flashing it to the
kernel-dtb partition, you should overwrite the binary file if you have your own customization.
there’s cboot options to load the device tree blob, please review the file,
you may add
FDT entry to load the kernel-dtb binary file from file system.
please check CBoot developer guide as see-also.
Now it works!!
Thank you for your quick reply.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.