Unable to flash bootloader without flashing the system.img?

Hi,

Is there a way to flash the bootloader without reflashing the system.img?

The main reason I’m asking is, because I’m not using Ubuntu, thus it would be a pain in the ass to generate the system.img.

Even “-r --no-systemimg” is specified for “flash.sh” it still fails due to zero sized systemimg:

...
[  10.0356 ] Writing partition master_boot_record with mbr_1_3.bin
[  10.0481 ] [................................................] 100%
[  10.0494 ] File to be written cannot be of zero size, pFileName=system.img
[  10.0567 ] 
Error: Return value 10
Command tegradevflash_v2 --pt flash.xml.bin --create
Failed flashing t186ref.

Is there anyway to skip system.img?

OK, modified the flash.sh to skip all the data copy and just create an empty fs as system.img

Really hate the way how l4t is forcing us to go…