bootverbose Test-session Re: Driver for Raspberry Pi 4 PCI-express controller

Mark Millard marklmi at yahoo.com
Sun May 31 05:59:52 UTC 2020



On 2020-May-28, at 20:07, Klaus Küchemann via freebsd-arm <freebsd-arm at freebsd.org> wrote:


> 
>> Am 28.05.2020 um 20:45 schrieb Robert Crowston <crowston at protonmail.com>:
>> 
>> I did test on a pi4 with the latest USB firmware. A keyboard functioned okay without me doing anything special.
>> 
>> ….
>>> 
> 
> 
> O.K., here is a  funny bootverbose test-session (using Original rpi-power adaptor 3A & UPS(Uninterruptible power supply ) :
> 
> 
> —Test No. 1  ( with connected HDMI-Display[and UART&USB-stick&keyboard/mouse]) -: ———
> 
> ugen0.2: <Unknown > at usbus0 (disconnected)
> ugen0.2: <vendor 0x2109 product 0x3431> at usbus0
> ----
> xhci0: Resetting controller
> ugen0.2: <Unknown > at usbus0 (disconnected)
> ugen0.2: <Unknown > at usbus0 (disconnected)
> uhub0: at usbus0, port 1, addr 1 (disconnected)
> uhub0: detached
> uhub0 on usbus0
> uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
> uhub0: 5 ports with 4 removable, self powered
> xhci0: Resetting controller
> ugen0.2: <Unknown > at usbus0 (disconnected)
> ugen0.2: <Unknown > at usbus0 (disconnected)
> uhub0: at usbus0, port 1, addr 1 (disconnected)
> uhub0: detached
> uhub0 on usbus0
> uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
> uhub0: 5 ports with 4 removable, self powered
> xhci0: Resetting controller
> ugen0.2: <Unknown > at usbus0 (disconnected)
> ugen0.2: <Unknown > at usbus0 (disconnected)
> uhub0: at usbus0, port 1, addr 1 (disconnected)
> uhub0: detached
> uhub0 on usbus0
> uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
> uhub0: 5 ports with 4 removable, self powered
> ugen0.2: <Unknown > at usbus0 (disconnected)
> — end Test No. 1 —
> 
> —Test No. 2  ( WITHOUT connected HDMI-Display [but with UART&USB-stick&keyboard/mouse] )   : ———
> 
> . . .
> ——end Test No.2 —
> 
> Hot-Plugging the HDMI-Display freezed the system ….
> 
> . . .

I do not know if the following has any significance
or not.

I got as far as seeing if my lumina build was working
on the NetBSD RPi4 configuration I've been testing
doing builds on.

This means that I plugged in a keyboard and mouse
(and I had earlier booted with the HDMI connected).
This was to a USB2 port, not USB3. The RPi mouse
was plugged into an RPi keyboard and the RPi
keyboard was in turn plugged into the RPi4.

A while after having quit lumina (so proving the
mouse was working while using lumina). . .

[ 1036.8743574] wsmouse0: detached
[ 1036.8743574] ums0: detached
[ 1036.8843604] uhidev2: detached
[ 1036.8843604] uhidev2: at uhub3 port 2 (addr 5) disconnected
[ 1038.8143543] uhidev2 at uhub3 port 2 configuration 1 interface 0
[ 1038.8143543] uhidev2: PixArt (0x093a) USB Optical Mouse (0x2510), rev 1.10/1.00, addr 5, iclass 3/1
[ 1038.8343570] ums0 at uhidev2: 3 buttons and Z dir
[ 1038.8343570] wsmouse0 at ums0 mux 0

So I tried plugging in to a RPI4 USB3 port instead
and started up and used lumina for a bit and then
quit lumina. After a while:

[ 2030.8193248] wsmouse0: detached
[ 2030.8193248] ums0: detached
[ 2030.8193248] uhidev2: detached
[ 2030.8193248] uhidev2: at uhub3 port 2 (addr 5) disconnected
[ 2032.7593189] uhidev2 at uhub3 port 2 configuration 1 interface 0
[ 2032.7593189] uhidev2: PixArt (0x093a) USB Optical Mouse (0x2510), rev 1.10/1.00, addr 5, iclass 3/1
[ 2032.7793222] ums0 at uhidev2: 3 buttons and Z dir
[ 2032.7793222] wsmouse0 at ums0 mux 0

(Other than the timestamps, it is the same text for
both port types.)

With the keyboard/mouse combination left connected,
these messages repeated periodically:

[ 2030.8193248] wsmouse0: detached
. . .
[ 2093.0289255] wsmouse0: detached
. . .
[ 2154.9885123] wsmouse0: detached


The file system was on a USB3 SSD plugged into
one of the USB3 ports. That was it for USB
connections. The USB SSD continued to operate
well.

(There is a fan, EtherNet, and the serial console
as well. The power supply is rated for 5.1V 3.5A.)


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



More information about the freebsd-arm mailing list