public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] PPP on eCos(eb40a)
@ 2003-10-16  4:32 Transferencia de Archivos
  2003-10-16  4:48 ` [ECOS] PPP on eCos(eb40a), continued Transferencia de Archivos
  0 siblings, 1 reply; 6+ messages in thread
From: Transferencia de Archivos @ 2003-10-16  4:32 UTC (permalink / raw)
  To: ecos-discuss

Hey, Today I have just downloaded the PPPStack.zip(I dont remeber well the 
name) and tried to compile  it into a new kernel using: 

$ecosconfig new eb40a net
$ecosconfig add ppp0 (no conflicts here)
$ecosconfig tree
$make 

Just in the chap compiling some parse errors apeared, it's from my target? 
or maybe some really parse errors?, maybe I have done something wrong? Or 
maybe missed something? Im pretty interested on PPP over eCos. 

If you want the output I will post it. 


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

* [ECOS] PPP on eCos(eb40a), continued...
  2003-10-16  4:32 [ECOS] PPP on eCos(eb40a) Transferencia de Archivos
@ 2003-10-16  4:48 ` Transferencia de Archivos
  0 siblings, 0 replies; 6+ messages in thread
From: Transferencia de Archivos @ 2003-10-16  4:48 UTC (permalink / raw)
  To: ecos-discuss


Again I used this lines to compile the kernel with "NET" support
> $ecosconfig new eb40a net
> $ecosconfig tree
> $make  
> 
No errors during compiling, still, compiling the examples, the same error 
appeared on all, 

../arm-elf/bin/ld: address 0x85df8 of hello section .bss is not within 
region ram 

Well, I dont know why this happened, but I suppose that the eb40a has not 
enough memory to suppor the stack, I have gotten this error before and was 
when I overpassed the ram limit of the board, therefore, why the error 
appears in a code like  a simple hello-world? 

Or that template NET is not intended to run for the eb40a? 

Thanx you all. 

Xcuze me If the questions has "obvious" answers. I'm still learning the eCos 
thing.

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

* Re: [ECOS] PPP on eCos(eb40a), continued...
  2003-10-16 19:06 Transferencia de Archivos
@ 2003-10-17  8:26 ` Eric de Jong
  0 siblings, 0 replies; 6+ messages in thread
From: Eric de Jong @ 2003-10-17  8:26 UTC (permalink / raw)
  To: ecos-discuss

The eb40a has for a RAM application 256kb internal ram which is shared for both
debugger (redboot, ~60kb), program code and data (stack, heap, constants, bss).
If you have placed external ram, the linker script must be changed to use it,
providing that the memory interface (EBI) is already configured for that memory.
Redboot should have done this already in vector.S and hal_platform_setup.h
For a ROM application, the program code comes in FLASH and  no debugger has to
be used to load your application. This will give you more free ram. But as you
replace redboot, I would not recommend it. Too much trouble.

1) expand your eb40a with extra ram, if not already placed (I have never done it
myself)
2) check if redboot does set up the EBI interface correctly.
3) change your linker script (target.ld) to place the bss section in the
external ram. See if there is enough stack space and heap space left.

Eric de Jong

----- Original Message -----
>This is not going to be much help, But I think you are right. It sounds like
>you are running out of RAM memory. Just the net component on its own without
>the PPP stack is large (in embedded terms).
>
>How much memory have you setup the target to have?

Well, the eb40a has 512k of RAM, I suposse that the space avaliable for the
stack is much less,cuz the other pakgs.



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

* RE: [ECOS] PPP on eCos(eb40a), continued...
@ 2003-10-17  7:59 Retallack, Mark (Siemens)
  0 siblings, 0 replies; 6+ messages in thread
From: Retallack, Mark (Siemens) @ 2003-10-17  7:59 UTC (permalink / raw)
  To: 'Transferencia de Archivos'; +Cc: ecos-discuss

You might want to try the LWIP with its ppp stack, it should be smaller.


-----Original Message-----
From: Transferencia de Archivos [mailto:transfers@phaber.com]
Sent: Thursday 16 October 2003 08:07 PM
To: ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] PPP on eCos(eb40a), continued...


>This is not going to be much help, But I think you are right. It sounds
like
>you are running out of RAM memory. Just the net component on its own
without
>the PPP stack is large (in embedded terms).  
>
>How much memory have you setup the target to have? 

Well, the eb40a has 512k of RAM, I suposse that the space avaliable for the 
stack is much less,cuz the other pakgs. 


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


Siemens Traffic Controls is a division of Siemens plc. Registered No.
727817, England. 
Registered office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ. 

This communication contains information which is confidential and 
may also be privileged. It is for the exclusive use of the addressee. 
If you are not the addressee please note that any distribution, 
reproduction, copying, publication or use of this communication 
or the information in it is prohibited.  If you have received this 
communication in error, please contact us immediately and also 
delete the communication from your computer. 



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

* RE: [ECOS] PPP on eCos(eb40a), continued...
@ 2003-10-16 19:06 Transferencia de Archivos
  2003-10-17  8:26 ` Eric de Jong
  0 siblings, 1 reply; 6+ messages in thread
