Thank Jonathan!

Jonathan Gray <[email protected]> writes:

>> Question: Is there any way to redirect kernel console to com4 after PCI
>> is up, or is console device fixed at boot? If it's fixed, I presume
>> that's a fundamental limitation?
>
> find the address for the uart io bar with pcidump -v

 0:26:0: Intel C3000 UART
        0x0000: Vendor ID: 8086, Product ID: 19d8
        0x0004: Command: 0147, Status: 0010
        0x0008: Class: 07 Communications, Subclass: 00 Serial,
                Interface: 02, Revision: 11
        0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR io addr: 0x0000e060/0x0008
        0x0014: BAR mem 32bit addr: 0xdf519000/0x00000100

> then at the boot prompt or in /etc/boot.conf
>       machine comaddr 0x...

machine comaddr 0x0000e060/0x0008
stty com4 9600
set tty com4
boot

Works like a charm!

Reply via email to