> On 26 Aug 2016, at 11:19, Alin Rauta <alin.ra...@enea.com> wrote: > > Hi, > I am interested in using the eTSEC for ppce500, but looking through the code > tree it seems the “etsec_create” function is never called. > Perhaps I’m not using the right command when starting QEMU, do we have an > example for eTSEC ? > What I tried so far is: > qemu-system-ppc -M ppce500 -cpu e500mc -nographic -kernel image.elf -netdev > user,id=hostnet0 -device eTSEC,netdev=hostnet0,id=net0,mac=52:54:00:fe:16:96 > Is there smth I miss ?
The command line looks pretty much sane. Creating an eTSEC device using -device is definitely the implemented path to go. Are you sure your guest doesn’t see an eTSEC emulated device? Try “info qtree” on the QEMU monitor to check whether it’s been properly instantiated. Alex