public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: install ecos on debian 1.3.3.5
       [not found] <1df235e50609080714o40fda377g5acffe800d7a6b71@mail.gmail.com>
@ 2006-09-08 17:12 ` Jonathan Larmour
  2006-09-08 17:21   ` Andrew Lunn
  0 siblings, 1 reply; 17+ messages in thread
From: Jonathan Larmour @ 2006-09-08 17:12 UTC (permalink / raw)
  To: mirko massignani; +Cc: eCos discussion

[ You mis-addressed this to ecos-discuss-owner - check the address you 
send to in future! ]
mirko massignani wrote:
> I would want to know if is possible to install ecos on debian.

Yes, Debian allows you to install RPMs. You need the "alien" program to 
install it. If you haven't got alien, then do this first (as root):

apt-get install alien

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine

-- 
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] 17+ messages in thread

* Re: [ECOS] Re: install ecos on debian 1.3.3.5
  2006-09-08 17:12 ` [ECOS] Re: install ecos on debian 1.3.3.5 Jonathan Larmour
@ 2006-09-08 17:21   ` Andrew Lunn
  2006-09-09 17:50     ` [ECOS] context.S problem Wendell Liu
       [not found]     ` <1df235e50609110703x21cdef28x17602f971209139d@mail.gmail.com>
  0 siblings, 2 replies; 17+ messages in thread
From: Andrew Lunn @ 2006-09-08 17:21 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: mirko massignani, eCos discussion

On Fri, Sep 08, 2006 at 06:12:29PM +0100, Jonathan Larmour wrote:
> [ You mis-addressed this to ecos-discuss-owner - check the address you 
> send to in future! ]
> mirko massignani wrote:
> >I would want to know if is possible to install ecos on debian.
> 
> Yes, Debian allows you to install RPMs. You need the "alien" program to 
> install it. If you haven't got alien, then do this first (as root):
> 
> apt-get install alien

aptitude install alien

apt-get is depreciated.

However, i've never used the RPMs on my debian systems when installing
eCos. The toolchain comes as tgz and i build the host tools from
sources. The only trick is you need to specify which version of tcl
and tk to use and you need to give the path to them when running the
configure script. This is talked about in the README file.

You might also want to try

aptitude install ecosconfig

and 

aptitude install ecos

I've never used these, so i've no idea how up to date they are.

 Andrew

-- 
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] 17+ messages in thread

* [ECOS] context.S problem
  2006-09-08 17:21   ` Andrew Lunn
@ 2006-09-09 17:50     ` Wendell Liu
  2006-09-09 18:34       ` [ECOS] " Andrew Lunn
  2006-09-10 20:54       ` [ECOS] " Jonathan Larmour
       [not found]     ` <1df235e50609110703x21cdef28x17602f971209139d@mail.gmail.com>
  1 sibling, 2 replies; 17+ messages in thread
From: Wendell Liu @ 2006-09-09 17:50 UTC (permalink / raw)
  To: 'Andrew Lunn', 'Jonathan Larmour'
  Cc: 'mirko massignani', 'eCos discussion',
	'Wendell Liu'

 
Hello, Andrew and other eCos experts,

I just started using eCos with SH4 for my next project, and I try to build
eCos image. On my machine, I always encountered the following errors:

sh-elf-gcc -c -I/... src/hal_sh_arch_context.o
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S

/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
Assembler messages:
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
257:
Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4

I checked the ecos-discuss mailing list, and found Andrew ever answered the
assembler question, but I couldn't get the clue.

I used the following versions:
make -v
GNU  Make version 3.79.1

sh-elf-gcc -v
gcc version 3.2.1 (eCosCentric)

sh-elf-as -v
GNU assembler version 2.13.1 (sh-elf) using BFD version 2.13.1

Could Andrew or someone else please help me to get this out?

Highly appreciate your help.
Wendell





-- 
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] 17+ messages in thread

* [ECOS] Re: context.S problem
  2006-09-09 17:50     ` [ECOS] context.S problem Wendell Liu
