* Re: [ECOS] SO many ecos problems in learning ecos and they has made me crazy....SOS....
[not found] <20071102065317.77BB6195020F@mail.chez-thomas.org>
@ 2007-11-02 12:10 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2007-11-02 12:10 UTC (permalink / raw)
To: sean yang; +Cc: ecos-discuss
sean yang wrote:
> I just learned to use ecos to build a i386 redboot follwing the http://ecos.
> sourceware.org/拢卢and I am confused by what I got:
>
> 1. I downloaded the ecos via wget as the instruction of
> http://ecos.sourceware.org/getstart.html: wget --passive-ftp
> ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl and install
>
> It,the ecos has been installed with the directory structure such
> as:ecos/ecos-2.0/packages/hal/i386/arch/ecos-2.0;
>
> 2. Then,I got the snapshot via
> http://www.ecoscentric.com/devzone/snapshots.shtml and reinstalled it ,this
> time the directory structre is ok as normal mentioned:
>
> ecos/packages/hal/i386/arch/current;
>
> 3. Then,I use the snapshot version to build the i386 and arm tool
> chains,and then the redboot for i386 with configtool.exe(Version
> 0607)----BTW,and I don隆炉t know how to get the configuretool_v1.3.net for
> MLT---there is a error for building which confusing me so long a time:
>
>
>
> i386-elf-gcc -c -I/ecos-d/ecos_working/redboot/example_i386_install/include
> -I/ecos-d/ecos/packages/hal/i386/arch/current
> -I/ecos-d/ecos/packages/hal/i386/arch/current/src
> -I/ecos-d/ecos/packages/hal/i386/arch/current/tests -I.
> -I/ecos-d/ecos/packages/hal/i386/arch/current/src/ -finline-limit=7000 -Wall
> -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -g -O2
> -ffunction-sections -fdata-sections -fno-exceptions
> -Wp,-MD,src/hal_syscall.tmp -o src/hal_i386_arch_hal_syscall.o
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c: In function
> 'hal_syscall_handler':
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:113: warning:
> implicit declaration of function 'get_register'
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:113: error:
> 'EAX' undeclared (first use in this function)
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:113: error:
> (Each undeclared identifier is reported only once
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:113: error:
> for each function it appears in.)
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:114: error:
> 'EBX' undeclared (first use in this function)
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:115: error:
> 'ECX' undeclared (first use in this function)
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:116: error:
> 'EDX' undeclared (first use in this function)
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:135: warning:
> implicit declaration of function 'put_register'
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:145: error:
> 'SIGTRAP' undeclared (first use in this function)
>
> In file included from
> /ecos-d/ecos/packages/hal/i386/arch/current/src/redboot_linux_exec.c:52:
>
> /ecos-d/ecos_working/redboot/example_i386_install/include/redboot.h:66:25:
> error: cyg/crc/crc.h: No such file or directory
>
> make[1]: Leaving directory
> `/ecos-d/ecos_working/redboot/example_i386_build/hal/i386/arch/current'
>
> make[1]: *** [src/hal_syscall.o.d] Error 1
>
> make: Leaving directory `/ecos-d/ecos_working/redboot/example_i386_build'
>
> make[1]: *** Waiting for unfinished jobs....
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/redboot_linux_exec.c: In
> function 'do_exec':
>
> /ecos-d/ecos/packages/hal/i386/arch/current/src/redboot_linux_exec.c:261:
> warning: implicit declaration of function 'cyg_hal_plf_screen_position'
>
> make[1]: *** [src/redboot_linux_exec.o.d] Error 1
>
> make: *** [build] Error 2
>
>
>
> 4. from the make log,there are two errors which I don隆炉t know why at all
> because:
>
> 1).EAX has been declared in i386_stub.h and this file will be included by
> hal_syscall.c if CYGSEM_REDBOOT_BSP_SYSCALLS defined,and I am sure that the
> MACRO CYGSEM_REDBOOT_BSP_SYSCALLS has been defined;
>
> 2).the cyg/crc/crc.h:this file will be included in redboot.h,but I
> couldn隆炉t find this file in this directory,why?could anyone tell me ?
Exactly how did you configure eCos (please explain all the steps)?
For example, I can build RedBoot for the i386/PC using these steps:
% ecosconfig new pc redboot
% ecosconfig import ${ECOS_REPOSITORY}/hal/i386/pc/current/misc/redboot_GRUB.ecm
% ecosconfig tree
% make
> 5.I want to rebuild the confiuretool with the latest snapshot version,and I
> followed the http://www.ecoscentric.com/devzone/configtool.shtml
Why do you want to rebuild the config tool (an arduous task, even for
the seasoned traveler!)??
> But the $HOME can not be understood by cygwin bash ,why?
You'll need to explain what error you are getting.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ECOS] SO many ecos problems in learning ecos and they has made me crazy....SOS....
2007-11-02 2:22 [ECOS] Adding PCI eth pro100 for testing new port to MPC8313 RDB Oscar Gueta
@ 2007-11-02 6:53 ` sean yang
0 siblings, 0 replies; 2+ messages in thread
From: sean yang @ 2007-11-02 6:53 UTC (permalink / raw)
To: ecos-discuss
I just learned to use ecos to build a i386 redboot follwing the http://ecos.
sourceware.org/,and I am confused by what I got:
1. I downloaded the ecos via wget as the instruction of
http://ecos.sourceware.org/getstart.html: wget --passive-ftp
ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl and install
It,the ecos has been installed with the directory structure such
as:ecos/ecos-2.0/packages/hal/i386/arch/ecos-2.0;
2. Then,I got the snapshot via
http://www.ecoscentric.com/devzone/snapshots.shtml and reinstalled it ,this
time the directory structre is ok as normal mentioned:
ecos/packages/hal/i386/arch/current;
3. Then,I use the snapshot version to build the i386 and arm tool
chains,and then the redboot for i386 with configtool.exe(Version
0607)----BTW,and I don’t know how to get the configuretool_v1.3.net for
MLT---there is a error for building which confusing me so long a time:
i386-elf-gcc -c -I/ecos-d/ecos_working/redboot/example_i386_install/include
-I/ecos-d/ecos/packages/hal/i386/arch/current
-I/ecos-d/ecos/packages/hal/i386/arch/current/src
-I/ecos-d/ecos/packages/hal/i386/arch/current/tests -I.
-I/ecos-d/ecos/packages/hal/i386/arch/current/src/ -finline-limit=7000 -Wall
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef -g -O2
-ffunction-sections -fdata-sections -fno-exceptions
-Wp,-MD,src/hal_syscall.tmp -o src/hal_i386_arch_hal_syscall.o
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c: In function
'hal_syscall_handler':
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:113: warning:
implicit declaration of function 'get_register'
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:113: error:
'EAX' undeclared (first use in this function)
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:113: error:
(Each undeclared identifier is reported only once
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:113: error:
for each function it appears in.)
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:114: error:
'EBX' undeclared (first use in this function)
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:115: error:
'ECX' undeclared (first use in this function)
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:116: error:
'EDX' undeclared (first use in this function)
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:135: warning:
implicit declaration of function 'put_register'
/ecos-d/ecos/packages/hal/i386/arch/current/src/hal_syscall.c:145: error:
'SIGTRAP' undeclared (first use in this function)
In file included from
/ecos-d/ecos/packages/hal/i386/arch/current/src/redboot_linux_exec.c:52:
/ecos-d/ecos_working/redboot/example_i386_install/include/redboot.h:66:25:
error: cyg/crc/crc.h: No such file or directory
make[1]: Leaving directory
`/ecos-d/ecos_working/redboot/example_i386_build/hal/i386/arch/current'
make[1]: *** [src/hal_syscall.o.d] Error 1
make: Leaving directory `/ecos-d/ecos_working/redboot/example_i386_build'
make[1]: *** Waiting for unfinished jobs....
/ecos-d/ecos/packages/hal/i386/arch/current/src/redboot_linux_exec.c: In
function 'do_exec':
/ecos-d/ecos/packages/hal/i386/arch/current/src/redboot_linux_exec.c:261:
warning: implicit declaration of function 'cyg_hal_plf_screen_position'
make[1]: *** [src/redboot_linux_exec.o.d] Error 1
make: *** [build] Error 2
4. from the make log,there are two errors which I don’t know why at all
because:
1).EAX has been declared in i386_stub.h and this file will be included by
hal_syscall.c if CYGSEM_REDBOOT_BSP_SYSCALLS defined,and I am sure that the
MACRO CYGSEM_REDBOOT_BSP_SYSCALLS has been defined;
2).the cyg/crc/crc.h:this file will be included in redboot.h,but I
couldn’t find this file in this directory,why?could anyone tell me ?
5.I want to rebuild the confiuretool with the latest snapshot version,and I
followed the http://www.ecoscentric.com/devzone/configtool.shtml
But the $HOME can not be understood by cygwin bash ,why?
Thank u very much …..
Sean Yang
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-02 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20071102065317.77BB6195020F@mail.chez-thomas.org>
2007-11-02 12:10 ` [ECOS] SO many ecos problems in learning ecos and they has made me crazy....SOS Gary Thomas
2007-11-02 2:22 [ECOS] Adding PCI eth pro100 for testing new port to MPC8313 RDB Oscar Gueta
2007-11-02 6:53 ` [ECOS] SO many ecos problems in learning ecos and they has made me crazy....SOS sean yang
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).