I do not mean to hijack the question but is a hardware usb to serial device required?
The wiki briefly mentions "usb_debug_io.c" with a link to an old trac ticket. Could a second device connected via usb only read the logs? I am curious on the feasibility of attaching an Android phone/tablet with an app that could easily read coreboot debug information.
On 10/13/19 3:27 AM, Mike Banon wrote:
Know I'm a bit late, but for me it was much easier to use FT232H-based USB board as a debug dongle. Initially I also wanted to build that FX2LP sandwich, but some confusion regarding the revisions (it's a bit tiresome to ask many sellers for a board revision in advance) and the need for revision-dependent soldering have scared me off. With a couple of FT232H from china/aliexpress and two USB extension cables for them, I didn't need to solder anything except their pin headers, so it was quite easy for me to get it working with coreboot - just by enabling CONFIG_USBDEBUG_DONGLE_FTDI_FT232H at its' config. But I haven't compared what is easier to use from a software side, for coreboot : FX2LP (which seems to have its' own firmware) or FT232H. It seems that you don't have a coreboot-supporting board, but maybe you could still use the sources from /coreboot/src/drivers/usb/gadget.c for your OS.
On Sun, Oct 13, 2019 at 1:28 AM alejandro.estay@gmail.com wrote:
Hi I’ve seen an EHCI debug dongle in the old wiki. I’m trying to build one for 2 purposes: debug a homebrew os/Shell and make it a new UEFI bootloader. However I don’t know where to find further documentation or comments about this. I also dont’ know what is the current or most up to date schematic to build the “sandwich” and what tracks cut and what not. I have bought those blue cypress FX2LP boards and I don’t know how to check revisions. Also, I’dont know exactly what software can be used to control it. It would be desirable if one can send stop or install some breakpoints with Visual studio’s debugger or WinDBG or GDB or something like that. thanks in advance for your advice.
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org