EHCI Gadget Debug: Difference between revisions

From coreboot
Jump to navigation Jump to search
No edit summary
Line 31: Line 31:
|-
|-
! [http://projects.goldelico.com/p/gta04-main/ Goldelico GTA04 A3]
! [http://projects.goldelico.com/p/gta04-main/ Goldelico GTA04 A3]
| [https://github.com/goldelico/gta04-kernel/commits/neil-plus neil-plus kernel and branch]
| [https://github.com/goldelico/gta04-kernel/commits/neil-plus neil-plus kernel and branch (3.7)]
| Lenovo X60
| Lenovo X60
| {{yes}}
| {{yes}}
|-
|-
! Buglabs's bug 2.0
! Buglabs's bug 2.0
| TODO
| [github.com/GNUtoo/bug20-2.6.35-linaro/commits/master bug20-2.6.35-linaro + some commits on top (2.6.35) ]
| Lenovo X60
| Lenovo X60
| Not yet
| {{yes}}
|-
|-
|}
|}

Revision as of 11:33, 7 June 2013

Introduction

This page is about using embedded GNU/Linux devices in order to get the USB debug logs.

Howto

Compiling

  • You need to be familiar with (cross) compiling your kernel.
  • (Cross) compile it as usual but during the configuration do the following:

Go into Device Drivers:

Device Drivers  --->

Then go into USB support:

[*] USB support  --->

Then go into USB Gadget Support:

<M>   USB Gadget Support  --->

Then enable the following option:

<M>     EHCI Debug Device Gadget

Then select the printk option for now(a bug has to be fixed to make serial option work properly):

        EHCI Debug Device mode (printk)  --->

Loading

Remove all usb gadget drivers such as g_ehter or g_mass_storage with rmmod then do:

modprobe g_dbgp

Finding the USB debug port

See EHCI Debug Port#Finding the USB debug port

Tested hardware

Brand and Device kernel used Target devices works?
Goldelico GTA04 A3 neil-plus kernel and branch (3.7) Lenovo X60 Yes
Buglabs's bug 2.0 [github.com/GNUtoo/bug20-2.6.35-linaro/commits/master bug20-2.6.35-linaro + some commits on top (2.6.35) ] Lenovo X60 Yes