Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2021 09:46:54 +0200
From:      Peter Cornelius <pcc@gmx.net>
To:        FreeBSD-arm@freebsd.org
Subject:   Re: JMicron jms561 umass on arm64?
Message-ID:  <trinity-c3148d05-2413-4522-b67d-8be37f8c0dad-1617868014706@3c-app-gmx-bs02>
In-Reply-To: <20210407211513.GA53438@www.zefox.net>
References:  <trinity-96292338-af50-4ea1-a4cf-0afcd97dfe35-1617806989816@3c-app-gmx-bs02> <20210407153732.GA50562@www.zefox.net> <trinity-2bcace35-09e8-4e81-87be-53287568c3c1-1617827433585@3c-app-gmx-bs02> <20210407211513.GA53438@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Bob,

> I'll do a little top-posting to sidestep the HTML mess below....
> [...]
> You'll likely get a wider readership of posts in plain text.

Sorry about that. My main box just broke and is in repair and the bl**min'=
 web GUI set HTML on *every single* message I send. I hope to have found a=
 permanent knob now, though. The stupid Aw: in the subject line, and not r=
educing to a single Re: also is really embarrasing but there seems to be n=
o knob for that... sigh! Not used to consumer UIs any more.

> usb reset

That cuts the branch I currently sit on (USB, HDMI). And does not show any=
thing ... but an error (gone now, rpi4 continues to boot when I pull the k=
eyboard off to type this). I'd love to boot (e. g. bootcmd_usb0) from the =
disks but to do that, I'd have to get them on-line first, I guess...

I also noted earlier, that, in my current setup, upon the first boot after=
 power-up, I have no means to interfere with the boot process at all until=
 FreeBSD was up at least once. Subsequent 'warm' reboots do give me access=
 to the boot prompts (u-boot, FreeBSD loaders).

I also was hoping that, once BSD's taking over, USB would be reset, all de=
vices found, etc. ... but looks like life's not that easy. I'll dig furthe=
r into U-Boot now as the root cause seems to live there...

> Since moving to a Pi4 (also running -current) I've had less trouble,
> so the Pi you're using seems to make a difference.

I have an RPI48GB with the current indicated below [3].

Thanks again, and

All the best,

Peter.

=2D--

[1] I believe, https://www.jmicron.com/file/download/1026/JMS561_Product+B=
rief.pdf
[2] https://wiki.radxa.com/Dual_Quad_SATA_HAT
[3] Note: Later builds so far have not booted despite of current u-boot (M=
arch 2021)
    FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31=
 UTC 2021
    root@rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC  arm64



> Gesendet: Mittwoch, 07. April 2021 um 23:15 Uhr
> Von: "bob prohaska" <fbsd@www.zefox.net>
> An: "Peter Cornelius" <pcc@gmx.net>
> Cc: "bob prohaska" <fbsd@www.zefox.net>
> Betreff: Re: Re: JMicron jms561 umass on arm64?
>
> Hi Peter,
>
> I'll do a little top-posting to sidestep the HTML mess below....
>
> Initially mine wasn't reliably detected on a Pi3B running -current,
> but a kind soul on the list explained a couple of tricks that you
> might find useful.
>
> Step 1 is to interrupt u-boot and poke around. There are two
> very useful commands,
> usb reset
>
> will probe the bus and report any mass storage devices it finds.
> On a Pi3 this command would repeatedly come up empty, only to work
> on a subsequent try.
>
> If you want to boot from a usb device try
> run bootcmd_usb0
> after it's been found.
>
> Since moving to a Pi4 (also running -current) I've had less trouble,
> so the Pi you're using seems to make a difference.
>
> I generally work through a serial console, but I believe u-boot knows
> how to talk to a usb keyboard and hdmi display.
>
> You'll likely get a wider readership of posts in plain text.
>
> Good luck,
>
> bob prohaska
>
> On Wed, Apr 07, 2021 at 10:30:33PM +0200, Peter Cornelius wrote:
> [Loads of HTML crap]

G'day, folks,

Is there, by chance, anyone out there who has a JMicron jms561-based USB3 =
'umass' kind of device up & running who can share experience or quirks, pl=
ease?

I'm trying to get mine [2] to work under FreeBSD [3] but it does not even =
show up with usbconfig list. While, with Raspbian, I was able to make it w=
ork easily.

Thanks,

Peter.

=2D--

[1] I believe, https://www.jmicron.com/file/download/1026/JMS561_Product+B=
rief.pdf
[2] https://wiki.radxa.com/Dual_Quad_SATA_HAT
[3] Note: Later builds so far have not booted despite of current u-boot (M=
arch 2021)
   FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31 =
UTC 2021
   root@rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC  arm64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-c3148d05-2413-4522-b67d-8be37f8c0dad-1617868014706>