hi,igor
thx , the tool i have been used !But the problem still sometimes occur the error !
Did you have any other method to fix it ? The problem is too urgent!
I think the make-sdcrad progress have something wrong ! Below is the log to use fsl-sdcard-partition.sh to make sdcard :
root@qiuhui:/home/qiuhui/lin/android_imx8/0929# ./fsl-sdcard-partition.sh -f imx8qm -b -F imx8qm -c 7 /dev/sdc
imx8qm bootloader offset is: 33
make gpt partition for android: partition-table-7GB.img
if=partition-table-7GB.img of=/dev/sdc bs=1k count=17 conv=fsyn
记录了17+0 的读入
记录了17+0 的写出
17408字节(17 kB)已复制,0.571704 秒,30.4 kB/秒
/dev/sdc:
re-reading partition table
GPT fdisk (gdisk) version 0.8.8
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!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Command (? for help):
Recovery/transformation command (? for help): Warning! This will probably do weird things if you've converted an MBR to
GPT form and haven't yet saved the GPT! Proceed? (Y/N):
Recovery/transformation command (? for help): Warning! Secondary header is placed too early on the disk! Do you want to
correct this problem? (Y/N): Have moved second header and partition table to correct location.
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/sdc.
The operation has completed successfully.
formating android images
format_partition: userdata:/dev/sdc10 ext4
mke2fs 1.42.9 (4-Feb-2014)
/dev/sdc10 已经挂载;will not make a 文件系统 here!
erase_partition: presistdata : /dev/sdc7 1M
dd if=/dev/zero of=/dev/sdc7 bs=1048576 conv=fsync count=1
记录了1+0 的读入
记录了1+0 的写出
1048576字节(1.0 MB)已复制,0.17011 秒,6.2 MB/秒
erase_partition: fbmisc : /dev/sdc11 1M
dd if=/dev/zero of=/dev/sdc11 bs=1048576 conv=fsync count=1
记录了1+0 的读入
记录了1+0 的写出
1048576字节(1.0 MB)已复制,0.17278 秒,6.1 MB/秒
erase_partition: misc : /dev/sdc5 4M
dd if=/dev/zero of=/dev/sdc5 bs=1048576 conv=fsync count=4
记录了4+0 的读入
记录了4+0 的写出
4194304字节(4.2 MB)已复制,0.698656 秒,6.0 MB/秒
[BEN]partition_list:boot_b recovery_b recovery_b vendor_b vbmeta_b
flash_partition: boot-imx8qm.img ---> /dev/sdc2
dd if=boot-imx8qm.img of=/dev/sdc2 bs=10M conv=fsync
记录了4+1 的读入
记录了4+1 的写出
50331648字节(50 MB)已复制,9.73984 秒,5.2 MB/秒
flash_partition: system_raw.img ---> /dev/sdc4
dd if=system_raw.img of=/dev/sdc4 bs=10M conv=fsync
记录了153+1 的读入
记录了153+1 的写出
1610612736字节(1.6 GB)已复制,262.502 秒,6.1 MB/秒
flash_partition: vendor_raw.img ---> /dev/sdc9
dd if=vendor_raw.img of=/dev/sdc9 bs=10M conv=fsync
记录了11+1 的读入
记录了11+1 的写出
117440512字节(117 MB)已复制,20.2174 秒,5.8 MB/秒
flash_partition: vbmeta-imx8qm.img ---> /dev/sdc13
dd if=vbmeta-imx8qm.img of=/dev/sdc13 bs=10M conv=fsync
记录了0+1 的读入
记录了0+1 的写出
4096字节(4.1 kB)已复制,0.0252025 秒,163 kB/秒
erase_partition: uboot : /dev/sdc
flash_partition: u-boot-imx8qm.imx ---> /dev/sdc
the bootloader partition size: 8159
dd if=/dev/zero of=/dev/sdc bs=1k seek=33 conv=fsync count=8159
记录了8159+0 的读入
记录了8159+0 的写出
8354816字节(8.4 MB)已复制,2.71896 秒,3.1 MB/秒
dd if=u-boot-imx8qm.imx of=/dev/sdc bs=1k seek=33 conv=fsync
记录了1084+1 的读入
记录了1084+1 的写出
1110524字节(1.1 MB)已复制,0.401033 秒,2.8 MB/秒