@ 2006-09-09 18:34       ` Andrew Lunn
  2006-09-11 13:43         ` [ECOS] " Wendell Liu
  2006-09-10 20:54       ` [ECOS] " Jonathan Larmour
  1 sibling, 1 reply; 17+ messages in thread
From: Andrew Lunn @ 2006-09-09 18:34 UTC (permalink / raw)
  To: Wendell Liu; +Cc: 'eCos discussion'

On Sat, Sep 09, 2006 at 01:50:36PM -0400, Wendell Liu wrote:
>  
> Hello, Andrew and other eCos experts,
> 
> I just started using eCos with SH4 for my next project, and I try to build
> eCos image. On my machine, I always encountered the following errors:
> 
> sh-elf-gcc -c -I/... src/hal_sh_arch_context.o
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S
> 
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> Assembler messages:
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> 257:
> Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4
> 
> I checked the ecos-discuss mailing list, and found Andrew ever answered the
> assembler question, but I couldn't get the clue.

Could you give a URL to my email?

      Andrew

-- 
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] 17+ messages in thread

* [ECOS] Re: context.S problem
  2006-09-09 17:50     ` [ECOS] context.S problem Wendell Liu
  2006-09-09 18:34       ` [ECOS] " Andrew Lunn
@ 2006-09-10 20:54       ` Jonathan Larmour
  2006-09-11 13:46         ` [ECOS] " Wendell Liu
  1 sibling, 1 reply; 17+ messages in thread
From: Jonathan Larmour @ 2006-09-10 20:54 UTC (permalink / raw)
  To: Wendell Liu; +Cc: 'mirko massignani', 'eCos discussion'

Wendell Liu wrote:
>  
> Hello, Andrew and other eCos experts,
> 
> I just started using eCos with SH4 for my next project, and I try to build
> eCos image. On my machine, I always encountered the following errors:
> 
> sh-elf-gcc -c -I/... src/hal_sh_arch_context.o
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S
> 
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> Assembler messages:
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> 257:
> Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4

I don't see the correct compiler flags there. How are you trying to build 
eCos? Have you read the user manual?

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine

-- 
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] 17+ messages in thread

* [ECOS] RE: context.S problem
  2006-09-09 18:34       ` [ECOS] " Andrew Lunn
@ 2006-09-11 13:43         ` Wendell Liu
  0 siblings, 0 replies; 17+ messages in thread
From: Wendell Liu @ 2006-09-11 13:43 UTC (permalink / raw)
  To: 'Andrew Lunn'; +Cc: 'eCos discussion'

Hi Andrew,

Here is the URL which may not be directly to my issue ...

http://sourceware.org/ml/ecos-discuss/2004-09/msg00156.html 

Thanks a lot for your prompt response.

And see if you could give me some hints ..

Thanks again,
Wendell

-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch] 
Sent: September 9, 2006 2:35 PM
To: Wendell Liu
Cc: 'eCos discussion'
Subject: Re: context.S problem

On Sat, Sep 09, 2006 at 01:50:36PM -0400, Wendell Liu wrote:
>  
> Hello, Andrew and other eCos experts,
> 
> I just started using eCos with SH4 for my next project, and I try to 
> build eCos image. On my machine, I always encountered the following
errors:
> 
> sh-elf-gcc -c -I/... src/hal_sh_arch_context.o 
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/cont
> ext.S
> 
>
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> Assembler messages:
>
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> 257:
> Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4
> 
> I checked the ecos-discuss mailing list, and found Andrew ever 
> answered the assembler question, but I couldn't get the clue.

Could you give a URL to my email?

      Andrew



-- 
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] 17+ messages in thread

* [ECOS] RE: context.S problem
  2006-09-10 20:54       ` [ECOS] " Jonathan Larmour
@ 2006-09-11 13:46         ` Wendell Liu
  2006-09-11 14:08           ` [ECOS] " Jonathan Larmour
  0 siblings, 1 reply; 17+ messages in thread
