* [ECOS] Unexpected exception handler call (0x53) @ 2003-11-24 4:48 Dirk Broer 2003-11-24 14:16 ` Nick Garnett 0 siblings, 1 reply; 16+ messages in thread From: Dirk Broer @ 2003-11-24 4:48 UTC (permalink / raw) To: ECOS We are newly targeting an arm based board. We get often an exception with 0x53 (83). Back Trace shows nothing interesting. How best to proceed to track this down? Where would the Âreal stack have been stored? Was it stored? My best guess is that this is the default handler, should we override this? Again, can we recover the stack? We are still implementing Âinfo threads and right now have no direct visibility on the state of other threads in the system. __ __ ___ ________ ___ __ ___ ___ Dirk Broer / ||/ || /_ || /__ __// /__ \\ /// /__ \\ / __\\ //||//||| ///||| /// ///_/// __ /// ||| ///_ ///| //||| /___ || /// /__ // /// /// /__ || /// |// ||| /// ||| /// /// ||| /// ///__/// ____/// /// |||/// |||/// /// ||| /// |____// /____// Software Engineer (410)872-0300 #include <standard_disclaimer> #include <funny_quote> -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] Unexpected exception handler call (0x53) 2003-11-24 4:48 [ECOS] Unexpected exception handler call (0x53) Dirk Broer @ 2003-11-24 14:16 ` Nick Garnett 2003-11-24 14:57 ` [ECOS] help for building microwindows centraility_liu 0 siblings, 1 reply; 16+ messages in thread From: Nick Garnett @ 2003-11-24 14:16 UTC (permalink / raw) To: Dirk Broer; +Cc: ECOS "Dirk Broer" <dbroer@matrics.com> writes: > We are newly targeting an arm based board. > > We get often an exception with 0x53 (83). Do you really mean exception 0x53? The ARM only has four possible exceptions, numbered 1-4. Do you actually mean an interrupt? Alternatively, maybe the stack is being corrupted and the exception value is bogus. > > Back Trace shows nothing interesting. What does backtrace actually show? > > How best to proceed to track this down? Where would the real stack have > been stored? Was it stored? Exceptions are usually handled on the stack that was current when the exception occurred. In GDB the value of r13 will be the SP of the interrupted code. If this is a real exception then looking at what the insruction pointed to by the PC was doing should give you a clue. > > My best guess is that this is the default handler, should we override this? > Again, can we recover the stack? You should not need to do anything special here. The default VSR should dump you into the GDB stubs, which is what you want. > > We are still implementing info threads and right now have no direct > visibility on the state of other threads in the system. > Why do you need to implement the "info threads" stuff? This is all handled by target-independent code, HAL ports should not need to do anything about this. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com The eCos and RedBoot experts -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss ^ permalink raw reply [flat|nested] 16+ messages in thread
* [ECOS] help for building microwindows 2003-11-24 14:16 ` Nick Garnett @ 2003-11-24 14:57 ` centraility_liu 2003-11-24 15:01 ` Gary Thomas 0 siblings, 1 reply; 16+ messages in thread From: centraility_liu @ 2003-11-24 14:57 UTC (permalink / raw) To: ECOS Dear friends , When I want to build microwindows to ecos .I always meet some errors as below .All these make me confusing . /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/fb.h:8:5: warning: "VTSWITCH" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/fbportrait_right.c:54: warning: `fbportrait_fillrect' defined but not used arm-elf-gcc -c -I/ecos-c/cygwin/home/IBM/aa/untitled1_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/drivers/ -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/aa/untitled1_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/drivers/genfont.tmp -o src/drivers/services_gfx_mw_genfont.o /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c:18:5: warning: "HAVE_KSC5601_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c:48:5: warning: "HAVEMSFONTS" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c:108:5: warning: "HAVE_BIG5_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c:118:5: warning: "HAVE_GB2312_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c:127:5: warning: "HAVE_KSC5601_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c:158:5: warning: "HAVE_BIG5_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c:204:5: warning: "HAVE_GB2312_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c:229:5: warning: "HAVE_KSC5601_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genfont.c:272:5: warning: "NOTUSED" is not defined arm-elf-gcc -c -I/ecos-c/cygwin/home/IBM/aa/untitled1_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/drivers/ -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/aa/untitled1_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/drivers/genmem.tmp -o src/drivers/services_gfx_mw_genmem.o /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genmem.c In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/genmem.c:12: /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/drivers/fb.h:8:5: warning: "VTSWITCH" is not defined arm-elf-gcc -c -I/ecos-c/cygwin/home/IBM/aa/untitled1_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/engine/ -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/aa/untitled1_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/engine/devarc.tmp -o src/engine/services_gfx_mw_devarc.o /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devarc.c arm-elf-gcc -c -I/ecos-c/cygwin/home/IBM/aa/untitled1_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/engine/ -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/aa/untitled1_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/engine/devclip.tmp -o src/engine/services_gfx_mw_devclip.o /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devclip.c arm-elf-gcc -c -I/ecos-c/cygwin/home/IBM/aa/untitled1_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/engine/ -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/aa/untitled1_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/engine/devdraw.tmp -o src/engine/services_gfx_mw_devdraw.o /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devdraw.c arm-elf-gcc -c -I/ecos-c/cygwin/home/IBM/aa/untitled1_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/engine/ -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/aa/untitled1_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/engine/devfont.tmp -o src/engine/services_gfx_mw_devfont.o /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:23:13: warning: "DOS_DJGPP" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:27:5: warning: "HAVE_T1LIB_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:69:5: warning: "HAVE_FREETYPE_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:131:5: warning: "HAVE_HZK_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:297:5: warning: "HAVE_HZK_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:307:5: warning: "HAVE_FREETYPE_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:328:5: warning: "HAVE_T1LIB_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:469:5: warning: "HAVE_HZK_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:620:5: warning: "HAVE_BIG5_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:629:5: warning: "HAVE_GB2312_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:637:5: warning: "HAVE_KSC5601_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:659:5: warning: "HAVE_T1LIB_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:659:26: warning: "HAVE_FREETYPE_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:743:5: warning: "HAVE_T1LIB_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:1013:5: warning: "HAVE_FREETYPE_SUPPORT" is not defined /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devfont.c:1697:5: warning: "HAVE_HZK_SUPPORT" is not defined arm-elf-gcc -c -I/ecos-c/cygwin/home/IBM/aa/untitled1_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/engine/ -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/aa/untitled1_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/engine/devimage.tmp -o src/engine/services_gfx_mw_devimage.o /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c In file included from /ecos-c/cygwin/home/IBM/aa/untitled1_install/include/microwin/device.h:596, from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:39: /gnutools/arm-elf/include/sys/time.h:17: redefinition of `struct timeval' /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c: In function `bread': /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:133: warning: pointer of type `void *' used in arithmetic /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c: In function `bgetc': /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:145: `EOF' undeclared (first use in this function) /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:145: (Each undeclared identifier is reported only once /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:145: for each function it appears in.) /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:147: warning: pointer of type `void *' used in arithmetic make[1]: Leaving directory `/ecos-c/cygwin/home/IBM/aa/untitled1_build/services/gfx/mw/v2_0' /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c: In function `bgets': make: Leaving directory `/ecos-c/cygwin/home/IBM/aa/untitled1_build' /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:165: warning: pointer of type `void *' used in arithmetic /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c: In function `DecodeRLE8': /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:1201: `EOF' undeclared (first use in this function) /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c: In function `DecodeRLE4': /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:1258: `EOF' undeclared (first use in this function) /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c: In function `LoadPNM': /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:1875: warning: implicit declaration of function `sscanf' /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/engine/devimage.c:1936: `EOF' undeclared (first use in this function) make[1]: *** [src/engine/devimage.o.d] Error 1 make: *** [build] Error 2 regards, Alfred ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 14:57 ` [ECOS] help for building microwindows centraility_liu @ 2003-11-24 15:01 ` Gary Thomas 2003-11-24 15:05 ` alfred 0 siblings, 1 reply; 16+ messages in thread From: Gary Thomas @ 2003-11-24 15:01 UTC (permalink / raw) To: centraility_liu; +Cc: ECOS On Mon, 2003-11-24 at 07:56, centraility_liu wrote: > Dear friends , > > When I want to build microwindows to ecos .I always meet some errors as below .All these make me confusing . > What platform? How did you configure eCos? -- Gary Thomas <gary@mlbassoc.com> 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:01 ` Gary Thomas @ 2003-11-24 15:05 ` alfred 2003-11-24 15:08 ` Gary Thomas 0 siblings, 1 reply; 16+ messages in thread From: alfred @ 2003-11-24 15:05 UTC (permalink / raw) To: Gary Thomas; +Cc: ECOS Dear Gary , Thank you very much. I build it on windows xp using cygwin and ecos configuration . Regards, Alfred ----- Original Message ----- From: "Gary Thomas" <gary@mlbassoc.com> To: "centraility_liu" <mliu@centralitycomm.com.cn> Cc: "ECOS" <ecos-discuss@sources.redhat.com> Sent: Monday, November 24, 2003 11:01 PM Subject: Re: [ECOS] help for building microwindows > On Mon, 2003-11-24 at 07:56, centraility_liu wrote: > > Dear friends , > > > > When I want to build microwindows to ecos .I always meet some errors as below .All these make me confusing . > > > > What platform? How did you configure eCos? > > -- > Gary Thomas <gary@mlbassoc.com> > 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 > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:05 ` alfred @ 2003-11-24 15:08 ` Gary Thomas 2003-11-24 15:13 ` alfred 0 siblings, 1 reply; 16+ messages in thread From: Gary Thomas @ 2003-11-24 15:08 UTC (permalink / raw) To: alfred; +Cc: ECOS On Mon, 2003-11-24 at 08:05, alfred wrote: > Dear Gary , > > Thank you very much. > I build it on windows xp using cygwin and ecos configuration . That's not the information we need. What eCos target? What options did you add/change to include MicroWindows? -- Gary Thomas <gary@mlbassoc.com> 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:08 ` Gary Thomas @ 2003-11-24 15:13 ` alfred 2003-11-24 15:19 ` alfred 2003-11-24 15:21 ` Gary Thomas 0 siblings, 2 replies; 16+ messages in thread From: alfred @ 2003-11-24 15:13 UTC (permalink / raw) To: Gary Thomas; +Cc: ECOS Oh , I am sorry. The target is ARM922 and the target is defined by myself. And I have realized the lcd_sopport.c and configure microwin as below. build microwondows ecos support build microwondows arm drivers nuilding microwondows nanowm build microwindows nxkbd build microwindows nanox demos Sorry that I really do not know what is the exact meaning of each options. Thanks ----- Original Message ----- From: "Gary Thomas" <gary@mlbassoc.com> To: "alfred" <mliu@centralitycomm.com.cn> Cc: "ECOS" <ecos-discuss@sources.redhat.com> Sent: Monday, November 24, 2003 11:08 PM Subject: Re: [ECOS] help for building microwindows > On Mon, 2003-11-24 at 08:05, alfred wrote: > > Dear Gary , > > > > Thank you very much. > > I build it on windows xp using cygwin and ecos configuration . > > That's not the information we need. What eCos target? What options > did you add/change to include MicroWindows? > > -- > Gary Thomas <gary@mlbassoc.com> > MLB Associates > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:13 ` alfred @ 2003-11-24 15:19 ` alfred 2003-11-24 15:23 ` Gary Thomas 2003-11-24 15:21 ` Gary Thomas 1 sibling, 1 reply; 16+ messages in thread From: alfred @ 2003-11-24 15:19 UTC (permalink / raw) To: alfred, Gary Thomas; +Cc: ECOS Dear Gary, One more question is that whether the Microwindows only work on IPAQ?? Regards , alfred ----- Original Message ----- From: "alfred" <mliu@centralitycomm.com.cn> To: "Gary Thomas" <gary@mlbassoc.com> Cc: "ECOS" <ecos-discuss@sources.redhat.com> Sent: Monday, November 24, 2003 11:13 PM Subject: Re: [ECOS] help for building microwindows > > Oh , I am sorry. The target is ARM922 and the target is defined by myself. > And I have realized the lcd_sopport.c and configure microwin as below. > > build microwondows ecos support > build microwondows arm drivers > nuilding microwondows nanowm > build microwindows nxkbd > build microwindows nanox demos > > Sorry that I really do not know what is the exact meaning of each options. > > Thanks > > ----- Original Message ----- > From: "Gary Thomas" <gary@mlbassoc.com> > To: "alfred" <mliu@centralitycomm.com.cn> > Cc: "ECOS" <ecos-discuss@sources.redhat.com> > Sent: Monday, November 24, 2003 11:08 PM > Subject: Re: [ECOS] help for building microwindows > > > > On Mon, 2003-11-24 at 08:05, alfred wrote: > > > Dear Gary , > > > > > > Thank you very much. > > > I build it on windows xp using cygwin and ecos configuration . > > > > That's not the information we need. What eCos target? What options > > did you add/change to include MicroWindows? > > > > -- > > Gary Thomas <gary@mlbassoc.com> > > MLB Associates > > > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:19 ` alfred @ 2003-11-24 15:23 ` Gary Thomas 0 siblings, 0 replies; 16+ messages in thread From: Gary Thomas @ 2003-11-24 15:23 UTC (permalink / raw) To: alfred; +Cc: ECOS On Mon, 2003-11-24 at 08:19, alfred wrote: > Dear Gary, > > One more question is that whether the Microwindows only work on IPAQ?? Not at all - we've run it on a number of platforms. Also note: you might do well to update to the latest CVS. Lots of things have changed (been improved) in this area in the last few months. -- Gary Thomas <gary@mlbassoc.com> 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:13 ` alfred 2003-11-24 15:19 ` alfred @ 2003-11-24 15:21 ` Gary Thomas 2003-11-24 15:28 ` alfred 1 sibling, 1 reply; 16+ messages in thread From: Gary Thomas @ 2003-11-24 15:21 UTC (permalink / raw) To: alfred; +Cc: ECOS On Mon, 2003-11-24 at 08:13, alfred wrote: > Oh , I am sorry. The target is ARM922 and the target is defined by myself. > And I have realized the lcd_sopport.c and configure microwin as below. > > build microwondows ecos support > build microwondows arm drivers > nuilding microwondows nanowm > build microwindows nxkbd > build microwindows nanox demos > > Sorry that I really do not know what is the exact meaning of each options. Still not what I need. For example, when I build MicroWindows on the iPAQ, I would configure eCos like this: % 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 <gary@mlbassoc.com> 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:21 ` Gary Thomas @ 2003-11-24 15:28 ` alfred 2003-11-24 15:32 ` Gary Thomas 0 siblings, 1 reply; 16+ messages in thread From: alfred @ 2003-11-24 15:28 UTC (permalink / raw) To: Gary Thomas; +Cc: ECOS 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 > % 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 <gary@mlbassoc.com> > MLB Associates > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:28 ` alfred @ 2003-11-24 15:32 ` Gary Thomas 2003-11-24 15:49 ` alfred 0 siblings, 1 reply; 16+ messages in thread From: Gary Thomas @ 2003-11-24 15:32 UTC (permalink / raw) To: alfred; +Cc: ECOS 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 <gary@mlbassoc.com> > > MLB Associates > > -- Gary Thomas <gary@mlbassoc.com> 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:32 ` Gary Thomas @ 2003-11-24 15:49 ` alfred 2003-11-24 15:53 ` alfred 0 siblings, 1 reply; 16+ messages in thread From: alfred @ 2003-11-24 15:49 UTC (permalink / raw) To: Gary Thomas; +Cc: ECOS Dear gary , Thank you very much .But a new error happens as 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" <gary@mlbassoc.com> To: "alfred" <mliu@centralitycomm.com.cn> Cc: "ECOS" <ecos-discuss@sources.redhat.com> 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 <gary@mlbassoc.com> > > > MLB Associates > > > > -- > Gary Thomas <gary@mlbassoc.com> > 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 > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:49 ` alfred @ 2003-11-24 15:53 ` alfred 2003-11-24 16:09 ` Gary Thomas 0 siblings, 1 reply; 16+ messages in thread From: alfred @ 2003-11-24 15:53 UTC (permalink / raw) To: alfred, Gary Thomas; +Cc: ECOS 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. Alfred ----- Original Message ----- From: "alfred" <mliu@centralitycomm.com.cn> To: "Gary Thomas" <gary@mlbassoc.com> Cc: "ECOS" <ecos-discuss@sources.redhat.com> 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. > 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" <gary@mlbassoc.com> > To: "alfred" <mliu@centralitycomm.com.cn> > Cc: "ECOS" <ecos-discuss@sources.redhat.com> > 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 <gary@mlbassoc.com> > > > > MLB Associates > > > > > > -- > > Gary Thomas <gary@mlbassoc.com> > > 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 > > > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 15:53 ` alfred @ 2003-11-24 16:09 ` Gary Thomas 2003-11-24 16:22 ` alfred 0 siblings, 1 reply; 16+ messages in thread From: Gary Thomas @ 2003-11-24 16:09 UTC (permalink / raw) To: alfred; +Cc: ECOS 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" <mliu@centralitycomm.com.cn> > To: "Gary Thomas" <gary@mlbassoc.com> > Cc: "ECOS" <ecos-discuss@sources.redhat.com> > 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" <gary@mlbassoc.com> > > To: "alfred" <mliu@centralitycomm.com.cn> > > Cc: "ECOS" <ecos-discuss@sources.redhat.com> > > 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 <gary@mlbassoc.com> > > > > > MLB Associates > > > > > > > > -- > > > Gary Thomas <gary@mlbassoc.com> > > > 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 <gary@mlbassoc.com> 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ECOS] help for building microwindows 2003-11-24 16:09 ` Gary Thomas @ 2003-11-24 16:22 ` alfred 0 siblings, 0 replies; 16+ messages in thread From: alfred @ 2003-11-24 16:22 UTC (permalink / raw) To: Gary Thomas; +Cc: ECOS Gary, Thanks a lot . I will follow your suggestion. ----- Original Message ----- From: "Gary Thomas" <gary@mlbassoc.com> To: "alfred" <mliu@centralitycomm.com.cn> Cc: "ECOS" <ecos-discuss@sources.redhat.com> Sent: Tuesday, November 25, 2003 12:09 AM Subject: Re: [ECOS] help for building microwindows > 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" <mliu@centralitycomm.com.cn> > > To: "Gary Thomas" <gary@mlbassoc.com> > > Cc: "ECOS" <ecos-discuss@sources.redhat.com> > > 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" <gary@mlbassoc.com> > > > To: "alfred" <mliu@centralitycomm.com.cn> > > > Cc: "ECOS" <ecos-discuss@sources.redhat.com> > > > 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 <gary@mlbassoc.com> > > > > > > MLB Associates > > > > > > > > > > -- > > > > Gary Thomas <gary@mlbassoc.com> > > > > 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 <gary@mlbassoc.com> > MLB Associates > ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2003-11-24 16:22 UTC | newest] Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-11-24 4:48 [ECOS] Unexpected exception handler call (0x53) Dirk Broer 2003-11-24 14:16 ` Nick Garnett 2003-11-24 14:57 ` [ECOS] help for building microwindows centraility_liu 2003-11-24 15:01 ` Gary Thomas 2003-11-24 15:05 ` alfred 2003-11-24 15:08 ` Gary Thomas 2003-11-24 15:13 ` alfred 2003-11-24 15:19 ` alfred 2003-11-24 15:23 ` Gary Thomas 2003-11-24 15:21 ` Gary Thomas 2003-11-24 15:28 ` alfred 2003-11-24 15:32 ` Gary Thomas 2003-11-24 15:49 ` alfred 2003-11-24 15:53 ` alfred 2003-11-24 16:09 ` Gary Thomas 2003-11-24 16:22 ` alfred
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).