Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2021 14:53:36 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Peter Cornelius <pcc@gmx.net>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: JMicron jms561 umass on arm64?
Message-ID:  <7B26049E-BA67-4E23-A558-2D29CB65108A@yahoo.com>
In-Reply-To: <trinity-17aa86d8-be8c-434e-9815-443ce0ce0d54-1617993216878@3c-app-gmx-bs30>
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> <trinity-c3148d05-2413-4522-b67d-8be37f8c0dad-1617868014706@3c-app-gmx-bs02> <A2E9C605-ABB3-40E3-931C-7FB10CDD0990@yahoo.com> <20210408150934.GA99223@www.zefox.net> <694B7C84-E627-4E17-9148-4C4BB54FAD17@yahoo.com> <trinity-93090f7c-f2f9-4cec-8b27-1af7de718f7a-1617905889857@3c-app-gmx-bs32> <5099D78C-6656-4E4A-9F20-23F31A4397FE@yahoo.com> <trinity-17aa86d8-be8c-434e-9815-443ce0ce0d54-1617993216878@3c-app-gmx-bs30>

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


On 2021-Apr-9, at 11:33, Peter Cornelius <pcc at gmx.net> wrote:

> . . ..
>=20
> Returning to my initial issue, what puzzles me is that I do not seem =
to be able to see the hat [2] at all while
> (a) Raspbian did see it (and the disks, so I understand that the hat =
is in order),

I looked on https://wiki.radxa.com/Dual_Quad_SATA_HAT/
and there were instructions for getting it working
on "raspian" (old name these days) and ubuntu that
involve use of:

curl -sL https://rock.sh/get-rockpi-sata | sudo -E bash -

Things like the following are involved in the
execution of the script that the above uses:

"https://s3.setq.io/rockpi/deb/raspi-sata-${VERSION}.deb"
"https://s3.setq.io/rockpi/pypi/Adafruit_SSD1306-v1.6.2.zip"
"python3-rpi.gpio python3-setuptools python3-pip python3-pil =
python3-spidev pigpio python3-pigpio"
"Daemon required to control GPIO pins via pigpio" (ubuntu context)
dtb_enable() {
  python3 /usr/bin/rockpi-sata/misc.py open_w1_i2c
}
pigpiod.service
rockpi-sata.service

The PINOUT shows "reset SATA3/4" function GPIO_RST2 on pin #37
of the 40 PIN GPIO header and "reset SATA 1/2" function
GPIO_RST1 on pin #22 of that header. (There is more but
this much seems to establish that more than USB is involved
in using SATA drives.)

(I'll not list it all for the GPIO header use.)

It looks far from automatic on RaspiOS or ubuntu, much
less FreeBSD (that they do not support).

Is there evidence someplace that these instructions are
no longer needed, even for what operating systems they
do support?

> (b) There are reports that the JMS561 [1] should be detected also by =
FreeBSD, and
> (c) FreeBSD does detect any other USB device I I can find and hook up =
to either one of the USB3 ports (indicating that the RPI is fine).
>=20
> In short, my expectation (hope?) was that I hook up the board and =
proceed with the disks, or at least be able to re-set the bus so that it =
finds at least a ugen device to build upon, but as-is, no trace of any =
device... I'm a bit lost and would appreciate any pointers.
>=20
> Thanks again, and
>=20
> All the best,
>=20
> Peter.
>=20
> ---
>=20
> [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 =
Firmware/Das U-Boot (March 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
> [4] =
https://jamesachambers.com/raspberry-pi-4-bootloader-firmware-updating-rec=
overy-guide/
> [5] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252971

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B26049E-BA67-4E23-A558-2D29CB65108A>