From: Wendell Liu @ 2006-09-11 13:46 UTC (permalink / raw)
  To: 'Jonathan Larmour'
  Cc: 'mirko massignani', 'eCos discussion'

Thanks, Jonathan.

I didn't put all the flags in the email. Yes, I read almost all the manuals
and the Anthony J. Massa's eCos book. The build should be quite straight
forward. My issue is probably related to my computer setting/environments
etc. Could you give me some hints here?

Thanks again,
Wendell 

-----Original Message-----
From: Jonathan Larmour [mailto:jifl@ecoscentric.com] 
Sent: September 10, 2006 4:54 PM
To: Wendell Liu
Cc: 'mirko massignani'; 'eCos discussion'
Subject: Re: context.S problem

Wendell Liu wrote:
>  
> Hello, Andrew and other eCos experts,
> 
> I just started using eCos with SH4 for my next project, and I try to 
> build eCos image. On my machine, I always encountered the following
errors:
> 
> sh-elf-gcc -c -I/... src/hal_sh_arch_context.o 
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/cont
> ext.S
> 
>
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> Assembler messages:
>
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> 257:
> Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4

I don't see the correct compiler flags there. How are you trying to build
eCos? Have you read the user manual?

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine



-- 
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] 17+ messages in thread

* [ECOS] Re: context.S problem
  2006-09-11 13:46         ` [ECOS] " Wendell Liu
@ 2006-09-11 14:08           ` Jonathan Larmour
  2006-09-11 14:44             ` Wendell Liu
  0 siblings, 1 reply; 17+ messages in thread
From: Jonathan Larmour @ 2006-09-11 14:08 UTC (permalink / raw)
  To: Wendell Liu; +Cc: 'mirko massignani', 'eCos discussion'

Wendell Liu wrote:
> Thanks, Jonathan.
> 
> I didn't put all the flags in the email.

Then please do.

> Yes, I read almost all the manuals
> and the Anthony J. Massa's eCos book. The build should be quite straight
> forward. My issue is probably related to my computer setting/environments
> etc. Could you give me some hints here?

The line in question in context.S does not appear to have a relocation on 
it *unless* CYGARC_JMPBUF_SP has somehow not been defined. Check the 
contents of install/include/cyg/hal/sh_offsets.inc. And try a clean build 
from an empty tree.

Jifl

> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@ecoscentric.com] 
> Sent: September 10, 2006 4:54 PM
> To: Wendell Liu
> Cc: 'mirko massignani'; 'eCos discussion'
> Subject: Re: context.S problem
> 
> Wendell Liu wrote:
>>  
>> Hello, Andrew and other eCos experts,
>>
>> I just started using eCos with SH4 for my next project, and I try to 
>> build eCos image. On my machine, I always encountered the following
> errors:
>> sh-elf-gcc -c -I/... src/hal_sh_arch_context.o 
>> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/cont
>> ext.S
>>
>>
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
>> Assembler messages:
>>
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
>> 257:
>> Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4
> 
> I don't see the correct compiler flags there. How are you trying to build
> eCos? Have you read the user manual?
> 
> Jifl


-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine

-- 
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] 17+ messages in thread

* RE: [ECOS] Re: context.S problem
  2006-09-11 14:08           ` [ECOS] " Jonathan Larmour
@ 2006-09-11 14:44             ` Wendell Liu
  2006-09-11 18:20               ` Wendell Liu
  0 siblings, 1 reply; 17+ messages in thread
From: Wendell Liu @ 2006-09-11 14:44 UTC (permalink / raw)
  To: 'Jonathan Larmour'
  Cc: 'mirko massignani', 'eCos discussion'

Thanks a lot, Jonathan.

The complete compiling flags are:

sh-elf-gcc -c -I/cygdrive/c/cygwin/tmp/ram/install/include 
-I/cygdriver/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current 
-I/cygdriver/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src 
-I/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/tests 
-I. -I/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/ 
-finline-limit=7000 -ml -m4 -Wall -Wpointer-arith -Wstrict-prototypes 
-Winline -Wundef -ggdb -02 -ffunction-sections -fdata-sections 
-fno-exceptions   -Wp,-MD,src/context.tmp -o src/hal_sh_arch_context.o
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S

