qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* How to use designware-root-port and designware-root-host devices ?
@ 2024-06-20  8:28 Arthur Tumanyan
  2024-06-20 17:34 ` Thomas Huth
  0 siblings, 1 reply; 8+ messages in thread
From: Arthur Tumanyan @ 2024-06-20  8:28 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

Hi all,

My question may sound stupid, however... Currently I'm trying to make
available designware-root-{port,host} devices  in linux when I run it in
qemu.

I try the following way to run:

qemu-system-arm -M virt -m 2G \
     -kernel images/Image \
     -append "rootwait root=/dev/vda ro" \
     -drive file=images/rootfs.ext2,format=raw,id=hd0 \
     -device designware-root-port,id=rp0,chassis=1,slot=0,bus=pcie.0,addr=1
\
     -device e1000,netdev=net0,mac=52:54:00:12:34:56,bus=rp0,addr=0 \
     -netdev user,id=net0

but it seems designware device is not enabled by default: qemu-system-arm:
-device designware-root-port,id=rp0,chassis=1,slot=0,bus=pcie.0,addr=1:
'designware-root-port' is not a valid device model name

when I enable it from Kconfig/meson.build it says the device is already
registered and exits with abort().

From the other hand the device is declared as non pluggable: dc->user_creatable
= false;

Can you please help me to use designware-root-host/port devices ?

Thanks in advance,
Arthur

[-- Attachment #2: Type: text/html, Size: 2071 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-25  7:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20  8:28 How to use designware-root-port and designware-root-host devices ? Arthur Tumanyan
2024-06-20 17:34 ` Thomas Huth
2024-06-20 19:05   ` Peter Maydell
2024-06-20 19:37     ` Arthur Tumanyan
2024-06-21  7:07       ` Arthur Tumanyan
2024-06-21  9:16         ` Peter Maydell
2024-06-21  9:30           ` Thomas Huth
2024-06-25  7:52             ` Arthur Tumanyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).