nanogui: Thread: MicroWindows & blackfin


[<<] [<] Page 1 of 1 [>] [>>]
Subject: MicroWindows & blackfin
From: "Marshia R." ####@####.####
Date: 2 Feb 2006 04:05:16 +0000
Message-Id: <73C8998CF982A245A95EE73ACE13ADFA0DE653@MAIL.cisctechnology.com>

Hi

I am trying to compile uClinux with Microwindows. I have taken the config
file for uClinux into consideration for selecting the options for
microwindows while"make menucofig". The kernel ic compiling fine, I get the
linux.dxe image.

I load the image onto the blackfin(EZ-LITE) board(using VDSP), the board
boots up fne and I get the shell. 

But when I give 

>nano-X &

I get an error : Bad command or file name.

 

When I capture the kernel messages while "make"ing, i get lots of errors in
between for microwindows, one of them being : cp:cannot stat 'nano-X' :file
not found.

This is because the other files required for creating this is not
created(prior errors are present).

 

I am using nisa-elf compiler for 2.4 uClinux kernel.

 

I am trying to remove these errors and get the nano-X server program created.

 

please tell me whether I am on the right track.

 

Moreover, what is the procedure to execute microwindows applications/demos on
the serial console.

I am using only minicom now, maybe when this becomes ok will go for a LCD.

Should i run nanowm, nteteris and nxclock om the background to run
microwindows application?

 

Please give me inputs regarding this.

 

Thank YOu

Warm Regards

Marshia

 

Subject: Re: [nanogui] MicroWindows & blackfin
From: Manav Kataria ####@####.####
Date: 2 Feb 2006 08:27:28 +0000
Message-Id: <43E1C22F.1000501@isofttech.com>

Hi,

    Your 'nano-X' graphics server is not being made (check for that 
after every make in your 'microwindows/bin' directory). There can be 
several reasons for it. The simplest of which could be your microwindows 
config having a - 'LINK_APP_INTO_SERVER = Y'. This would not generate 
nano-X but things could still be fine. You can try running 
anyapplication like 'clock', 'world' or 'vnc' directly for testing.

    Secondly, check whether the microwindows 'config' file (ie; 
microwing/src/config) is being affected via changes thru 'make 
menuconfig' from uClinux-dist\ . Ultimately that config file determines 
the right options (like libraries and other device and linking options) 
to compile microwindows. Microwindows also has a src/xconfigure for the 
same purpose. If its config file is not getting affected by 
'./xconfigure' or a higher level 'make menuconfig' you'd have to modify 
it directly.

Regards,
Manav


Marshia R. wrote:
> Hi
>
> I am trying to compile uClinux with Microwindows. I have taken the config
> file for uClinux into consideration for selecting the options for
> microwindows while"make menucofig". The kernel ic compiling fine, I get the
> linux.dxe image.
>
> I load the image onto the blackfin(EZ-LITE) board(using VDSP), the board
> boots up fne and I get the shell. 
>
> But when I give 
>
>   
>> nano-X &
>>     
>
> I get an error : Bad command or file name.
>
>  
>
> When I capture the kernel messages while "make"ing, i get lots of errors in
> between for microwindows, one of them being : cp:cannot stat 'nano-X' :file
> not found.
>
> This is because the other files required for creating this is not
> created(prior errors are present).
>
>  
>
> I am using nisa-elf compiler for 2.4 uClinux kernel.
>
>  
>
> I am trying to remove these errors and get the nano-X server program created.
>
>  
>
> please tell me whether I am on the right track.
>
>  
>
> Moreover, what is the procedure to execute microwindows applications/demos on
> the serial console.
>
> I am using only minicom now, maybe when this becomes ok will go for a LCD.
>
> Should i run nanowm, nteteris and nxclock om the background to run
> microwindows application?
>
>  
>
> Please give me inputs regarding this.
>
>  
>
> Thank YOu
>
> Warm Regards
>
> Marshia
>
>  
>
>
>   
Subject: Re: [nanogui] MicroWindows & blackfin
From: "Manav Kataria" ####@####.####
Date: 2 Feb 2006 11:20:11 +0000
Message-Id: <00da01c627ea$7039e230$8c01a8c0@Manavk>

: The beauty is these errors are ignored and the kernel image is built

Yea thats true! :-) 
If you find out where this is done do let me know.