The two SH header files:
...install\include\cyg\hal\sh4_offsets.inc
...install\include\cyg\hal\sh_offset.inc 

Both are empty, i.e. 0 size.

If I replaced these two empty files with pre-compiled files, then I can
build the image.

I don't know when to create these two SH header files? Could you instruct
here?

Appreciate your help,
Wendell

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Jonathan
Larmour
Sent: September 11, 2006 10:08 AM
To: Wendell Liu
Cc: 'mirko massignani'; 'eCos discussion'
Subject: [ECOS] Re: context.S problem

Wendell Liu wrote:
> Thanks, Jonathan.
> 
> I didn't put all the flags in the email.

Then please do.

> Yes, I read almost all the manuals
> and the Anthony J. Massa's eCos book. The build should be quite 
> straight forward. My issue is probably related to my computer 
> setting/environments etc. Could you give me some hints here?

The line in question in context.S does not appear to have a relocation on it
*unless* CYGARC_JMPBUF_SP has somehow not been defined. Check the contents
of install/include/cyg/hal/sh_offsets.inc. And try a clean build from an
empty tree.

Jifl

> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@ecoscentric.com]
> Sent: September 10, 2006 4:54 PM
> To: Wendell Liu
> Cc: 'mirko massignani'; 'eCos discussion'
> Subject: Re: context.S problem
> 
> Wendell Liu wrote:
>>  
>> Hello, Andrew and other eCos experts,
>>
>> I just started using eCos with SH4 for my next project, and I try to 
>> build eCos image. On my machine, I always encountered the following
> errors:
>> sh-elf-gcc -c -I/... src/hal_sh_arch_context.o 
>> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/con
>> t
>> ext.S
>>
>>
>
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
>> Assembler messages:
>>
>
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
>> 257:
>> Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4
> 
> I don't see the correct compiler flags there. How are you trying to 
> build eCos? Have you read the user manual?
> 
> Jifl


-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss




-- 
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] 17+ messages in thread

