ROCK64 : 1/3 USB port is working

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

ROCK64 : 1/3 USB port is working

Aldo Mazzeo
If anybody can guide me in the process, I could try to do it, as I have
exactly the same issue

Reply | Threaded
Open this post in threaded view
|

Re: ROCK64 : 1/3 USB port is working

Mark Kettenis
> Date: Sat, 29 Dec 2018 16:06:51 +0100
> From: Aldo Mazzeo <[hidden email]>
>
> If anybody can guide me in the process, I could try to do it, as I have
> exactly the same issue

Here is a a dtb file that enables the USB3 port:

  https://sibelius.home.xs4all.nl/firmware/rk3328-rock64/rk3328-rock64.dtb

Of the USB2 ports the bottom one works, but the top one doesn't seem
to work.  I think the top port is the OTG port, which is implemented
using a dwc2 controller.  While we do have a driver for that
conrtroller it probably doesn't work for this hardware.  The driver
doesn't work very well anyway, so you're probably better off ignoring
that port.

Cheers.

Mark

Reply | Threaded
Open this post in threaded view
|

Re: ROCK64 : 1/3 USB port is working

Thuban
* Mark Kettenis <[hidden email]> le [29-12-2018 23:10:05 +0100]:

> > Date: Sat, 29 Dec 2018 16:06:51 +0100
> > From: Aldo Mazzeo <[hidden email]>
> >
> > If anybody can guide me in the process, I could try to do it, as I have
> > exactly the same issue
>
> Here is a a dtb file that enables the USB3 port:
>
>   https://sibelius.home.xs4all.nl/firmware/rk3328-rock64/rk3328-rock64.dtb
>

Where do I copy this file to test usb3 port ?

> Of the USB2 ports the bottom one works, but the top one doesn't seem
> to work.  I think the top port is the OTG port,

Yes, you're right. Over it, it is written "OTG"/<usb logo>


Cheers
--
    thuban

Reply | Threaded
Open this post in threaded view
|

Re: ROCK64 : 1/3 USB port is working

Mark Kettenis
> Date: Sun, 30 Dec 2018 15:16:18 +0100
> From: Thuban <[hidden email]>
>
> * Mark Kettenis <[hidden email]> le [29-12-2018 23:10:05 +0100]:
> > > Date: Sat, 29 Dec 2018 16:06:51 +0100
> > > From: Aldo Mazzeo <[hidden email]>
> > >
> > > If anybody can guide me in the process, I could try to do it, as I have
> > > exactly the same issue
> >
> > Here is a a dtb file that enables the USB3 port:
> >
> >   https://sibelius.home.xs4all.nl/firmware/rk3328-rock64/rk3328-rock64.dtb
> >
>
> Where do I copy this file to test usb3 port ?

Into the rockchip subdirectoy of the msdos filesystem that contains
the OpenBSD bootloader.  Something like:

# mount /dev/sdNi /mnt
# mkdir /mnt/rockchip
# cp rk3328-rock64.dtb /mnt/rockchip
# umount /mnt

where N is probably 0 if you're using a uSD card as your boot disk and
1 if you're using eMMC.

Cheers,

Mark

Reply | Threaded
Open this post in threaded view
|

Re: ROCK64 : 1/3 USB port is working

Thuban
* Mark Kettenis <[hidden email]> le [30-12-2018 15:24:00 +0100]:

> > Date: Sun, 30 Dec 2018 15:16:18 +0100
> > From: Thuban <[hidden email]>
> >
> > * Mark Kettenis <[hidden email]> le [29-12-2018 23:10:05 +0100]:
> > > > Date: Sat, 29 Dec 2018 16:06:51 +0100
> > > > From: Aldo Mazzeo <[hidden email]>
> > > >
> > > > If anybody can guide me in the process, I could try to do it, as I have
> > > > exactly the same issue
> > >
> > > Here is a a dtb file that enables the USB3 port:
> > >
> > >   https://sibelius.home.xs4all.nl/firmware/rk3328-rock64/rk3328-rock64.dtb
> > >
> >
> > Where do I copy this file to test usb3 port ?
>
> Into the rockchip subdirectoy of the msdos filesystem that contains
> the OpenBSD bootloader.  Something like:
>
> # mount /dev/sdNi /mnt
> # mkdir /mnt/rockchip
> # cp rk3328-rock64.dtb /mnt/rockchip
> # umount /mnt
>
> where N is probably 0 if you're using a uSD card as your boot disk and
> 1 if you're using eMMC.
>
> Cheers,
>
> Mark
>

USB3 works with this file.
USB/OTG don't, but whatever.

Anyway, it could be nice to update with this last file.
Thanks !

--
    thuban

Reply | Threaded
Open this post in threaded view
|

Re: ROCK64 : 1/3 USB port is working

Aldo Mazzeo
Is OpenBSD using the DTSes from Linux mainline?

I guess that, if so, we need to wait for that patch to be accepted,
right?
If not, can this fix be committed (wherever it belongs to)?

Thanks,
Aldo

On 02/01/19 13:15:48, Thuban wrote:

> * Mark Kettenis <[hidden email]> le [30-12-2018 15:24:00 +0100]:
> > > Date: Sun, 30 Dec 2018 15:16:18 +0100
> > > From: Thuban <[hidden email]>
> > >
> > > * Mark Kettenis <[hidden email]> le [29-12-2018 23:10:05 +0100]:
> > > > > Date: Sat, 29 Dec 2018 16:06:51 +0100
> > > > > From: Aldo Mazzeo <[hidden email]>
> > > > >
> > > > > If anybody can guide me in the process, I could try to do it, as I have
> > > > > exactly the same issue
> > > >
> > > > Here is a a dtb file that enables the USB3 port:
> > > >
> > > >   https://sibelius.home.xs4all.nl/firmware/rk3328-rock64/rk3328-rock64.dtb
> > > >
> > >
> > > Where do I copy this file to test usb3 port ?
> >
> > Into the rockchip subdirectoy of the msdos filesystem that contains
> > the OpenBSD bootloader.  Something like:
> >
> > # mount /dev/sdNi /mnt
> > # mkdir /mnt/rockchip
> > # cp rk3328-rock64.dtb /mnt/rockchip
> > # umount /mnt
> >
> > where N is probably 0 if you're using a uSD card as your boot disk and
> > 1 if you're using eMMC.
> >
> > Cheers,
> >
> > Mark
> >
>
> USB3 works with this file.
> USB/OTG don't, but whatever.
>
> Anyway, it could be nice to update with this last file.
> Thanks !
>
> --
>     thuban
>