I want to know the reason why my latest built DTB files are not getting updated in the target , even though I am using the same build and flash procedure from past 1 month which was working before.
Even though I built the kernel freshly and flashed, the /boot/DTB/ folder is having old dated Nov 9th DTB file. [kernel_tegra194-p2888-0008-p2822-0000]
Thanks. I will try this and let you know.
The help for “-r” says that
" -r -------------------- skip building and reuse existing system.img."
May be my target board was booting from already existing image in its eMMC memory and not taking my new image and DTB files?? Is my understanding correct?
When you use “-r”, it will not generate a new system.img based on your new stuff, for example, new dtb in kernel/dtb or new things added to rootfs will not appear. It will just use system.img previously generated in your last flash.
For example, if your last flash time was 11/8/2023, then with -r flash.sh, it will always use 11/8 image and will not create a new one.
If you didn’t flash anything before from this BSP and there is no existing system.img, then running -r flash.sh will report error because there is no previous image.
In the below folder you can see the “rootfs” folder is a seperate folder and “kernel” folder is seperate. Just want to get clarified, that system.img is built from “rootfs” folder as well as taking dtb files/img file present inside my “kernel” folder as well.
pls confirm. Thanks.
Original dtb may get signed or something else to become kernel_xxxx.dtb and copied to your rootfs/boot/dtb. That is why you can see dtb under /boot/dtb on your jetson.
Thanks a lot. I learnt many things today. I can see my latest built image and master dtb [kernel_xxxx.dtb] file being copied to “roofs/boot” folder as shown below.
ok fine. Is there any working flash.sh command with parameters passed, you know which will flash only my DTB( kernel_XXX) or only my kernel image ( Image file) so that I can save time each time i flash my target to check my device tree code changes.
Because this full flash command is taking me 30 mins to flash each time.