* RE: [ECOS] Re: context.S problem
  2006-09-11 14:44             ` Wendell Liu
@ 2006-09-11 18:20               ` Wendell Liu
  2006-09-11 18:46                 ` Jonathan Larmour
  0 siblings, 1 reply; 17+ messages in thread
From: Wendell Liu @ 2006-09-11 18:20 UTC (permalink / raw)
  To: 'Wendell Liu', 'Jonathan Larmour'
  Cc: 'eCos discussion'

 
Hi Jonathan,

This is not context.S issue at all. It's reated to the fgrep.

In my environment, fgrep just contains:
!<syslink>grep

However, fgrep can not be executed as below:
$fgrep
/usr/bin/fgrep: 1: Syntax error: redirection unexpected.

If I just copy grep.exe to fgrep.exe, I can build my eCos image smoothly.

Does this mean that somehow I lost symlink here? Do you know how to fix it?

Many thanks,
Wendell



-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Wendell Liu
Sent: September 11, 2006 10:44 AM
To: 'Jonathan Larmour'
Cc: 'mirko massignani'; 'eCos discussion'
Subject: RE: [ECOS] Re: context.S problem

Thanks a lot, Jonathan.

The complete compiling flags are:

sh-elf-gcc -c -I/cygdrive/c/cygwin/tmp/ram/install/include
-I/cygdriver/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current
-I/cygdriver/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src
-I/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/tests
-I. -I/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/
-finline-limit=7000 -ml -m4 -Wall -Wpointer-arith -Wstrict-prototypes
-Winline -Wundef -ggdb -02 -ffunction-sections -fdata-sections 
-fno-exceptions   -Wp,-MD,src/context.tmp -o src/hal_sh_arch_context.o
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S

The two SH header files:
...install\include\cyg\hal\sh4_offsets.inc
...install\include\cyg\hal\sh_offset.inc 

Both are empty, i.e. 0 size.

If I replaced these two empty files with pre-compiled files, then I can
build the image.

I don't know when to create these two SH header files? Could you instruct
here?

Appreciate your help,
Wendell

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Jonathan
Larmour
Sent: September 11, 2006 10:08 AM
To: Wendell Liu
Cc: 'mirko massignani'; 'eCos discussion'
Subject: [ECOS] Re: context.S problem

Wendell Liu wrote:
> Thanks, Jonathan.
> 
> I didn't put all the flags in the email.

Then please do.

> Yes, I read almost all the manuals
> and the Anthony J. Massa's eCos book. The build should be quite 
> straight forward. My issue is probably related to my computer 
> setting/environments etc. Could you give me some hints here?

The line in question in context.S does not appear to have a relocation on it
*unless* CYGARC_JMPBUF_SP has somehow not been defined. Check the contents
of install/include/cyg/hal/sh_offsets.inc. And try a clean build from an
empty tree.

Jifl

> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@ecoscentric.com]
> Sent: September 10, 2006 4:54 PM
> To: Wendell Liu
> Cc: 'mirko massignani'; 'eCos discussion'
> Subject: Re: context.S problem
> 
> Wendell Liu wrote:
>>  
>> Hello, Andrew and other eCos experts,
>>
>> I just started using eCos with SH4 for my next project, and I try to 
>> build eCos image. On my machine, I always encountered the following
> errors:
>> sh-elf-gcc -c -I/... src/hal_sh_arch_context.o 
>> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/con
>> t
>> ext.S
>>
>>
>
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
>> Assembler messages:
>>
>
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
>> 257:
>> Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4
> 
> I don't see the correct compiler flags there. How are you trying to 
> build eCos? Have you read the user manual?
> 
> Jifl


-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss




--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss




-- 
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] 17+ messages in thread

* Re: [ECOS] Re: context.S problem
  2006-09-11 18:20               ` Wendell Liu
@ 2006-09-11 18:46                 ` Jonathan Larmour
  0 siblings, 0 replies; 17+ messages in thread
From: Jonathan Larmour @ 2006-09-11 18:46 UTC (permalink / raw)
  To: Wendell Liu; +Cc: 'eCos discussion'

Wendell Liu wrote:
>  
> Hi Jonathan,
> 
> This is not context.S issue at all. It's reated to the fgrep.
> 
> In my environment, fgrep just contains:
> !<syslink>grep
> 
> However, fgrep can not be executed as below:
> $fgrep
> /usr/bin/fgrep: 1: Syntax error: redirection unexpected.
> 
> If I just copy grep.exe to fgrep.exe, I can build my eCos image smoothly.
> 
> Does this mean that somehow I lost symlink here? Do you know how to fix it?

Did that fgrep come from cygwin? It might make some sense if it came from 
elsewhere. Is this a new cygwin install? It's possible they broke things :-|.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine

-- 
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] 17+ messages in thread

* [ECOS] Re: Fwd: [ECOS] Re: install ecos on debian 1.3.3.5
       [not found]       ` <1df235e50609110706k3f0c6733s4c368e7f08b156ab@mail.gmail.com>
@ 2006-09-13 15:11         ` Andrew Lunn
  2006-09-14  6:41           ` mirko massignani
  0 siblings, 1 reply; 17+ messages in thread
From: Andrew Lunn @ 2006-09-13 15:11 UTC (permalink / raw)
  To: mirko massignani; +Cc: eCos Disuss

> I have an application composed from two modules, transmitter on ecos e
> receiver on linux, the receiver connect to the socket and transmitter makes
> the accept, but when application arrives to this point of execution the two
> modules do not comunicate and errors do not return, only connect :
> Connection timed out.
> 
> I use ethertap and my /etc/network/interfaces  is:
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> address 127.0.0.1
> netmask 255.0.0.0
> 
> # The primary network interface
> auto eth0
> iface eth0 inet dhcp
> 
> auto tap0
> iface tap0 inet static
> address 192.168.1.1
> netmask 255.255.255.0
> broadcast 192.168.1.255
> network 192.168.1.0
> 
> and in my file.ecc
> 
> ip address for eth0 192.168.1.2
> networkmask 255.255.255.0
> broadcast address 192.168.1.255
> gateway/router ip address 192.168.1.1
> server ip address 192.168.1.101

