public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RedBoot with net support
@ 2001-08-09 14:48 Ron Avisa
  2001-08-10  6:48 ` Bart Veer
  0 siblings, 1 reply; 4+ messages in thread
From: Ron Avisa @ 2001-08-09 14:48 UTC (permalink / raw)
  To: ecos-discuss

In the course of trying to get on latest greatest tools and source
I have switched to the anon-cvs source and the config 2.0 tool.
I am able to build the default package for a cirrus 7xxx board as well as
a cygmon and redboot.

I have been trying to recreate the RedBoot Rom monitor with network support
which comes with the v1.3 shipment under ../loaders/....

When I have selected the Redboot template the Networking options are greyed
out and disabled.
There is some reference to configuring networking using ecosconfig
in an html doc under tcpip/doc. However trying that using configtool
gives me the same conflict errors.
Target: edb7xxx
Template: redboot
Added:
CYGPKG_NET
CYGPKG_IO_ETH_DRIVERS
8 conflict(s):
C CYGPKG_NET, "requires" constraint not satisfied: CYGPKG_IO
C CYGPKG_NET, "requires" constraint not satisfied: CYGPKG_ISOINFRA
C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_C_TIME_TYPES
C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_STRERROR
C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_ERRNO
C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_ERRNO_CODES
C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_MALLOC
C CYGPKG_NET, "requires" constraint not
satisfied: CYGBLD_ISO_BSDTYPES_HEADER == "<sys/bsdtypes.h>"
Trying to build the NET target also fails with some uitron errors.
I suspect I've installed or not installed the net package correctly.
My questions are:
1) What else needs to be done besides cvs download of networking? does it
need to happen in a diff dir?
2) How do I build a Redboot ROM monitor with network support?
3) What is the real diff between cygmon and Redboot?
When I built cygmon I got an 80K bin image. When I tried to build Redboot
with a monitor regardless
of the []Behave Like ROM monitor switch my images were 35K and when flashed
did not provide any
command line.

Thanks
Ron Avisa

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] RedBoot with net support
  2001-08-09 14:48 [ECOS] RedBoot with net support Ron Avisa
@ 2001-08-10  6:48 ` Bart Veer
  0 siblings, 0 replies; 4+ messages in thread
From: Bart Veer @ 2001-08-10  6:48 UTC (permalink / raw)
  To: ravisa; +Cc: ecos-discuss

>>>>> "Ron" == Ron Avisa <ravisa@base2software.com> writes:

    Ron> In the course of trying to get on latest greatest tools and
    Ron> source I have switched to the anon-cvs source and the config
    Ron> 2.0 tool. I am able to build the default package for a cirrus
    Ron> 7xxx board as well as a cygmon and redboot.

    Ron> I have been trying to recreate the RedBoot Rom monitor with
    Ron> network support which comes with the v1.3 shipment under
    Ron> ../loaders/....

    Ron> When I have selected the Redboot template the Networking
    Ron> options are greyed out and disabled. There is some reference
    Ron> to configuring networking using ecosconfig in an html doc
    Ron> under tcpip/doc. However trying that using configtool gives
    Ron> me the same conflict errors.
    Ron> Target: edb7xxx
    Ron> Template: redboot
    Ron> Added:
    Ron> CYGPKG_NET
    Ron> CYGPKG_IO_ETH_DRIVERS
    Ron> 8 conflict(s):
    Ron> C CYGPKG_NET, "requires" constraint not satisfied: CYGPKG_IO
    Ron> C CYGPKG_NET, "requires" constraint not satisfied: CYGPKG_ISOINFRA
    Ron> C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_C_TIME_TYPES
    Ron> C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_STRERROR
    Ron> C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_ERRNO
    Ron> C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_ERRNO_CODES
    Ron> C CYGPKG_NET, "requires" constraint not satisfied: CYGINT_ISO_MALLOC
    Ron> C CYGPKG_NET, "requires" constraint not
    Ron> satisfied: CYGBLD_ISO_BSDTYPES_HEADER == "<sys/bsdtypes.h>"
    Ron> Trying to build the NET target also fails with some uitron
    Ron> errors. I suspect I've installed or not installed the net
    Ron> package correctly. My questions are:

    Ron> 1) What else needs to be done besides cvs download of networking? does it
    Ron> need to happen in a diff dir?
    Ron> 2) How do I build a Redboot ROM monitor with network support?

There is a misunderstanding here. RedBoot comes with its own little
TCP/IP stack, sufficient for use on a LAN, primarily to support
network debugging. The eCos TCP/IP stack provided by the net package
is a separate entity, intended for general-purpose applications. It
has various dependencies on other parts of the system, hence the
unsatisfied constraints.

Adding the full TCP/IP stack to RedBoot is inappropriate. There could
be confusion because there would now be two TCP/IP stacks inside
RedBoot. It would also significantly increase code size in order to
meet the requirements of the full stack, and for a ROM monitor like
RedBoot a small memory footprint is very desirable.

Instead take a look at the RedBoot sources, specifically the src/net
subdirectory, to find out about RedBoot's built-in networking
functionality.

Bart

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Redboot with net support
  2002-03-04  6:07 [ECOS] Redboot " A Roturier
@ 2002-03-04  6:54 ` Gary Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2002-03-04  6:54 UTC (permalink / raw)
  To: A Roturier; +Cc: eCos Discussion

On Mon, 2002-03-04 at 06:51, A Roturier wrote:
> Hi list,
> 
> I can build redboot image and burn it onto flash and boot it up to see
> "RedBoot>" prompt shows up. Also can i do with a testing program built with
> "net" package. However, when i try to compile a redboot image with network
> capability, I have difficult choosing appropriate components to include
> before the image build starts.
> 
> In Windows configuration tool, either I choose 'redboot' package first and
> add network support or I choose 'net' package and add redboot component
> it fails to build the image. For former it keeps complaining some conflicts
> but I can't find suitable components to add. For latter there are some
> compilation errors.
> 
> So what components should I include or is there any docs about this?

If you're trying to [rebuild] an existing RedBoot, use the .ecm file we 
provide.

If you're trying to build RedBoot the first time, i.e. a new port, here
are the steps.  Note: I use the command line, but the ConfigTool actions
are the same:
   % ecosconfig new <platform> redboot
   % ecosconfig add eth_drivers
   % ecosconfig tree
   % make

The key is that the 'net' package is only for full eCos programs.  In 
the case of RedBoot, all you need is the "common ethernet drivers" 
package which brings in the networking framework.  It should also 
implicitly enable any network drivers defined for your target.



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

* [ECOS] Redboot with net support
@ 2002-03-04  6:07 A Roturier
  2002-03-04  6:54 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: A Roturier @ 2002-03-04  6:07 UTC (permalink / raw)
  To: ecos-discuss

Hi list,

I can build redboot image and burn it onto flash and boot it up to see
"RedBoot>" prompt shows up. Also can i do with a testing program built with
"net" package. However, when i try to compile a redboot image with network
capability, I have difficult choosing appropriate components to include
before the image build starts.

In Windows configuration tool, either I choose 'redboot' package first and
add network support or I choose 'net' package and add redboot component
it fails to build the image. For former it keeps complaining some conflicts
but I can't find suitable components to add. For latter there are some
compilation errors.

So what components should I include or is there any docs about this?

Thnaks and bye!

Roturier

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

end of thread, other threads:[~2002-03-04 14:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-09 14:48 [ECOS] RedBoot with net support Ron Avisa
2001-08-10  6:48 ` Bart Veer
2002-03-04  6:07 [ECOS] Redboot " A Roturier
2002-03-04  6:54 ` Gary Thomas

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