From: Transferencia de Archivos @ 2003-10-16 19:06 UTC (permalink / raw)
  To: ecos-discuss

>This is not going to be much help, But I think you are right. It sounds like
>you are running out of RAM memory. Just the net component on its own without
>the PPP stack is large (in embedded terms).  
>
>How much memory have you setup the target to have? 

Well, the eb40a has 512k of RAM, I suposse that the space avaliable for the 
stack is much less,cuz the other pakgs. 


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

* RE: [ECOS] PPP on eCos(eb40a), continued...
@ 2003-10-16  7:47 Retallack, Mark (Siemens)
  0 siblings, 0 replies; 6+ messages in thread
From: Retallack, Mark (Siemens) @ 2003-10-16  7:47 UTC (permalink / raw)
  To: 'Transferencia de Archivos'; +Cc: ecos-discuss

This is not going to be much help, But I think you are right. It sounds like
you are running out of RAM memory. Just the net component on its own without
the PPP stack is large (in embedded terms). 

How much memory have you setup the target to have? 



-----Original Message-----
From: Transferencia de Archivos [mailto:transfers@phaber.com]
Sent: Thursday 16 October 2003 05:49 AM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] PPP on eCos(eb40a), continued...



Again I used this lines to compile the kernel with "NET" support
> $ecosconfig new eb40a net
> $ecosconfig tree
> $make  
> 
No errors during compiling, still, compiling the examples, the same error 
appeared on all, 

../arm-elf/bin/ld: address 0x85df8 of hello section .bss is not within 
region ram 

Well, I dont know why this happened, but I suppose that the eb40a has not 
enough memory to suppor the stack, I have gotten this error before and was 
when I overpassed the ram limit of the board, therefore, why the error 
appears in a code like  a simple hello-world? 

Or that template NET is not intended to run for the eb40a? 

Thanx you all. 

Xcuze me If the questions has "obvious" answers. I'm still learning the eCos

thing.

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


Siemens Traffic Controls is a division of Siemens plc. Registered No.
727817, England. 
Registered office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ. 

This communication contains information which is confidential and 
may also be privileged. It is for the exclusive use of the addressee. 
If you are not the addressee please note that any distribution, 
reproduction, copying, publication or use of this communication 
or the information in it is prohibited.  If you have received this 
communication in error, please contact us immediately and also 
delete the communication from your computer. 



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

end of thread, other threads:[~2003-10-17  8:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16  4:32 [ECOS] PPP on eCos(eb40a) Transferencia de Archivos
2003-10-16  4:48 ` [ECOS] PPP on eCos(eb40a), continued Transferencia de Archivos
2003-10-16  7:47 Retallack, Mark (Siemens)
2003-10-16 19:06 Transferencia de Archivos
2003-10-17  8:26 ` Eric de Jong
2003-10-17  7:59 Retallack, Mark (Siemens)

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