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.
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.