Is the flash supposed to show up?

Is it a blank MicroSD card or one that you previously wrote the 202306 Debian image to for the VF2 board ?

If it is the latter, it could be the first 2 partitions, they are a bit odd and might be confusing FreeBSD. On a VF2 board running the StarFive 202306 Debian image I see the following:

user@starfive:~$ sudo fdisk -l
Disk /dev/mtdblock0: 256 KiB, 262144 bytes, 512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock1: 3 MiB, 3145728 bytes, 6144 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock2: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk1: 28.82 GiB, 30941380608 bytes, 60432384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E05DB137-41F7-47A6-B1C1-E9BE91A4BC0E

Device          Start      End  Sectors  Size Type
/dev/mmcblk1p1   4096     8191     4096    2M HiFive BBL
/dev/mmcblk1p2   8192    16383     8192    4M HiFive FSBL
/dev/mmcblk1p3  16384   221183   204800  100M EFI System
/dev/mmcblk1p4 221184 60430335 60209152 28.7G Linux filesystem
user@starfive:~$

Another possibility is that the USB to SD card reader predates the SD card that you are using, by a generation or two, and does not know how to access a much larger card. I hit that problem long a go with a SD card reader designed for SD (maximum size 2GB) and I tried to use it with a SDHC (minimum size 2GB ; maximum size 32GB) and it was incomparable (It was like there was no card inserted). And I’m sure that you would have a similar problem with a SDXC (minimum size 32GB ; maximum size 2TB) or a SDUC card (minimum size 2TB ; maximum size 128TB) with an older generation of USB card reader.

1 Like