Dragonboard system partition reize

I have created new gpt_both0.bin as mentioned in the below link(Create gpt_both0.bin), but used android partition table "dragonboard410c/android/partitions.txt’

db-boot-tools.git latest commit: 547480cbf94e47ad54b01c25f65b805e30bba3ba

When i tried to flash it to the dragonboard, it fails.

target reported max download size of 268435456 bytes
sending ‘partition’ (33 KB)…
OKAY [ 0.006s]
writing ‘partition’…
FAILED (remote: failed to write partition)
finished. total time: 0.034s

Then I tried to created it for linux, flashing to the dragonboard works without any problem.

please guide me to fix the issue as well as support me to extend the system partition size to more capacity like 4GB/5GB.