Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2021 09:59:15 +0100
From:      Milan Obuch <freebsd-usb@dino.sk>
To:        freebsd-usb@freebsd.org
Subject:   USBDMSC emulated device does not work on FreeBSD
Message-ID:  <20211112095915.226af6be@zeta.dino.sk>

next in thread | raw e-mail | index | archive | help
Hi,

recently I got PolarFire SoC FPGA based board I am working on FreeBSD
support for. As a non volatile storage, it has eNVM used for HSS and
eMMC as disk device.

After reset, first thing run is HSS, which loads U-Boot from eMMC and
usual boot process continues. It is possible, however, break the
process and issue 'usbdmsc' command on HSS prompt. eMMC is then
presented as USB disk.

This works on Windows, and one or more (depends on partition table used
on eMMC) disk drives are presented to system. It is possible to use
balenaEtcher software to put some image there and do something with it.

This does not work on FreeBSD. I see device being attached after
starting 'usbdmsc' command, but no USB drive is being created. Could
someone help me to diagnose this? Which command output (maybe
'usbconfig <something>') could offer some hint?

Regards,
Milan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211112095915.226af6be>