Does a windows driver (for host PC where I want to see coreboot log) exist for this solution with BeagleBone?
-----Original Message----- From: Andrey Korolyov [mailto:andrey@xdel.ru] Sent: Friday, August 04, 2017 3:58 PM To: Аладышев Константин Cc: coreboot Subject: Re: [coreboot] EHCI debug that supports both Linux and Windows as a host PC
On Fri, Aug 4, 2017 at 3:14 PM, Аладышев Константин aladyshev@nicevt.ru wrote:
What is the easiest and most stable way to do debug through EHCI USB port instead of COM port? Is there any EHCI dongles on market that supports both Linux and Windows as a host PC?
The answer varies depending on your exact needs. If you are targeting only on coreboot log obtainment, the RaspberryPI/BeagleBone with dwc2 is probably cheapest cross-platform thing to use. For kgdb, this setup *should* work, but this would add another level of complexity due to gdbserver spatial localization :) I`ve never tried working with combination of the RPI and usb-ip to pass dwc2 port over cdc-ethernet connection, this is the only major difference between 'real' dongle and cheap board-based setup.
Andrey Korolyov wrote:
What is the easiest and most stable way to do debug through EHCI USB port instead of COM port? Is there any EHCI dongles on market that supports both Linux and Windows as a host PC?
I`ve never tried working with combination of the RPI and usb-ip to pass dwc2 port over cdc-ethernet connection, this is the only major difference between 'real' dongle and cheap board-based setup.
For kgdb and Pi I would suggest running gdbserver on the Pi.
Аладышев Константин wrote:
Does a windows driver (for host PC where I want to see coreboot log) exist for this solution with BeagleBone?
To clarify a little - you don't need one. Your Windows PC connects to the BeagleBone via LAN cable, and you read the coreboot log with commands in an SSH session. You log in to the BeagleBone via SSH and remote control it.
You can save log files on the BeagleBone, and then transfer them to the Windows PC in a number of different ways. I like to use SFTP.
//Peter