> make[4]: *** No rule to make target `/root/uClinux-dist/user/microwin/src/lib/libmwengine.a', needed by `/root/uClinux- dist/user/microwin/src/bin/nano-X'.  Stop.

This needs MICROWIN library to be made. Enable it below:-

####################################################################

#

# Libraries to build: microwin, nano-X, nanowidget, object frameworks

#

####################################################################

MICROWIN                 = N

NANOX                    = Y

SHAREDLIBS               = N

NWIDGET                  = Y

OBJFRAMEWORK             = N



Regards,
Manav

Subject: Re: [nanogui] MicroWindows & blackfin
From: "Greg Haerr" ####@####.####
Date: 2 Feb 2006 16:35:18 +0000
Message-Id: <29f301c62816$9e4a7870$0300a8c0@RDP>

> This is because the other files required for creating this is not
created(prior errors are present).

 
Until I see the prior errors list, it is hard to help.

Regards,

Greg
Subject: RE: [nanogui] MicroWindows & blackfin
From: "Marshia R." ####@####.####
Date: 6 Feb 2006 05:03:27 +0000
Message-Id: <73C8998CF982A245A95EE73ACE13ADFA0DE669@MAIL.cisctechnology.com>

Hi Greg 
Thanks for the input.
I have set FBVGA=N and those errors are eliminated.
But these undefined references are still there.

/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsSelect':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x600):
undefined reference to `_GdGetNextTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x7d4):
undefined reference to `_GdTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsInitialize':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xa70):
undefined reference to `_PALINDEX'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xa7a):
undefined reference to `_PALINDEX'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xb90):
undefined reference to `_PALINDEX'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xb98):
undefined reference to `_PALINDEX'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xbb8):
undefined reference to `_PALINDEX'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsHandleMouseStatus':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x56e8):
undefined reference to `_GsResetScreenSaver'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x5728):
undefined reference to `_GsResetScreenSaver'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x5756):
undefined reference to `_GsResetScreenSaver'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsDeliverKeyboardEvent':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x5ad0):
undefined reference to `_GsResetScreenSaver'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GrSetScreenSaverTimeoutWrapper':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x7a48):
undefined reference to `_GrSetScreenSaverTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GdCreateFont':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x9ae2):
undefined reference to `_strcmpi'

What can be done regarding this?
Please help me

Thank you
Warm regards
Marshia

-----Original Message-----
From: Greg Haerr ####@####.#### 
Sent: Friday, February 03, 2006 7:19 PM
To: Marshia R.
Subject: Re: [nanogui] MicroWindows & blackfin

> I have also tried with -lc option, but no go.

When -lc gives an error, that means your C library
isn't setup properly.


> vgaplan4.c: In function `ega_readpixel':

Find the microwindows config file that uclinux creates,
and make sure you've set FBVGA=N.  This is also the 
problem for the undefined _outw's below

/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x11f3a):
undefined reference to `_outw'

Regards,

Greg

Subject: Re: [nanogui] MicroWindows & blackfin
From: "Greg Haerr" ####@####.####
Date: 7 Feb 2006 02:42:47 +0000
Message-Id: <01c601c62b8f$c8b79530$6401a8c0@winXP>

>>> /root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsSelect':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x600):
undefined reference to `_GdGetNextTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x7d4):
undefined reference to `_GdTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsInitialize':
//root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsHandleMouseStatus':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x56e8):
undefined reference to `_GsResetScreenSaver'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x5728):

You should grep and make sure these functions are in fact included
in your files.  Otherwise it suggests a linker problem...

>>> root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xa70):
undefined reference to `_PALINDEX'

Funny, PALINDEX is commented out in my header file,
include/device.h.  Check yours... there should be no instances
of PALINDEX in use, unless you're running an old version
of nano-X.


> /root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x9ae2):
undefined reference to `_strcmpi'

This is a C library issue, you may need to use stricmp instead.

Regards,

Greg



> I have also tried with -lc option, but no go.

When -lc gives an error, that means your C library
isn't setup properly.


> vgaplan4.c: In function `ega_readpixel':

Find the microwindows config file that uclinux creates,
and make sure you've set FBVGA=N.  This is also the 
problem for the undefined _outw's below

/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x11f3a):
undefined reference to `_outw'

Regards,

Greg


