On Fri, 2016-11-11 at 14:38 +0000, Mark Morgan Lloyd wrote: > On 11/11/16 08:00, Ian Campbell wrote: > > > > On Wed, 2016-11-09 at 08:18 -0500, Jerry Stuckle wrote: > > > > > > Again, I appreciate any insight you can provide. > > > > Looks like you are using the armel vexpress kernel, which AFAICT > > includes PCI based virtio support, unlike most other ARM > > configurations > > which include the MMIO (discovered via DTB or ACPI) variant. (Other > > platforms like x86 use the PCI based stuff though, so I'd expect it > > to > > work) > > Is there an equivalent to lspci for this type of device?
Not really AFAIK. IIRC there is a DTB node for each device, so you ought to be able to dig around in /sys/firmware/devicetree or the legacy /proc equivalent (which I've forgotten the name of) and find the nodes. The dtc compiler can also reconstruct a dts source file from that sysfs tree or from a dtb which can be grepped. But even then I don't beleive the device tree identifies the actual device type, just its existence and location in MMIO, since the device type is then queried from the device itself and therefore isn't in the firmware description. I guess there is also a /sys/bus/virtio full of stuff. Ian.