From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2065 invoked by alias); 24 Nov 2003 16:09:27 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 2058 invoked from network); 24 Nov 2003 16:09:25 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 24 Nov 2003 16:09:25 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 63D4150DF9B; Mon, 24 Nov 2003 09:09:25 -0700 (MST) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id C580850DF99; Mon, 24 Nov 2003 09:09:20 -0700 (MST) From: Gary Thomas To: alfred Cc: ECOS In-Reply-To: <00ca01c3b2a3$12eea930$4702980a@lIUMAO> References: <005c01c3b29b$33d8d830$4702980a@lIUMAO> <1069686101.22988.17.camel@hermes> <006801c3b29c$5cbf7780$4702980a@lIUMAO> <1069686480.22988.19.camel@hermes> <007f01c3b29d$8db64c50$4702980a@lIUMAO> <1069687303.22988.22.camel@hermes> <00ae01c3b29f$91700e10$4702980a@lIUMAO> <1069687973.22988.33.camel@hermes> <00c401c3b2a2$82eaae10$4702980a@lIUMAO> <00ca01c3b2a3$12eea930$4702980a@lIUMAO> Content-Type: text/plain Organization: MLB Associates Message-Id: <1069690160.22988.61.camel@hermes> Mime-Version: 1.0 Date: Mon, 24 Nov 2003 16:09:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: [ECOS] help for building microwindows X-SW-Source: 2003-11/txt/msg00341.txt.bz2 On Mon, 2003-11-24 at 08:53, alfred wrote: > Dear Gary , > > Maybe I can still not porting Microwindows to my platform. > So can you told me how can I find some resources about how to porting macrowindows to ECOS. > Thanks. > There's not a lot to it - you need to add an LCD frame buffer driver and a mouse driver. Look at how it's been done for the iPAQ and AAED2000. All of the platform specifics live in .../services/gfx/mw/v2_0/src/drivers/*ecos* > Alfred > > > ----- Original Message ----- > From: "alfred" > To: "Gary Thomas" > Cc: "ECOS" > Sent: Monday, November 24, 2003 11:49 PM > Subject: Re: [ECOS] help for building microwindows > > > > Dear gary , > > > > Thank you very much .But a new error happens as below. Did you start with a clean configuration and follow the configure steps I outlined below? > > arm-elf-gcc -c -I/ecos-c/cygwin/home/IBM/GWW/GWW_install/include -I/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0 -I/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src -I/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/tests -I. -I/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/ -mcpu=arm9 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -I/ecos-c/cygwin/home/IBM/GWW/GWW_install/include/microwin -D__ECOS=1 -DMSDOS=0 -DELKS=0 -D__rtems__=0 -D_MINIX=0 -DNOTYET=0 -DUNIX=1 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DxHAVE_JPEG_SUPPORT=1 -DHAVESELECT=1 -Wp,-MD,src/nanox/srvnet.tmp -o src/nanox/services_gfx_mw_srvnet.o /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:24:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:32:20: sys/un.h: No such file or directory > > In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:131, > > from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:34: > > /ecos-c/cygwin/home/IBM/GWW/GWW_install/include/microwin/nano-X.h:753:1: warning: "GrSetBorderColor" redefined > > In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:34: > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:93:1: warning: this is the location of the previous definition > > In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:131, > > from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:34: > > /ecos-c/cygwin/home/IBM/GWW/GWW_install/include/microwin/nano-X.h:754:1: warning: "GrClearWindow" redefined > > In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:34: > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:27:1: warning: this is the location of the previous definition > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:493:5: warning: "VTSWITCH" is not defined > > In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:35: > > make[1]: Leaving directory `/ecos-c/cygwin/home/IBM/GWW/GWW_build/services/gfx/mw/v2_0' > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/nxproto.h:84:5: warning: "notyet" is not defined > > make: Leaving directory `/ecos-c/cygwin/home/IBM/GWW/GWW_build' > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c: In function `GrImageBufferSendWrapper': > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1192: warning: pointer of type `void *' used in arithmetic > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1266:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1456:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c: In function `GsOpenSocket': > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1511: storage size of `sckt' isn't known > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1539: dereferencing pointer to incomplete type > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1511: warning: unused variable `sckt' > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c: In function `GsAcceptClient': > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1567: storage size of `sckt' isn't known > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1571: warning: passing arg 3 of `accept' from incompatible pointer type > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1567: warning: unused variable `sckt' > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1777:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c: In function `GsRead': > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1808: warning: pointer of type `void *' used in arithmetic > > /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1862:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined > > make[1]: *** [src/nanox/srvnet.o.d] Error 1 > > make: *** [build] Error 2 > > > > > > > > Original Message ----- > > From: "Gary Thomas" > > To: "alfred" > > Cc: "ECOS" > > Sent: Monday, November 24, 2003 11:32 PM > > Subject: Re: [ECOS] help for building microwindows > > > > > > > On Mon, 2003-11-24 at 08:28, alfred wrote: > > > > Dear Gary , > > > > > > > > the configuration as belows > > > > > > > > target alm2_arm9 { > > > > alias { " ARM9/alm2 board" palm2_arm9 } > > > > packages { CYGPKG_HAL_ARM > > > > CYGPKG_HAL_ARM_ARM9 > > > > CYGPKG_HAL_ARM_ARM9_ALM2 > > > > CYGPKG_IO_SERIAL_ARM_ALM2 > > > > CYGPKG_DEVS_ETH_ALM2_NE2000 > > > > CYGPKG_IO_DSP_ARM_ALM2 > > > > CYGPKG_DEVS_CAMERA_ARM_OV7645 > > > > } > > > > description " > > > > The Excalibur target provides the packages needed to run > > > > eCos on an Altera Excalibur board." > > > > } > > > > > > > > And I also added > > > > Common error code > > > > dynamic memory allocation > > > > ISO C and POSIX infrastructure > > > > Microwindows > > > > POSIX compatibility layer > > > > POSIX File IO compatibility layer > > > > ISO C library > > > > > > > > Thanks, > > > > alfred > > > > > > You need to have networking. Try this: > > > % ecosconfig new alm2 net > > > % ecosconfig add mw > > > % ecosconfig tree > > > % make > > > > > > If you can get this to build, then you'll need to add some code to get > > > a test environment running, etc. If you update to the latest CVS, this > > > last step is much simpler. > > > > > > > > > > > > % ecosconfig new ipaq net > > > > > % ecosconfig add mw > > > > > % ecosconfig tree > > > > > % make > > > > > (or the similar operations using the GUI) > > > > > > > > > > How have you configured eCos for your platform? > > > > > Did you do anything besides just adding the MicroWindows (mw) package? > > > > > > > > > > -- > > > > > Gary Thomas > > > > > MLB Associates > > > > > > > > -- > > > Gary Thomas > > > MLB Associates > > > > > > > > > -- > > > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos > > > and search the list archive: http://sources.redhat.com/ml/ecos-discuss > > > > > -- Gary Thomas MLB Associates -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss