RE: [LinuxBIOS] #57: libusb host program for PLX NET20DC debugdevice

From: Lu, Yinghai
Date: Fri Dec 01 2006 - 17:11:37 EST


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

Peter Stuge <stuge-linuxbios@xxxxxxx> 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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/