What do you have in the ethernet.tdf file? You need something like:

eth0 ethertap tap0 00:FE:42:63:84:A5

     Andrew

-- 
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] 17+ messages in thread

* [ECOS] Re: Fwd: [ECOS] Re: install ecos on debian 1.3.3.5
  2006-09-13 15:11         ` [ECOS] Re: Fwd: [ECOS] Re: install ecos on debian 1.3.3.5 Andrew Lunn
@ 2006-09-14  6:41           ` mirko massignani
  2006-09-14 12:05             ` Andrew Lunn
  0 siblings, 1 reply; 17+ messages in thread
From: mirko massignani @ 2006-09-14  6:41 UTC (permalink / raw)
  To: mirko massignani, eCos Disuss

Yes there is, but i use only:

eth0 ethertap

isn't it sufficient?

On 9/13/06, Andrew Lunn <andrew@lunn.ch> wrote:
> > I have an application composed from two modules, transmitter on ecos e
> > receiver on linux, the receiver connect to the socket and transmitter makes
> > the accept, but when application arrives to this point of execution the two
> > modules do not comunicate and errors do not return, only connect :
> > Connection timed out.
> >
> > I use ethertap and my /etc/network/interfaces  is:
> >
> > # The loopback network interface
> > auto lo
> > iface lo inet loopback
> > address 127.0.0.1
> > netmask 255.0.0.0
> >
> > # The primary network interface
> > auto eth0
> > iface eth0 inet dhcp
> >
> > auto tap0
> > iface tap0 inet static
> > address 192.168.1.1
> > netmask 255.255.255.0
> > broadcast 192.168.1.255
> > network 192.168.1.0
> >
> > and in my file.ecc
> >
> > ip address for eth0 192.168.1.2
> > networkmask 255.255.255.0
> > broadcast address 192.168.1.255
> > gateway/router ip address 192.168.1.1
> > server ip address 192.168.1.101
>
> What do you have in the ethernet.tdf file? You need something like:
>
> eth0 ethertap tap0 00:FE:42:63:84:A5
>
>      Andrew
>

-- 
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] 17+ messages in thread

* Re: [ECOS] Re: Fwd: [ECOS] Re: install ecos on debian 1.3.3.5
  2006-09-14  6:41           ` mirko massignani
@ 2006-09-14 12:05             ` Andrew Lunn
  2006-09-14 17:53               ` mirko massignani
  0 siblings, 1 reply; 17+ messages in thread
From: Andrew Lunn @ 2006-09-14 12:05 UTC (permalink / raw)
  To: mirko massignani; +Cc: eCos Disuss

On Thu, Sep 14, 2006 at 08:41:46AM +0200, mirko massignani wrote:
> Yes there is, but i use only:
> 
> eth0 ethertap
> 
> isn't it sufficient?

The documentation says that is sufficient, but it also lists the
disadvantages of not specifing which tap device and the MAC address.

Does the tap device appear in your ifconfig list?

Do you have the rawether program? Is it suid?

   Andrew

-- 
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] 17+ messages in thread

