nanogui: Thread: compile microwin on uClinux


[<<] [<] Page 1 of 1 [>] [>>]
Subject: compile microwin on uClinux
From: "yaozhegang" ####@####.####
Date: 16 Aug 2001 09:44:14 -0000
Message-Id: <00a901c12639$182edbc0$0e6baac0@Viditec>

hi, all:
when I compile microwin on uClinux, I found some error like these:
memplan4.c(.text+0xdc4): undefined reference to `mips_io_port_base'
memplan4.c(.text+0xe7c): undefined reference to `mips_io_port_base'
memplan4.c(.text+0xec0): undefined reference to `mips_io_port_base'.

how could I do then? who have done the same works? can u give me some advise? thanks a lot.

regards    
    alex yao
Subject: Re: [nanogui] compile microwin on uClinux
From: "Greg Haerr" ####@####.####
Date: 16 Aug 2001 19:41:20 -0000
Message-Id: <07be01c1268a$e3c02f90$6817dbd0@censoft.com>

when I compile microwin on uClinux, I found some error like these:
memplan4.c(.text+0xdc4): undefined reference to `mips_io_port_base'
memplan4.c(.text+0xe7c): undefined reference to `mips_io_port_base'
memplan4.c(.text+0xec0): undefined reference to `mips_io_port_base'.

Typically this is because the outb() macro
has been called, and mips doesn't have one.
Set FBVGA=N in the config file, this should fix
it.

Regards,

Greg

Subject: Re: [nanogui] compile microwin on uClinux
From: Jordan Crouse ####@####.####
Date: 16 Aug 2001 19:57:42 -0000
Message-Id: <01081613563204.02056@cosmic>

Greg - Thanks for jogging my memory.

The inb/outb inw/outw inl/outl functionality is broken for most uClibc 
implementations, so thats why you are getting problems.  I ran into the same 
problem with Strongarm.

I would suggest just setting FBVGA=N, because adding the required 
functionality in uClibc is non-trivial.

Jordan

On Thursday 16 August 2001 13:37, Greg Haerr mentioned:
> when I compile microwin on uClinux, I found some error like these:
> memplan4.c(.text+0xdc4): undefined reference to `mips_io_port_base'
> memplan4.c(.text+0xe7c): undefined reference to `mips_io_port_base'
> memplan4.c(.text+0xec0): undefined reference to `mips_io_port_base'.
>
> Typically this is because the outb() macro
> has been called, and mips doesn't have one.
> Set FBVGA=N in the config file, this should fix
> it.
>
> Regards,
>
> Greg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
Subject: Re: [nanogui] compile microwin on uClinux
From: "Greg Haerr" ####@####.####
Date: 16 Aug 2001 20:52:51 -0000
Message-Id: <081701c12696$f0eba710$6817dbd0@censoft.com>

: I would suggest just setting FBVGA=N, because adding the required 
: functionality in uClibc is non-trivial.

The only reason that outb() is required is for the VGA driver, something
no ucLinux systems have, regardless of the effort required.

Regards,

Greg

Subject: Re: [nanogui] compile microwin on uClinux
From: Alan Cox ####@####.####
Date: 16 Aug 2001 21:15:47 -0000
Message-Id: <E15XUW2-00062G-00@the-village.bc.nu>

> : I would suggest just setting FBVGA=N, because adding the required 
> : functionality in uClibc is non-trivial.
> 
> The only reason that outb() is required is for the VGA driver, something
> no ucLinux systems have, regardless of the effort required.

The mapping is going to be board dependant. A typical non x86 board with
VGA will have the I/O space mapped into memory somewhere. So its just a case
of mmap()ing the right bit of /dev/mem and writing macros for it
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.