Date: Fri, 12 Nov 2021 11:54:24 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Milan Obuch <freebsd-usb@dino.sk>, freebsd-usb@freebsd.org Subject: Re: USBDMSC emulated device does not work on FreeBSD Message-ID: <6a6850f5-8233-aae7-8e65-42594402fcb5@selasky.org> In-Reply-To: <20211112095915.226af6be@zeta.dino.sk> References: <20211112095915.226af6be@zeta.dino.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/12/21 09:59, Milan Obuch wrote: > 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 > Hi, Can you share what is printed in dmesg? This command may also be useful. It will show which kernel drivers are attached to your device. usbconfig show_ifdrv --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a6850f5-8233-aae7-8e65-42594402fcb5>