Difference between revisions of "EHCI Gadget Debug"

From coreboot
Jump to: navigation, search
(Howto)
(Howto)
Line 3: Line 3:
  
 
== Howto ==
 
== Howto ==
 +
=== Compiling ===
 
* You need to be familiar with (cross) compiling your kernel.
 
* You need to be familiar with (cross) compiling your kernel.
 
* (Cross) compile it as usual but during the configuration do the following:
 
* (Cross) compile it as usual but during the configuration do the following:
Line 15: Line 16:
 
Then select the printk option for now(a bug has to be fixed to make serial option work properly):
 
Then select the printk option for now(a bug has to be fixed to make serial option work properly):
 
         EHCI Debug Device mode (printk)  --->
 
         EHCI Debug Device mode (printk)  --->
 +
=== Loading ===
 +
 +
=== Finding the USB debug port ===
  
 
== Tested hardware ==
 
== Tested hardware ==

Revision as of 18:28, 6 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

Finding the USB debug port

Tested hardware

Brand and Device kernel used Target devices works?
Goldelico GTA04 A3 neil-plus kernel and branch Lenovo X60 Yes
Buglabs's bug 2.0 TODO Lenovo X60 Not yet