Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2020 05:07:14 +0200
From:      =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
To:        Robert Crowston <crowston@protonmail.com>, freebsd-arm@freebsd.org
Subject:   bootverbose Test-session Re: Driver for Raspberry Pi 4 PCI-express controller
Message-ID:  <3040F106-13F6-462C-B655-DE7F79FFE52A@googlemail.com>
In-Reply-To: <t9qxjbkckKn-ohuWeAtdO6YomotuNUUJrldo1QJcMjWu7RcTaESt1LfG1uz3arRRVdbIbGDZcv3bfFODv0vxmdHa2r2sSQc3nQoZa3nKAGg=@protonmail.com>
References:  <Pm_LEzoJP7MAKrZ9L-pRYQ4-qTv7TK1QARu1mwqoNFS5mzra-4zmS_0WYotf7CKSKDoZ2fjC3BSEUGIy-k95Qv1g35Zq0AsfiXwLHXpS0bE=@protonmail.com> <7F058E92-DDD3-4728-9A51-09BF1D47855C@googlemail.com> <1RBZ-1AclgkiNDwWUqrWhun8T8YSAX6g64NeSc2DKy9EF1wGsJobselP4UYGflpcmbfUx3sEEM2YplIJOXPmZ6EG_GwiMC1_3GLrqpZxisQ=@protonmail.com> <46519DEB-E96D-43DD-B739-401F9F51371E@googlemail.com> <87EE030D-5323-477B-9FF3-CB8970138729@googlemail.com> <t9qxjbkckKn-ohuWeAtdO6YomotuNUUJrldo1QJcMjWu7RcTaESt1LfG1uz3arRRVdbIbGDZcv3bfFODv0vxmdHa2r2sSQc3nQoZa3nKAGg=@protonmail.com>

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


> Am 28.05.2020 um 20:45 schrieb Robert Crowston =
<crowston@protonmail.com>:
>=20
> I did test on a pi4 with the latest USB firmware. A keyboard =
functioned okay without me doing anything special.
>=20
> =E2=80=A6.
>>=20


O.K., here is a  funny bootverbose test-session (using Original =
rpi-power adaptor 3A & UPS(Uninterruptible power supply ) :


=E2=80=94Test No. 1  ( with connected HDMI-Display[and =
UART&USB-stick&keyboard/mouse]) -: =E2=80=94=E2=80=94=E2=80=94

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)
=E2=80=94 end Test No. 1 =E2=80=94

=E2=80=94Test No. 2  ( WITHOUT connected HDMI-Display [but with =
UART&USB-stick&keyboard/mouse] )   : =E2=80=94=E2=80=94=E2=80=94

