Re: [coreboot] EHCI debug that supports both Linux and Windows as a host PC

2017-08-04 Thread Peter Stuge
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

-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] EHCI debug that supports both Linux and Windows as a host PC

2017-08-04 Thread Andrey Korolyov
On Fri, Aug 4, 2017 at 4:21 PM, Аладышев Константин  wrote:
> Does a windows driver (for host PC where I want to see coreboot log) exist 
> for this solution with BeagleBone?

If you are asking about bbb connectivity, there is a 'real' ethernet
PHY on chip opposed to RPI where dwc2 breaks usb-connected ethernet
when enabled, for these cases I may recommend to either set up
cdc-ether (available on Windows as well), use UART on board with SLIP
or just use UART with tty. Non-wireless RPI Zero, for example, may
suffer from lack of available ports being set up as dongle but still
usable as remote log viewers. For debugging purposes involving gdb
something like bbb with separate ethernet PHY is strongly preferred.

-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] EHCI debug that supports both Linux and Windows as a host PC

2017-08-04 Thread Аладышев Константин
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:and...@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, Аладышев Константин  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.


-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] EHCI debug that supports both Linux and Windows as a host PC

2017-08-04 Thread Andrey Korolyov
On Fri, Aug 4, 2017 at 3:14 PM, Аладышев Константин  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.

-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot