[LinuxBIOS] No console, yet... Ideas?
Adam Talbot
talbotx at comcast.net
Tue Jan 24 00:22:18 CET 2006
I am missing an inclue or define statment...
3_5_proto#gcc test.c
/tmp/ccwX6c0l.o: In function `main':
test.c:(.text+0x24): undefined reference to `inb'
test.c:(.text+0x30): undefined reference to `inb'
collect2: ld returned 1 exit status
Ronald G Minnich wrote:
> Adam Talbot wrote:
>
>> Console is working. Fully tested. Post card... There are no PCI/ISA
>> slots on this board, all I have is 1 pc/104 slot and no jtag. The
>> superIO is controled by a via vt1211. I think I have that part of my
>> config correct. (see below) But I am not sure how to figure out the
>> pnp address. -Adam
>>
>> chip superio/via/vt1211
>> device pnp 2e.2 on # Com1
>> io 0x60 = 0x3f8
>> irq 0x70 = 4
>> end
>>
>> Adam Talbot wrote:
>>
>>
>
> as richard says:
>
> main(){
> iopl(3);
>
> inb(0x2e);
>
> /* and print that out, see if it is 0xff */
> inb(0x4e); // or whatever
>
> }
>
> in other words, from a c program, just try to recreate what linuxbios
> does for I/o to superio, and see what works.
>
> ron
>
More information about the coreboot
mailing list