<swetland>
okay -nic tap,ifname=qemu0,script=no,downscript=no,mac=72:72:aa:bb:cc:dd gets me closer. multicast makes it through. pings do not (maybe a qemu limitation? but I thought tap mode was better for that?)
<swetland>
ah, correction, all inbound traffic looks good. outbound (qemu vm -> tun/tap) is not happy
<cr1901>
_florent_: Understood, thanks. Deleted those repos then :P. AFAICT, opentitan uses the ibex core
<swetland>
ah, the qemu model does not accept packets if reader events are disabled
<swetland>
PING fe80::7072:aaff:febb:ccdd%qemu0(fe80::7072:aaff:febb:ccdd%qemu0) 56 data bytes
<swetland>
64 bytes from fe80::7072:aaff:febb:ccdd%qemu0: icmp_seq=1 ttl=255 time=0.973 ms
<swetland>
64 bytes from fe80::7072:aaff:febb:ccdd%qemu0: icmp_seq=3 ttl=255 time=0.904 ms
<swetland>
64 bytes from fe80::7072:aaff:febb:ccdd%qemu0: icmp_seq=2 ttl=255 time=0.972 ms
<jevinskie[m]>
Congrats! Nice work!
lexano has quit [Remote host closed the connection]
<swetland>
well, shenki did the hard work. I just had to figure out which of the five different sets of options for configuring network stuff in qemu to use ^^
<jevinskie[m]>
I tweeted back in January “Qemu args are a CTF from hell by themselves” ;-)
<swetland>
ahaha
<swetland>
qemu reminds me of working on the linux kernel. there are N different APIs for everything and it's an adventure figuring out which ones are the correct/modern/bestsupported for whatever you're trying to do. and THEN there are half a dozen ways to configure anything
<jevinskie[m]>
Hmm I wonder how difficult verilator cosimulation of a UTMI usb core would be. You’d have usb-ip speaking Linux USB request blocks and have to pack/unpack them into UTMI protocol. Would be super spiffy to have virtual usb devices with simulation!
<swetland>
I bet setup/bulk/interrupt LS/FS wouldn't be too bad. HS likely challenging, isoch maybe not practical