Pandurang Kale | 2 Jan 2007 08:44

Porting eCOS fs(fileio, RAMFS, ROMFS) on ITRON


Hello,

   I wanted to know if some has done porting of the ecos file system for ITRON or any other RTOS. would
appreciate if some one can help me out giving suggestion and hints in this direction.

Thanks,
Pandu

Conexant E-mail Firewall (Conexant.Com) made the following annotations---------------------------------------------------------------------
********************** Legal Disclaimer **************************** 

"This email may contain confidential and privileged material for the sole use of the intended recipient.
Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the
message in error, please advise the sender by reply email and delete the message. Thank you." 

********************************************************************** 

---------------------------------------------------------------------

Tom Theron | 3 Jan 2007 21:48

eCos port to STR7/9


I did some searching and questioning on eCos ports for the STR7/9 families,
and this is what I've found:

1.  Ecoscentric has a port available for STR7, but you need to buy ecospro
development kit for  £4800  (gulp..)
2.  Frank Wu indicated interest in porting for STR7
3.  C. Adam Lamb indicated interest in porting for STR9
4.  I located someone in the UK who apparently made some progress to port to
STR7, but trying to contact him was fruitless.
5.  I am interested in a port for str7 myself
6. There may be others..

Frank and Adam may have started already. 

There seems to be enough interest towards a joint effort for the STR family,
rather than each re-inventing the wheel. I'm new to eCos myself, but I'm
willing to add my bit wherever possible.

Please let us know what has been done and what not, and how efforts may be
synergized.

Regards
Tom Theron

--

-- 
View this message in context: http://www.nabble.com/eCos-port-to-STR7-9-tf2915879.html#a8148352
Sent from the Sourceware - ecos-devel mailing list archive at Nabble.com.

(Continue reading)

Peter Jansen | 5 Jan 2007 01:05
Picon

Default for BOOTP in redboot [Sec=Unclassified]

Hi,

I have some confusion on how to configure redboot not to try and find a 
BOOTP server by default. I'm using redboot to boot a Technologic Systems 
TS7260 with a ARM processor.

The logic in

packages/redboot/current/src/net/net_io.c

Does not seem quite correct.

The start of this file line 95 has

#ifndef CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
#define CYGSEM_REDBOOT_DEFAULT_NO_BOOTP 0
#endif

So the macro CYGSEM_REDBOOT_DEFAULT_NO_BOOTP will always be defined.

then on line 684 we have

#ifdef CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
     use_bootp = false;
#else
     use_bootp = true;
#endif

So however the macro CYGSEM_REDBOOT_DEFAULT_NO_BOOTP is set the variable 
use_bootp will always be false.
(Continue reading)

Carl Zhou | 5 Jan 2007 02:25

RE: Default for BOOTP in redboot [Sec=Unclassified]

Peter:

The logic seems clear to me. Please correct me if I am wrong.

Suppose that you want to boot from flash, what you do is to define the top
level macro CYGSEM_REDBOOT_DEFAULT_NO_BOOTP (This is done manually? I think
that there should be a configuration mechanism). Then:

1. Line 95: The macro won't be redefined to be 0;
2. Line 684: "use_bootp" will be assigned value "false";
3. Line 703: condition evaluated to be true, so the block (boot from flash
procedure)is entered, and IP address is got from flash;
4. Line 758: condition evaluated to be false, so the block (bootp procedure)
is not entered.

Carl

-----Original Message-----
From: Peter Jansen [mailto:peter.jansen <at> aad.gov.au] 
Sent: Thursday, January 04, 2007 4:06 PM
To: ecos-devel <at> ecos.sourceware.org
Subject: Default for BOOTP in redboot [Sec=Unclassified]

Hi,

I have some confusion on how to configure redboot not to try and find a 
BOOTP server by default. I'm using redboot to boot a Technologic Systems 
TS7260 with a ARM processor.

The logic in
(Continue reading)

Peter Jansen | 5 Jan 2007 04:30
Picon

Re: Default for BOOTP in redboot [Sec=Unclassified]

Hi Carl,

Thanks for the quick reply, I have done more more digging.

> The logic seems clear to me. Please correct me if I am wrong.
> 
> Suppose that you want to boot from flash, what you do is to define the top
> level macro CYGSEM_REDBOOT_DEFAULT_NO_BOOTP (This is done manually? I think
> that there should be a configuration mechanism). Then:

I think this comes from the redboot.cdl file or the user ones in the 
particular port, in my case redboot_ROMRAM_ts7250.ecm

I found that I need to set

cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR {user_value 1 192,168,1,254};

then the macro DEFAULT_NO_BOOTP get set from the configuration.

> 1. Line 95: The macro won't be redefined to be 0;
> 2. Line 684: "use_bootp" will be assigned value "false";

Does this not mean that by line 684 the macro is always defined (either 
in the configuration or line 96), so use_bootp is always set false by 
line 685. I guess this means that its always set to false if there is no 
flash configuration, although the #ifdef is a but redundant.

Should line 684 be a #if (not #ifdef)?

Ok, I was wondering how use_bootp was getting set in my port, and I 
(Continue reading)

Nelly PISON | 29 Jan 2007 10:53
Picon

snmp agent : how does it work

Hello,

I have to realize an SNMP agent on a board with ecos and  the freeBSD 
TCP/IP stack that already work fine

1 - does the ecos agent snmp work without problem ?

2 - I want to manage only 4 data to be read by a manager. I think it is 
possible to do so without creating necessarily  a MIB.
So in the user init function I want to declare them: which function can 
be use?
 I look for  an equivalent to netsnmp_register_int_instance() that I 
found in an example about SNMP
But this function doesn't exist in the ecos packages .

Thanks for any response
Nelly PISON

Andrew Lunn | 29 Jan 2007 11:15
Picon

Re: snmp agent : how does it work

On Mon, Jan 29, 2007 at 10:53:39AM +0100, Nelly PISON wrote:
> Hello,
> 
> I have to realize an SNMP agent on a board with ecos and  the freeBSD 
> TCP/IP stack that already work fine
> 
> 1 - does the ecos agent snmp work without problem ?
> 
> 2 - I want to manage only 4 data to be read by a manager. I think it is 
> possible to do so without creating necessarily  a MIB.

You always need a MIB. 

> So in the user init function I want to declare them: which function can 
> be use?
> I look for  an equivalent to netsnmp_register_int_instance() that I 
> found in an example about SNMP
> But this function doesn't exist in the ecos packages .

Take a look at the existing agent MIB implementations. eg 
packages/net/snmp/agent/current/src/mibgroup/mibII/ip.c

        Andrew


Gmane