Forum Discussion
Hi Jingyang,
Thanks for your response.
Are you able to see core-image-minimal-arria10.tar.gz in the specified directory? Becuase I am not able to see that if I built rootfs using nanbield branch?
FYI, I am able to build using nanbield branch only by removing linux-socfpga_6.6.bb file. But I cannot see core-image-minimal-arria10.tar.gz as mentioned in the documentation
So, I assumed core-image-minimal-arria10.rootfs.tar.gz as core-image-minimal-arria10.tar.gz and proceeded further for creating an SD image. But while, creating SD image, I see the below error. But surprisingly, I can see the sdcard_a10.img file built with 80MB size. However this is not booting the board. Kindly, look into this as it is blocking my work.
info: creating the image sdcard_a10.img
image removed
info: creating the partition table
image_name set to sdcard_a10.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
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.
Options:
-a Disable alignment of data structures
-A Toggle Atari variant of the filesystem
-b SECTOR Select SECTOR as location of the FAT32 backup boot sector
-c Check device for bad blocks before creating the filesystem
-C Create file TARGET then create filesystem in it
-D NUMBER Write BIOS drive number NUMBER to boot sector
-f COUNT Create COUNT file allocation tables
-F SIZE Select FAT size SIZE (12, 16 or 32)
-g GEOM Select disk geometry: heads/sectors_per_track
-h NUMBER Write hidden sectors NUMBER to boot sector
-i VOLID Set volume ID to VOLID (a 32 bit hexadecimal number)
-I Ignore and disable safety checks
-l FILENAME Read bad blocks list from FILENAME
Thanks
Sai