Hi ,
Installed android sdk and added make_f2fs path in imx-sdcard-partition.sh
still facing error in flashing Andorid 13 image on sd card.
$ sudo ./imx-sdcard-partition.sh -f imx8mp -c 28 /dev/sdc
make gpt partition for android: partition-table-28GB.img
17+0 records in
17+0 records out
17408 bytes (17 kB, 17 KiB) copied, 0.00608634 s, 2.9 MB/s
/dev/sdc:
re-reading partition table
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.
Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: ERROR
formating android images
format_partition: metadata:/dev/sdc10 f2fs
/usr/lib/android-sdk/platform-tools/make_f2fs: invalid option -- 'g'
Error: Unknown option ?
Usage: mkfs.f2fs [options] device [sectors]
[options]:
-a heap-based allocation [default:0]
-c [device path] up to 7 devices excepts meta device
-d debug level [default:0]
-e [cold file ext list] e.g. "mp3,gif,mov"
-E [hot file ext list] e.g. "db"
-f force overwrite the exist filesystem
-i extended node bitmap, node ratio is 20% by default
-l label
-m support zoned block device [default:0]
-o overprovision ratio [default:5]
-O [feature list] e.g. "encrypt"
-q quiet mode
-s # of segments per section [default:1]
-S sparse mode
-t 0: nodiscard, 1: discard [default:1]
-w wanted sector size
-z # of sections per zone [default:1]
sectors: number of sectors. [default: determined by device size]