Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VisionFive 2 USB support





On 04/02/2025 15:20, Florian Kanngießer wrote:
Hi Nick,
I'm running the kernel from the image like this:
 >  Hildebrand# uname -a
 >  NetBSD Hildebrand.fritz.box 10.99.12 NetBSD 10.99.12 (GENERIC64) #0:
Wed Jan 29 20:34:30 UTC 2025
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/riscv/compile/GENERIC64 riscv

I haven't done any modifications to it and I'm not sure if I'm competent
enough to disable axppmic attachement based on the post you provided
(sorry /o\).
I did however notice one interesting thing. Afaik the USB hub on the
VisionFive 2 is attached via PCI and when I run lspci I get the following:
 >  Hildebrand# lspci
 >  pcilib: Cannot open /dev/pci0
 >  lspci: Cannot find any working access method.

Also looking deeper into dmesg I can see this:
 >  Hildebrand# dmesg | grep pci
 >  [     1.000000] jh7110pcie0 at simplebus1autoconfiguration error: :
couldn't get apb registers
 >  [     1.000000] jh7110pcie1 at simplebus1autoconfiguration error: :
couldn't get apb registers
 >  [     1.000000] jh7110pcie0 at simplebus1autoconfiguration error: :
couldn't get apb registers
 >  [     1.000000] jh7110pcie1 at simplebus1autoconfiguration error: :
couldn't get apb registers


This appears to be your DTB isn't the one from NetBSD. Are you running a
recent mainline or pkgsrc u-boot? are the files in /boot/ recent?

You're right the xhci controller is pci attached.


Is any of this related to axppmic?

no :) axppmic was my first guess.

Nick


Home | Main Index | Thread Index | Old Index