public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
@ 2006-12-02  2:43 Lu, Yinghai
  2006-12-02 14:02 ` Eric W. Biederman
  0 siblings, 1 reply; 23+ messages in thread
From: Lu, Yinghai @ 2006-12-02  2:43 UTC (permalink / raw)
  To: ebiederm, Greg KH
  Cc: Stefan Reinauer, Peter Stuge, linuxbios, linux-kernel, Andi Kleen

Thanks for the code.

In LinuxBIOS,
I put usbdevice_direct.c in lib/, and call it from usb2_init in
mcp55_usb2.c

Got 
"No device in debug port"

Waiting for cable, hope to get that cable next Tuesday.

Will create usbdebug_direct_console.c in console/ for linuxbios_ram
code.
also usbdebug_direct_serial.c in pc80/ for cache_as_ram.c


YH




^ permalink raw reply	[flat|nested] 23+ messages in thread
* RE: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
@ 2006-12-01 22:10 Lu, Yinghai
  0 siblings, 0 replies; 23+ messages in thread
From: Lu, Yinghai @ 2006-12-01 22:10 UTC (permalink / raw)
  To: ebiederm, Greg KH, Andi Kleen; +Cc: Stefan Reinauer, linuxbios, linux-kernel

-----Original Message-----
From: ebiederm@xmission.com [mailto:ebiederm@xmission.com] 
Sent: Friday, December 01, 2006 1:15 PM

Peter Stuge <stuge-linuxbios@cdy.org> writes:

>> On Fri, Dec 01, 2006 at 11:19:16AM -0800, Greg KH wrote:
>>> Well, earlyprintk will not work, as you need PCI up and running.
>>
>> Not all of it though. LinuxBIOS will probably do just enough PCI
>> setup to talk to the EHCI controller and use the debug port _very_
>> soon after power on.

>Right.  For LinuxBIOS not a problem for earlyprintk in the kernel
>somethings might need to be refactored.  The challenge in the kernel
>is we don't know at build to how to do a pci_read_config...

early_pci_read_config?
Otherwise printk will come too late, and will not get output before pci
bus ops is set.

>The other hard part early in the kernel is the fact that the
>bar is memory mapped I/O.  Which means it will need to get mapped
>into the kernels page tables.

several entries to map 0xfc000000 ( PCI IO mem range) in page table in
head.S?

YH




^ permalink raw reply	[flat|nested] 23+ messages in thread
* RE: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
@ 2006-12-01 18:55 Lu, Yinghai
  2006-12-01 19:19 ` Greg KH
  0 siblings, 1 reply; 23+ messages in thread
From: Lu, Yinghai @ 2006-12-01 18:55 UTC (permalink / raw)
  To: Greg KH
  Cc: Stefan Reinauer, Peter Stuge, Eric W. Biederman, linuxbios,
	linux-kernel

-----Original Message-----
From: Greg KH [mailto:gregkh@suse.de] 

>I can do that in about 15 minutes if you give me the device ids for the
>usb debug device that you wish to have.

>Or you can also use the generic usb-serial driver today just fine with
>no modification.  Have you had a problem with using that option?

We are talking about using USB debug device/EHCI debug port in LinuxBIOS
in legacy free PC.
Because one AM2+MCP55 MB doesn't have serial port.

I guess Eric is working on USB debug device/EHCI debug port for
earlyprintk or printk.

So we need one client program on host side. So it would great if we
could use current USB stack for 
the clients on system even without debug port.

I'm getting one USB debug device cable, and will test generic usb_serial
driver.

Thanks

YH




^ permalink raw reply	[flat|nested] 23+ messages in thread
* RE: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
@ 2006-12-01 18:26 Lu, Yinghai
  2006-12-01 18:41 ` Greg KH
  0 siblings, 1 reply; 23+ messages in thread
From: Lu, Yinghai @ 2006-12-01 18:26 UTC (permalink / raw)
  To: Greg KH, Stefan Reinauer, Peter Stuge, Eric W. Biederman
  Cc: linuxbios, linux-kernel

-----Original Message-----
From: Lu, Yinghai 

>To my understanding, you don't need to waiting for Eric's code.
>You can use the cable on two systems without debug port support.
>So just extend the program to make it can write the data too.

Greg,

Anyone is working on creating one usb_serial_driver for USB debug device
without
using host debug port?

YH



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2006-12-03 23:05 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-02  2:43 [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device Lu, Yinghai
2006-12-02 14:02 ` Eric W. Biederman
2006-12-02 20:47   ` yhlu
2006-12-03 11:51     ` Eric W. Biederman
2006-12-03 12:01       ` Stefan Reinauer
2006-12-03 12:42         ` Segher Boessenkool
2006-12-03 12:52           ` Stefan Reinauer
2006-12-03 13:11             ` Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2006-12-01 22:10 Lu, Yinghai
2006-12-01 18:55 Lu, Yinghai
2006-12-01 19:19 ` Greg KH
2006-12-01 20:42   ` Peter Stuge
2006-12-01 21:15     ` Eric W. Biederman
2006-12-01 21:46       ` Peter Stuge
2006-12-01 23:02         ` Eric W. Biederman
2006-12-03 17:00           ` Peter Stuge
2006-12-03 23:03             ` Eric W. Biederman
2006-12-01 23:13   ` Eric W. Biederman
2006-12-03 15:49   ` Eric W. Biederman
2006-12-01 18:26 Lu, Yinghai
2006-12-01 18:41 ` Greg KH
2006-12-01 19:04   ` Peter Stuge
2006-12-01 19:17     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox