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

Reply via email to