Project

General

Profile

Porting #858

[linux-libre] add g_dbgp

GNUtoo - over 8 years ago - . Updated almost 8 years ago.

Status:
fixed
Priority:
bug
Assignee:
-
% Done:

100%


Description

Hi,

Many ARM device have a USB OTG port, so the port can act as an usb device.
The g_dbgp permits that port to get "USB debug" logs.
Linux(-libre), grub, and coreboot/libreboot can output their logs to the "USB debug" port,
that is really useful when the machine has no serial port, like most x86 recent laptops.
CONFIG_USB_G_DBGP should be set as module (=m).
Once selected, you have the choice between CONFIG_USB_G_DBGP_SERIAL and USB_G_DBGP_PRINTK.
The later prints what the target machine(like the x86 laptop logs) on dmesg, so CONFIG_USB_G_DBGP_SERIAL is preferred since it will create a serial port where the logs are available and won't mess with the "dmesg buffer".

Denis.

History

#1

Updated by mtjm over 8 years ago

Depending on the kernel version, we might need some patches.

http://www.coreboot.org/EHCI_Gadget_Debug might be useful.

#2

Updated by Anonymous over 8 years ago

  • Assignee set to Anonymous
  • Status changed from open to in progress
  • Subject changed from Add g_dbgp to [linux-libre] add g_dbgp
#3

Updated by Anonymous over 8 years ago

  • % Done changed from 0 to 100
  • Status changed from in progress to fixed
#4

Updated by Anonymous almost 8 years ago

  • Project changed from 19 to Ports

Also available in: Atom PDF