From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12022 invoked from network); 11 Jul 2023 02:15:36 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 11 Jul 2023 02:15:36 -0000 Received: from a11-17.smtp-out.amazonses.com ([54.240.11.17]) by 9front; Mon Jul 10 22:14:21 -0400 2023 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ksbakcmhnrcpdgc72v4bxrexwvwgvpwk; d=mapinternet.com; t=1689040548; h=From:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:To:In-Reply-To:Message-Id; bh=rBbx2QdtIFLeW6L0TwgMrxWEuwwpUExlYloqjzoShQU=; b=aXcZdgzxqHkXGVy3BmIt1/AbC6WxjuFKDKDVETtNrOKvpY5rSfI5Z/JTlxfVEPfN AfdanrZk0D4PBvhhLz0+IefjxsfmpOxnGxnWaRQcOKXbeL1/jAsriqrtLMnXwSy4Ujo oyG+sfY7N8Pti6GugJhE5XKF76AYTIUexoFmAb+8= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1689040548; h=From:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:To:In-Reply-To:Message-Id:Feedback-ID; bh=rBbx2QdtIFLeW6L0TwgMrxWEuwwpUExlYloqjzoShQU=; b=M5fg+af0xLNgsqQRx6njR8zBmsDakv9wbe20iHP1CjEsci4S0VrY97OrLXfyEGPf N4WSgj8GG9aQ0t4VHdK0+w+GIzZaTSbL0H5Y3ArMzTOjSi6sjWLuUknUFYijWa7UfpL 8Fndu6iaynMM4zQJcNHo6z0onZ+2Y+Hww51s6d4c= X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=166.171.187.85; envelope-from=; From: Mack Wallace Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Date: Tue, 11 Jul 2023 01:55:48 +0000 References: <01000189424eb99d-971534eb-a1fc-44dc-9bad-4873a31c8448-000000@email.amazonses.com> To: 9front@9front.org In-Reply-To: <01000189424eb99d-971534eb-a1fc-44dc-9bad-4873a31c8448-000000@email.amazonses.com> Message-ID: <0100018942a971ef-d3f903e0-d45a-486a-b945-67c0a3fbf718-000000@email.amazonses.com> X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Qnum: 1347140237 X-Authenticated-User: mackbw@mapinternet.com Feedback-ID: 1.us-east-1.X+xhoL9JiEQ8K0gzGjV36WZnSewOzOs8YCWuakKsLBY=:AmazonSES X-SES-Outgoing: 2023.07.11-54.240.11.17 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: DOM configuration NoSQL-oriented locator Subject: Re: [9front] CM4 and USB ports Reply-To: 9front@9front.org Precedence: bulk Followed my hunch and added usbdwc into the pi4 config - both excluding = and including usbxhcipci. However, all I got was the kernel to hang = after CPU 2, 3 and 4 are detected. I=E2=80=99m probably missing = something, as I vaguely remember having to change another file / device = table when I added uartpl011 two years ago.. but don=E2=80=99t know=E2=80=A6= will dig into it tomorrow - and maybe someone will have some advice. Regards, mackbw > On Jul 10, 2023, at 8:16 PM, Mack Wallace = wrote: >=20 > I have a Super6c Pi cluster board and am trying to get 9front and the = CM4 working with the two USB 2.0 ports that are on the board. They work = fine with Raspberry Pi OS, but are unrecognized when booting 9front. I = read that the CM4 USB port are disabled by default and require either = dtoverlay=3Ddwc2,dr_mode=3Dhost or otgmode=3D1 statements in config.txt. = I copied the CM4 device blobs, fixup and start files into the boot = directory of 9front, with no luck. Since the Raspberry Pi OS worked, and = wondering if this was an issue occurring before the kernel load, I = copied the 9pi4 kernel onto my Raspberry Pi OS boot and explicitly = called for it to be loaded instead of the linux kernel. Still no luck. >=20 > After looking through kmesg and dmesg, I realized that the USB host = controller in this case is not on the PCI bus. I am wondering if that is = the snag - and I=E2=80=99m not loading an appropriate driver for it. >=20 > Below is the kmesg from 9front and an excerpt from RPiOS dmesg > Hoping someone else had run into this and it is an easy fix.=20 >=20 > mackbw >=20 > -KMESG- > 127 holes free > 0x004c0000 0x3b300000 988020736 > 988020736 bytes free >=20 > Plan 9 > Cpu0: 1500MHz ARM Cortex-A72 r0p3 > 8051M memory: 947M kernel data, 7104M user 31242M swap > *pciwin: 0x600000000 0x640000000 > *pcidmawin: 0x400000000 0x600000000 > Pcireset: why link is down > #l0: genet: 1000Mbps port 0xFFFFFFFFBD580000 irq 189 ea d83add090ba5 > Cpu2: 1500Mhz ARM Cortex-A72 r0p3 > Cpu3: 1500Mhz ARM Cortex-A72 r0p3 > Cpu4: 1500Mhz ARM Cortex-A72 r0p3 > bootfs: Sun Jun 25 15:14:05 GMT 2023 > fingerprint: a0cbdb2b4ebdcbc855d746ff06eb79ebfd01d97c > #l0: phy0 id 600d84a2 oui 80361 > usb/usbd: no hubs >=20 > /dev/sdM0: BCM SD Host Controller 02 Version 10 > /dev/sdM0/data > /dev/sdM0/ntfs > /dev/sdM1: BCM SD Host Controller 02 Version 10 > /dev/sdM2: BCM SD Host Controller 02 Version 10 > Bootargs is (tcp, pls, il, local!device)[] >=20 >=20 > -DMESG- > [ 1.353831] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 = ranges: > [ 1.353868] brcm-pcie fd500000.pcie: No bus range found for = /scb/pcie@7d500000, using [bus 00-ff] > [ 1.353957] brcm-pcie fd500000.pcie: MEM = 0x0600000000..0x063fffffff -> 0x00c0000000 > [ 1.354050] brcm-pcie fd500000.pcie: IB MEM = 0x0000000000..0x01ffffffff -> 0x0400000000 > [ 1.355097] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00 > [ 1.355119] pci_bus 0000:00: root bus resource [bus 00-ff] > [ 1.355137] pci_bus 0000:00: root bus resource [mem = 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff]) > [ 1.355216] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400 > [ 1.355485] pci 0000:00:00.0: PME# supported from D0 D3hot > [ 1.359322] pci 0000:00:00.0: bridge configuration invalid ([bus = 00-00]), reconfiguring > [ 1.359593] pci_bus 0000:01: supply vpcie3v3 not found, using dummy = regulator > [ 1.359786] pci_bus 0000:01: supply vpcie3v3aux not found, using = dummy regulator > [ 1.359907] pci_bus 0000:01: supply vpcie12v not found, using dummy = regulator > [ 1.677581] brcm-pcie fd500000.pcie: link down > [ 1.677750] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated = to 01 > [ 1.677788] pci 0000:00:00.0: PCI bridge to [bus 01] > [ 1.677891] pci_bus 0000:01: busn_res: [bus 01] is released > [ 1.678762] pci_bus 0000:00: busn_res: [bus 00-ff] is released > =E2=80=A6 > [ 1.794939] usbcore: registered new interface driver r8152 > [ 1.795041] usbcore: registered new interface driver lan78xx > [ 1.795105] usbcore: registered new interface driver smsc95xx > [ 1.821348] xhci-hcd fe9c0000.xhci: xHCI Host Controller > [ 1.821387] xhci-hcd fe9c0000.xhci: new USB bus registered, = assigned bus number 1 > [ 1.821836] xhci-hcd fe9c0000.xhci: USB3 root hub has no ports > [ 1.821856] xhci-hcd fe9c0000.xhci: hcc params 0x0220fe65 hci = version 0x110 quirks 0x0000000000010010 > [ 1.821965] xhci-hcd fe9c0000.xhci: irq 33, io mem 0xfe9c0000 > [ 1.822588] usb usb1: New USB device found, idVendor=3D1d6b, = idProduct=3D0002, bcdDevice=3D 6.01 > [ 1.822610] usb usb1: New USB device strings: Mfr=3D3, Product=3D2, = SerialNumber=3D1 > [ 1.822625] usb usb1: Product: xHCI Host Controller > [ 1.822638] usb usb1: Manufacturer: Linux 6.1.21-v8+ xhci-hcd > [ 1.822651] usb usb1: SerialNumber: fe9c0000.xhci > [ 1.823381] hub 1-0:1.0: USB hub found > [ 1.823451] hub 1-0:1.0: 1 port detected > [ 1.824217] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) > [ 1.824602] dwc_otg: FIQ enabled > [ 1.824613] dwc_otg: NAK holdoff enabled > [ 1.824624] dwc_otg: FIQ split-transaction FSM enabled > [ 1.824642] Module dwc_common_port init > [ 1.825284] usbcore: registered new interface driver uas > [ 1.825376] usbcore: registered new interface driver usb-storage >=20