1st time post. Just received my board. For the record, I’m making FreeBSD work (or bust …). Anyways…
I have the flash tiny board on the bit that ends in a micro-sd connector. I’ve plugged that into a microsd-to-usb and then into my FreeBSD host. da0 shows up — but I believe it’s the usb thing only — as it lists the media as “no present” …
The BSD family is still largerly unsupported now. Even FreeBSD in previous reports there was claimed to have only UART functionality, nothing else.
Besides, can you post a ready to boot image somewhere?
Nice that you’re optimistic… but we’re aways from working at that level. I was trying to poke the flash chip first. I may not need to — in which case, I’ll just start on the booting.
But certainly I’ll post here when things are good. Actually … it’s likely that official -CURRENT snapshots will work when I’m done. … but I will post when things are in a working state.
Most people here run Linux, but ofcourse, nobody discourages you trying something else
Even Linux is tied to StarFive source now, upstreaming process is quite tiresome.
Because most run Linux, I asked you to post bootable image somewhere or guide to get it up really quick.
You might be also interested in OpenBSD progress on RV arch: OpenBSD/riscv64 although they have only VF1 beta support now. Rumors do say there is JH7110 work done too but not official right now, you might want to save time digging there too.
Lots of good code has landed in the OpenBSD code base to support the VF2 board in the last month (next official release, 7.4, should be in October) that code might help with a FreeBSD port. I do not know if you saw this post I made.
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:
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.
Neither … I’m talking about the chip flash thing that is going to attach to the back of the board and the included thingie to transform that into a micro-ssd thing.
All I can suggest is to check the log files on FreeBSD and try the device on a different OS to confirm that there is not a hardware fault with the USB->MicroSD->eMMC module reader.
An eMMC module should show up just like any SD or MicroSD card would in system events. Try removing it and reinserting it a few times. The same may be necessary when putting it on the board. I had difficulty getting my VF2 board to see an eMMC module. It didn’t see it at all until the 3rd or 4th time I reattached it.
I spun up a FreeBSD 13.1 VirtualBox machine and ran a few commands accessing the 202306 Debian image file (Because I do not have an eMMC module and all my MicroSD cards are currently in use).
I’m asking because I am not sure what your hexdumps output is from, is is from a visionfive 2 debian image 202306 for eMMC and a visionfive 2 debian image 202306 for MicroSD cards or is it something else ?
As I tried to make clear, my hex dumps were a) the beginning of the emmc image and b) if that is considered to be a DOS filesystem iimage, the only two files on the image.
What did you write to the MicroSD card and the eMMC module ?
Was it any of the following files or something else ?
starfive-jh7110-202306-eMMC-minimal-desktop.img
starfive-jh7110-202306-SD-minimal-desktop.img
(starfive-jh7110-202306-nvme-minimal-desktop.img)
You have not said the source for the hexdump, what was written to the storage devices.
Should I assume that you wrote:
starfive-jh7110-202306-eMMC-minimal-desktop.img to the MicroSD card ?
starfive-jh7110-202306-SD-minimal-desktop.img to the eMMC ?
The location of the first two bootloaders should be the same for MicroSD card and eMMC module. And u-boot-spl.bin.normal.out (bootloader1 firmware ~128KiB) on the first partition would not have a filesystem. And visionfive2_fw_payload.img (bootloader2 firmware ~ 3MiB) on the second partition should not have a filesystem either since Das U-Boot is a heavily trimmed down Linux kernel.
EDIT:
Or is the MicroSD card and the eMMC module blank ? (well they probably shipped with a Microsoft exFAT filesystem on them)
If they are meant to be blank, but have a Microsoft exFAT filesystem on then and they were accessed by Windoze machines:
WPSettings.dat file is used to store Windows Phone’s settings.
IndexerVolumeGuid is generated by Microsoft Search to assign a unique identifier to the storage that is accessed.
This is just how the emmc came — I plugged it in … to get ready to work on the machine. But you’re description of what I can put there is good — I’ll do that. What partitioning method? MBR or GPT?
At a guess as part of the testing in the factory of the blank SSD they connected maybe a windows phone via Pogo pins maybe. It probably ran an application to format it exFAT and that is how those files ended up there. Or maybe it was a windows PC, but again connected via Pogo pins.