=E2=80=A6blabla=E2=80=A6
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq =
9,10,11,12,13,14,15,16,17,18,19 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem =
0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on =
simplebus0
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 21 on =
simplebus0
c
pcib0: <BCM2838-compatible PCI-express controller> mem =
0x7d500000-0x7d50930f,0x7e00f300-0x7e00f31f irq 66,67 on simplebus2
pcib0: hardware identifies as revision 0x304.
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 77 at device 0.0 on pci0
pcib0: bcm_pcib_alloc_resource FAIL: type=3D3, rid=3D36, =
start=3D00000000f8000000, end=3D00000000f80fffff, =
count=3D0000000000100000, flags=3D40
pcib1: failed to allocate initial prefetch window: 0-0xfffff
pci1: <PCI bus> on pcib1
xhci0: <XHCI (generic) USB 3.0 controller> irq 78 at device 0.0 on pci1
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
=E2=80=A6blabla=E2=80=A6
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
ugen0.1: <0x1106 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on =
usbus0
=E2=80=A6blabla=E2=80=A6
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
=E2=80=A6blabla=E2=80=A6
xhci0: Resetting controller
ugen0.2: <Unknown > at usbus0 (disconnected)
Setting hostname: generic.
Setting up harvesting: =
[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,A=
TTACH,CACHED
=E2=80=A6blabla...
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: <vendor 0x2109 USB2.0 Hub> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on =
usbus0
uhub1: 4 ports with 4 removable, self powered
=E2=80=A6blabla=E2=80=A6
ugen0.3: <Mitsumi Electric Hub in Apple Extended USB Keyboard> at usbus0
uhub2 on uhub1
uhub2: <Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, =
rev 1.10/4.20, addr 2> on usbus0
=E2=80=A6blabla=E2=80=A6
uhub2: 3 ports with 2 removable, bus powered
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.5: <Mitsumi Electric Apple Extended USB Keyboard> at usbus0
ukbd0 on uhub2
ukbd0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev =
1.10/4.20, addr 4> on usbus0
=E2=80=A6blabla=E2=80=A6
Creating and/or trimming log filesugen0.6: <SanDisk Ultra USB 3.0> at =
usbus0
umass0 on uhub0
umass0: <SanDisk Ultra USB 3.0, class 0/0, rev 3.00/1.00, addr 5> on =
usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
.
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <SanDisk Ultra USB 3.0 1.00> Removable Direct Access SPC-4 SCSI =
device
da0: Serial Number 4C530000260314105595
da0: 400.000MB/s transfers
da0: 29327MB (60062500 512 byte sectors)
da0: quirks=3D0x2<NO_6_BYTE>
=E2=80=A6blabla=E2=80=A6
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ums0 on uhub2
ums0: <SIGMACHIP Usb Mouse, class 0/0, rev 1.10/1.10, addr 3> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=3D0
uhid0 on uhub2
uhid0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev =
1.10/4.20, addr 4> on usbus0

=E2=80=A6blabla=E2=80=A6

FreeBSD/arm64 (generic) (ttyu0)

login:=20
=E2=80=94=E2=80=94end Test No.2 =E2=80=94

Hot-Plugging the HDMI-Display freezed the system =E2=80=A6.

Next cold boot shows  gen0.2: <Unknown > at usbus0 (disconnected) again =
=E2=80=A6 system seems to be freezed again=E2=80=A6.
Next coldboot after hardreset WITHOUT UART : same :  gen0.2: <Unknown > =
at usbus0 (disconnected)
( no working keyboard ) .. plugging back the UART.. see again :
pcib0: bcm_pcib_alloc_resource FAIL: type=3D3, rid=3D36, =
start=3D00000000f8000000, end=3D00000000f80fffff, =
count=3D0000000000100000, flags=3D40
..shutdown -h now..=20
Next try with changing the HDMI-port but same Adaptor :
After pressing keyboard suddenly da0-detection : da0 at umass-sim0 bus 0 =
scbus0 target 0 lun 0
and system-freeze =E2=80=A6
Next hard reset =E2=80=A6. Goin`full risk to burn my new display :-) Ha =
Ha =E2=80=A6changed HDMI-cable=E2=80=A6
No HDMI but super strange console-output with loops like this(and the =
next system-freeze) :
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0 (disconnected)
ugen0.4: <SIGMACHIP Usb Mouse> at usbus0
Autoloading module: uhid.ko
Autoloading module: wmt.ko
Autoloading module: uhid.ko
Autoloading module: ums.ko
Autoloading module: uhid.ko
Autoloading module: ums.ko
Autoloading module: uhid.ko
Autoloading module: ums.ko
Autoloading module: uhid.ko
Autoloading module: ums.ko
Autoloading module: uhid.ko
=E2=80=A6

Next hardreset.. changing the HDMI-port(used other mini-dmi->HDMI- =
adaptor-cable)=E2=80=A6 got hdmi-output :
Pressing ENTER on the keyboard: login: ugen0.2: <Unknown > at usbus0 =
(disconnected).. system freezed again =E2=80=A6
=E2=80=A6.plugging back to other HDMI-port(got output means I failed in =
connecting the adaptor correctly:-) =E2=80=A6
Next system freeze : ugen0.2: <Unknown > at usbus0 (disconnected)=E2=80=A6=


To the opposite of the day before yesterday:=20
Tonight there was absolutely no way to get the keyboard to work what let =
me assume that the filesystem (or u-boot)
or eventually some hardware-chip was  =E2=80=9Eattacked=E2=80=9C by =
these tests=E2=80=A6=20

So at the moment I would be more careful recommending normal users to do =
more testing before fixing bugs in drivers (or U-Boot or elsewhere) =
better. For that reason I`ll better wait with Wiki-recommendatios=E2=80=A6=
.
This is only for the for the really crazy of us who are not afraid of =
toasted boards or something else ;-)
So for the really crazy of us( I guess near 100 percent;-)   : please =
help us debugging !

















Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3040F106-13F6-462C-B655-DE7F79FFE52A>