JMicron jms561 umass on arm64?
Peter Cornelius
pcc at gmx.net
Thu Apr 8 07:47:07 UTC 2021
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 reducing to a single Re: also is really embarrasing but there seems to be no 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 anything ... but an error (gone now, rpi4 continues to boot when I pull the keyboard 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 devices found, etc. ... but looks like life's not that easy. I'll dig further 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.
---
[1] I believe, https://www.jmicron.com/file/download/1026/JMS561_Product+Brief.pdf
[2] https://wiki.radxa.com/Dual_Quad_SATA_HAT
[3] Note: Later builds so far have not booted despite of current u-boot (March 2021)
FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31 UTC 2021
root at rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
> Gesendet: Mittwoch, 07. April 2021 um 23:15 Uhr
> Von: "bob prohaska" <fbsd at www.zefox.net>
> An: "Peter Cornelius" <pcc at gmx.net>
> Cc: "bob prohaska" <fbsd at 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, please?
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 work easily.
Thanks,
Peter.
---
[1] I believe, https://www.jmicron.com/file/download/1026/JMS561_Product+Brief.pdf
[2] https://wiki.radxa.com/Dual_Quad_SATA_HAT
[3] Note: Later builds so far have not booted despite of current u-boot (March 2021)
FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31 UTC 2021
root at rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
More information about the freebsd-arm
mailing list