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.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 8523 invoked from network); 11 Jul 2023 00:31:38 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 11 Jul 2023 00:31:38 -0000 Received: from a8-40.smtp-out.amazonses.com ([54.240.8.40]) by 9front; Mon Jul 10 20:29:59 -0400 2023 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ksbakcmhnrcpdgc72v4bxrexwvwgvpwk; d=mapinternet.com; t=1689034603; h=From:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Message-Id:Date:To; bh=gLELrYU0uTuJeIMyV4ohA+kIRV1OCsBUnyPt6s5eRAs=; b=fSNq1e/f7phEI0BR6P5U2XqOE9XpjNvU1ODc6NOnHP+o6SIiirUHyITBwqMALzog oNSWFvMC6Tdyjc6p2C9rsESARw4vY5aEBSx8ZAwohoIrmo0c4zUtpXZn7puDQL2J+jB 6jvB+lWFGTsgDqpvQKbvw1s9dFzP3EnAIm83lO5I= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1689034603; h=From:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Message-Id:Date:To:Feedback-ID; bh=gLELrYU0uTuJeIMyV4ohA+kIRV1OCsBUnyPt6s5eRAs=; b=CR/txk/5ePIW69XybyIdmtORQpuLl/XVg8sYh/vFp31Tt2duiHHGI5Hzs+HbiiW8 UuKMpRJyHmeGf0d/RqGcDRWn2CcZaxF0nkWSkcRQCvOTsZfnLe95cM5C4oVwmO1s+IC ZS4gSNunce0sKKxnbj61lVPo6L6mQLHQo55+m/qU= 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\)) Message-ID: <01000189424eb99d-971534eb-a1fc-44dc-9bad-4873a31c8448-000000@email.amazonses.com> Date: Tue, 11 Jul 2023 00:16:42 +0000 To: 9front@9front.org X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Qnum: 1347136926 X-Authenticated-User: mackbw@mapinternet.com Feedback-ID: 1.us-east-1.X+xhoL9JiEQ8K0gzGjV36WZnSewOzOs8YCWuakKsLBY=:AmazonSES X-SES-Outgoing: 2023.07.11-54.240.8.40 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: hypervisor app controller Subject: [9front] CM4 and USB ports Reply-To: 9front@9front.org Precedence: bulk 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. 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. 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 mackbw -KMESG- 127 holes free 0x004c0000 0x3b300000 988020736 988020736 bytes free 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 /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)[] -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