Subject: RE: [nanogui] MicroWindows & blackfin
From: "Marshia R." ####@####.####
Date: 7 Feb 2006 04:25:58 +0000
Message-Id: <73C8998CF982A245A95EE73ACE13ADFA0DE66B@MAIL.cisctechnology.com>

Hello Greg
Thanks for it.


>>> /root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsSelect':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x600):
undefined reference to `_GdGetNextTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x7d4):
undefined reference to `_GdTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsInitialize':
//root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsHandleMouseStatus':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x56e8):
undefined reference to `_GsResetScreenSaver'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x5728):

>>>>You should grep and make sure these functions are in fact included
in your files.  Otherwise it suggests a linker problem...

I have included the header files for these functions properly. But still I am
getting the same. In fact I have even included the absolute path for these
header files.


>>> root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xa70):
undefined reference to `_PALINDEX'

>>>>Funny, PALINDEX is commented out in my header file,
include/device.h.  Check yours... there should be no instances
of PALINDEX in use, unless you're running an old version
of nano-X.

I am using the microwindows which comes with uClinux distribution.
I am using uClinux-dist-20040513.tar for the kernel.
Does the problem lie there?
Also I am using nisa-elf-i386 rpm for the toolchain.
Kindly guide me.
 
Below is part of the include/device.h file which contains PALINDEX 

#if 0000
/* colors assumed in first 16 palette entries*/
/* note: don't use palette indices if the palette may
 * be reloaded.  Use the RGB values instead.
 */
#define BLACK		PALINDEX(0)		/*   0,   0,   0*/
#define BLUE		PALINDEX(1)
#define GREEN		PALINDEX(2)
#define CYAN		PALINDEX(3)
#define RED			PALINDEX(4)
#define MAGENTA		PALINDEX(5)
#define BROWN		PALINDEX(6)
#define LTGRAY		PALINDEX(7)		/* 192, 192, 192*/
#define GRAY		PALINDEX(8)		/* 128, 128, 128*/
#define LTBLUE		PALINDEX(9)
#define LTGREEN		PALINDEX(10)
#define LTCYAN		PALINDEX(11)
#define LTRED		PALINDEX(12)
#define LTMAGENTA	PALINDEX(13)
#define YELLOW		PALINDEX(14)
#define WHITE		PALINDEX(15)		/* 255, 255, 255*/
#endif


And it is not commented for me. Am I using an outdated version for this?
What can I do for it? Should I go for another distribution?

Thanks again for the suggestions.

Warm regards
Marshia

-----Original Message-----
From: Greg Haerr ####@####.#### 
Sent: Tuesday, February 07, 2006 8:09 AM
To: Marshia R.
Cc: ####@####.####
Subject: Re: [nanogui] MicroWindows & blackfin

>>> /root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsSelect':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x600):
undefined reference to `_GdGetNextTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x7d4):
undefined reference to `_GdTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsInitialize':
//root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsHandleMouseStatus':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x56e8):
undefined reference to `_GsResetScreenSaver'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x5728):

You should grep and make sure these functions are in fact included
in your files.  Otherwise it suggests a linker problem...

>>> root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xa70):
undefined reference to `_PALINDEX'

Funny, PALINDEX is commented out in my header file,
include/device.h.  Check yours... there should be no instances
of PALINDEX in use, unless you're running an old version
of nano-X.


> /root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x9ae2):
undefined reference to `_strcmpi'

This is a C library issue, you may need to use stricmp instead.

Regards,

Greg



> I have also tried with -lc option, but no go.

When -lc gives an error, that means your C library
isn't setup properly.


> vgaplan4.c: In function `ega_readpixel':

Find the microwindows config file that uclinux creates,
and make sure you've set FBVGA=N.  This is also the 
problem for the undefined _outw's below

/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x11f3a):
undefined reference to `_outw'

Regards,

Greg


Subject: Re: [nanogui] MicroWindows & blackfin
From: Aubrey ####@####.####
Date: 18 Feb 2006 14:55:57 +0000
Message-Id: <6d6a94c50602180655s4c96af9bi37238dc8b8ccdb3@mail.gmail.com>

Hi Marshia,

Microwindows has been ported to work on the blackfin platform.
Please go to http://blackfin.uclinux.org/projects/uclinux533. The code
is available on the CVS HEAD.
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.