make sd card image failed
Hi
I put the u-boot-spl in -P 2A and bin-image.bin in FAT32(sdfsys/*) trying to get a baremetal system.
And sudo python3 ./make_sd_image.py failed.
Error:
sudo python3 ./make_sdimage_p3.py -f -P u-boot-spl,num=3,format=raw,size=10M,type=2A -P sdfsys/*,num=1,format=fat32,size=100M -P rootfs/*,num=2,format=ext3,size=300M -s 512M -n MCV_SD_BM.img
info: creating the image MCV_SD_BM.img
info: creating the partition table
image_name set to MCV_SD_BM.img
Partition return code [ 0 ]
now delete loopback
info: processing partitions...
partition #3...
do_partition entry
partition #1...
do_partition entry
error: format: failed. Return code=1
params=['-F 32', '-I'], cmd=mkfs.vfat
stdout=mkfs.fat 4.2 (2021-01-31)
Bad FAT type : 32
stderr=Usage: mkfs.vfat [OPTIONS] TARGET [BLOCKS]
Create FAT filesystem in TARGET, which can be a block device or file. Use only
up to BLOCKS 1024 byte blocks if specified. With the -C option, file TARGET will be
created with a size of 1024 bytes times BLOCKS, which must be specified.
//================================== EOE
attached is the SD file I made.
Reguards
Alex