* Re: [ECOS] Re: Fwd: [ECOS] Re: install ecos on debian 1.3.3.5
  2006-09-14 12:05             ` Andrew Lunn
@ 2006-09-14 17:53               ` mirko massignani
  2006-09-14 18:14                 ` Andrew Lunn
  0 siblings, 1 reply; 17+ messages in thread
From: mirko massignani @ 2006-09-14 17:53 UTC (permalink / raw)
  To: mirko massignani, eCos Disuss

No tap device not appear im my ifconfig list.

I hava rawether program, like suid, install in

/usr/local/libexec/ecos/devs/eth/synth/ecosynth/current/

On 9/14/06, Andrew Lunn <andrew@lunn.ch> wrote:
> On Thu, Sep 14, 2006 at 08:41:46AM +0200, mirko massignani wrote:
> > Yes there is, but i use only:
> >
> > eth0 ethertap
> >
> > isn't it sufficient?
>
> The documentation says that is sufficient, but it also lists the
> disadvantages of not specifing which tap device and the MAC address.
>
> Does the tap device appear in your ifconfig list?
>
> Do you have the rawether program? Is it suid?
>
>    Andrew
>

-- 
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] 17+ messages in thread

* Re: [ECOS] Re: Fwd: [ECOS] Re: install ecos on debian 1.3.3.5
  2006-09-14 17:53               ` mirko massignani
@ 2006-09-14 18:14                 ` Andrew Lunn
  2006-09-15 11:02                   ` mirko massignani
  0 siblings, 1 reply; 17+ messages in thread
From: Andrew Lunn @ 2006-09-14 18:14 UTC (permalink / raw)
  To: mirko massignani; +Cc: eCos Disuss

On Thu, Sep 14, 2006 at 07:52:54PM +0200, mirko massignani wrote:
> No tap device not appear im my ifconfig list.
> 
> I hava rawether program, like suid, install in
> 
> /usr/local/libexec/ecos/devs/eth/synth/ecosynth/current/

Are you starting the eCos application with -io ?

    Andrew

-- 
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] 17+ messages in thread

* Re: [ECOS] Re: Fwd: [ECOS] Re: install ecos on debian 1.3.3.5
  2006-09-14 18:14                 ` Andrew Lunn
@ 2006-09-15 11:02                   ` mirko massignani
  0 siblings, 0 replies; 17+ messages in thread
From: mirko massignani @ 2006-09-15 11:02 UTC (permalink / raw)
  To: mirko massignani, eCos Disuss

yes

On 9/14/06, Andrew Lunn <andrew@lunn.ch> wrote:
> On Thu, Sep 14, 2006 at 07:52:54PM +0200, mirko massignani wrote:
> > No tap device not appear im my ifconfig list.
> >
> > I hava rawether program, like suid, install in
> >
> > /usr/local/libexec/ecos/devs/eth/synth/ecosynth/current/
>
> Are you starting the eCos application with -io ?
>
>     Andrew
>

-- 
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] 17+ messages in thread

end of thread, other threads:[~2006-09-15 11:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1df235e50609080714o40fda377g5acffe800d7a6b71@mail.gmail.com>
2006-09-08 17:12 ` [ECOS] Re: install ecos on debian 1.3.3.5 Jonathan Larmour
2006-09-08 17:21   ` Andrew Lunn
2006-09-09 17:50     ` [ECOS] context.S problem Wendell Liu
2006-09-09 18:34       ` [ECOS] " Andrew Lunn
2006-09-11 13:43         ` [ECOS] " Wendell Liu
2006-09-10 20:54       ` [ECOS] " Jonathan Larmour
2006-09-11 13:46         ` [ECOS] " Wendell Liu
2006-09-11 14:08           ` [ECOS] " Jonathan Larmour
2006-09-11 14:44             ` Wendell Liu
2006-09-11 18:20               ` Wendell Liu
2006-09-11 18:46                 ` Jonathan Larmour
     [not found]     ` <1df235e50609110703x21cdef28x17602f971209139d@mail.gmail.com>
     [not found]       ` <1df235e50609110706k3f0c6733s4c368e7f08b156ab@mail.gmail.com>
2006-09-13 15:11         ` [ECOS] Re: Fwd: [ECOS] Re: install ecos on debian 1.3.3.5 Andrew Lunn
2006-09-14  6:41           ` mirko massignani
2006-09-14 12:05             ` Andrew Lunn
2006-09-14 17:53               ` mirko massignani
2006-09-14 18:14                 ` Andrew Lunn
2006-09-15 11:02                   ` mirko massignani

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).