Re: access usb device from bhyve vm
On Fri, Aug 24, 2018 at 6:02 AM Torfinn Ingolfsen < torfinn.ingolf...@getmail.no> wrote: > On Wed, 22 Aug 2018 10:47:30 -0600 > "John Hein" wrote: > > > > > My use case is more specific (and thus perhaps less of a lofty goal?). > > I want to access a usb-based fpga jtag programmer from a linux vm > > (specifically using a xilinx tool like "impact"). > > FWIW, (and unless you are looking for the full "iMPACT" experience) I have > successfully programmed both Altera (now Intel) and Xilinx fpga's using > OpenOCD and 'jtag' (from UrJTAG) - both tools run native on FreeBSD. > xcs3prog alson run native on FreeBSD, but I haven't found a "cable" (aka > JTAG adapter) that works with it yet. > > My notes: > https://sites.google.com/site/tingox/fpga_openocd > https://sites.google.com/site/tingox/fpga_urjtag > https://sites.google.com/site/tingox/fpga_xc3sprog > -- > Torfinn Ingolfsen > ___ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org" > Thanks for your notes, they are very helpful. I wonder are there any other people on this list using jtag adapters who would be willing to share a list of devices. I am looking to purchase one and it would be great to have a list of known devices so that not only me but others can have a list of devices known to work on FreeBSD. Anyone out there w/ jtag adapters care to chime in about their devices? Best, Owen ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: access usb device from bhyve vm
On Wed, 22 Aug 2018 10:47:30 -0600 "John Hein" wrote: > > My use case is more specific (and thus perhaps less of a lofty goal?). > I want to access a usb-based fpga jtag programmer from a linux vm > (specifically using a xilinx tool like "impact"). FWIW, (and unless you are looking for the full "iMPACT" experience) I have successfully programmed both Altera (now Intel) and Xilinx fpga's using OpenOCD and 'jtag' (from UrJTAG) - both tools run native on FreeBSD. xcs3prog alson run native on FreeBSD, but I haven't found a "cable" (aka JTAG adapter) that works with it yet. My notes: https://sites.google.com/site/tingox/fpga_openocd https://sites.google.com/site/tingox/fpga_urjtag https://sites.google.com/site/tingox/fpga_xc3sprog -- Torfinn Ingolfsen ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: access usb device from bhyve vm
blubee blubeeme wrote at 08:42 +0800 on Aug 22, 2018: > On Wed, Aug 22, 2018 at 8:26 AM John Hein wrote: > > Does anyone have thought about what it would take to support access to > individual usb devices "natively" from a bhyve vm? > ___ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org" > > I had this idea maybe a year or two years ago, there was also another guy > [he worked > on the fbuffer for bhyve] who wanted to get it done but they were waiting on > the > main guy behind the USB stack on freebsd:Â hselasky > > He was too busy to actually do any work so the project stalled. > > My use case for having direct access to usb devices in a bhyve vm could > allow rapid > development of USB drivers for FreeBSD by sniffing the packets being sent > over USB > to the bhyve guest and reverse engineer drivers so that we can write native > drivers > for common devices that aren't supported on FreeBSD yet. > > I had to put that on the back burner for a bit since there's a lot more > pressing > FreeBSD issues that I am working on. > > What's your use case? My use case is more specific (and thus perhaps less of a lofty goal?). I want to access a usb-based fpga jtag programmer from a linux vm (specifically using a xilinx tool like "impact"). ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: access usb device from bhyve vm
On Wed, Aug 22, 2018 at 8:26 AM John Hein wrote: > Does anyone have thought about what it would take to support access to > individual usb devices "natively" from a bhyve vm? > ___ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org" > I had this idea maybe a year or two years ago, there was also another guy [he worked on the fbuffer for bhyve] who wanted to get it done but they were waiting on the main guy behind the USB stack on freebsd: hselasky He was too busy to actually do any work so the project stalled. My use case for having direct access to usb devices in a bhyve vm could allow rapid development of USB drivers for FreeBSD by sniffing the packets being sent over USB to the bhyve guest and reverse engineer drivers so that we can write native drivers for common devices that aren't supported on FreeBSD yet. I had to put that on the back burner for a bit since there's a lot more pressing FreeBSD issues that I am working on. What's your use case? Best, Owen ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"