public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Why is IPv6 in RedBoot not possible?
@ 2012-01-23 23:45 Grant Edwards
  2012-01-23 23:54 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Edwards @ 2012-01-23 23:45 UTC (permalink / raw)
  To: ecos-discuss

We're adding IPv6 support to our eCos-based products.  The basic IPv6
support in the "full-up" application code is working fine (at least
with static and link-local addressing).  The next big question mark is
RedBoot.

I need to either add IPv6 support to RedBoot or make some basic
changes to the way our product works (specifically how the application
is updated in the field).  Many years back Andrew Lunn stated that
IPv6 support in RedBoot was not possibleP

  From: Andrew Lunn <andrew.lunn <at> ascom.ch>
  Subject: Re: hello..I have a problem about make redboot suport IPv6
  Newsgroups: gmane.os.ecos.general
  Date: 2003-05-26 07:24:20 GMT (8 years, 34 weeks, 4 days, 16 hours and 12 minutes ago)

  > No. Redboot has its own little TCP/IP stack. Have a look in
  > packages/redboot/current/support/net/. This is a very simple IP stack,
  > which is IPv4 only. IPv6 in redboot is not possible.

My question is why?

I realize it might be a fair amount of work to implement some sort of
IPv6 support in RedBoot, but I'm wondering what would make it "not
possible".

-- 
Grant Edwards               grant.b.edwards        Yow! Is this sexual
                                  at               intercourse yet??  Is it,
                              gmail.com            huh, is it??


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

* Re: [ECOS] Why is IPv6 in RedBoot not possible?
  2012-01-23 23:45 [ECOS] Why is IPv6 in RedBoot not possible? Grant Edwards
@ 2012-01-23 23:54 ` Gary Thomas
  2012-01-24  5:58   ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2012-01-23 23:54 UTC (permalink / raw)
  To: ecos-discuss

On 2012-01-23 16:44, Grant Edwards wrote:
> We're adding IPv6 support to our eCos-based products.  The basic IPv6
> support in the "full-up" application code is working fine (at least
> with static and link-local addressing).  The next big question mark is
> RedBoot.
>
> I need to either add IPv6 support to RedBoot or make some basic
> changes to the way our product works (specifically how the application
> is updated in the field).  Many years back Andrew Lunn stated that
> IPv6 support in RedBoot was not possibleP
>
>    From: Andrew Lunn<andrew.lunn<at>  ascom.ch>
>    Subject: Re: hello..I have a problem about make redboot suport IPv6
>    Newsgroups: gmane.os.ecos.general
>    Date: 2003-05-26 07:24:20 GMT (8 years, 34 weeks, 4 days, 16 hours and 12 minutes ago)
>
>    >  No. Redboot has its own little TCP/IP stack. Have a look in
>    >  packages/redboot/current/support/net/. This is a very simple IP stack,
>    >  which is IPv4 only. IPv6 in redboot is not possible.
>
> My question is why?
>
> I realize it might be a fair amount of work to implement some sort of
> IPv6 support in RedBoot, but I'm wondering what would make it "not
> possible".

Adding IPv6 to RedBoot is not impossible, but it will require a
large amount of work, certainly requiring changes to all the existing
code as well as adding additional support.  Andrew's "not possible"
was most likely an expression of how involved this might be.

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

* Re: [ECOS] Why is IPv6 in RedBoot not possible?
  2012-01-23 23:54 ` Gary Thomas
@ 2012-01-24  5:58   ` Andrew Lunn
  2012-01-24 13:59     ` [ECOS] " Grant Edwards
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2012-01-24  5:58 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-discuss

On Mon, Jan 23, 2012 at 04:54:23PM -0700, Gary Thomas wrote:
> On 2012-01-23 16:44, Grant Edwards wrote:
> >We're adding IPv6 support to our eCos-based products.  The basic IPv6
> >support in the "full-up" application code is working fine (at least
> >with static and link-local addressing).  The next big question mark is
> >RedBoot.
> >
> >I need to either add IPv6 support to RedBoot or make some basic
> >changes to the way our product works (specifically how the application
> >is updated in the field).  Many years back Andrew Lunn stated that
> >IPv6 support in RedBoot was not possibleP
> >
> >   From: Andrew Lunn<andrew.lunn<at>  ascom.ch>
> >   Subject: Re: hello..I have a problem about make redboot suport IPv6
> >   Newsgroups: gmane.os.ecos.general
> >   Date: 2003-05-26 07:24:20 GMT (8 years, 34 weeks, 4 days, 16 hours and 12 minutes ago)
> >
> >   >  No. Redboot has its own little TCP/IP stack. Have a look in
> >   >  packages/redboot/current/support/net/. This is a very simple IP stack,
> >   >  which is IPv4 only. IPv6 in redboot is not possible.
> >
> >My question is why?
> >
> >I realize it might be a fair amount of work to implement some sort of
> >IPv6 support in RedBoot, but I'm wondering what would make it "not
> >possible".
> 
> Adding IPv6 to RedBoot is not impossible, but it will require a
> large amount of work, certainly requiring changes to all the existing
> code as well as adding additional support.  Andrew's "not possible"
> was most likely an expression of how involved this might be.

Hee, this was such a long time ago. Maybe it was referring to the
original poster adding the FreeBSD stack to his configuration and
expecting RedBoot to use it.

You might be able to steal ideas and code from uIP. I forget what
license it uses.

Or, depending on what you actually need from the boot loader, it might
be possible to swap to uboot, which seems to have some patches
floating around for IPv6 support.

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

* [ECOS] Re: Why is IPv6 in RedBoot not possible?
  2012-01-24  5:58   ` Andrew Lunn
@ 2012-01-24 13:59     ` Grant Edwards
  0 siblings, 0 replies; 4+ messages in thread
From: Grant Edwards @ 2012-01-24 13:59 UTC (permalink / raw)
  To: ecos-discuss

On 2012-01-24, Andrew Lunn <andrew@lunn.ch> wrote:

>>>I realize it might be a fair amount of work to implement some sort of
>>>IPv6 support in RedBoot, but I'm wondering what would make it "not
>>>possible".
>> 
>> Adding IPv6 to RedBoot is not impossible, but it will require a large
>> amount of work, certainly requiring changes to all the existing code
>> as well as adding additional support.  Andrew's "not possible" was
>> most likely an expression of how involved this might be.
>
> Hee, this was such a long time ago.

IPv6 isn't exactly taking off like a rocket. :)

> Maybe it was referring to the original poster adding the FreeBSD
> stack to his configuration and expecting RedBoot to use it.

Yes, the poster to which you were replying was clearly pretty lost.  I
wondered if "not possible" was meant in the context of his approach.

> You might be able to steal ideas and code from uIP. I forget what
> license it uses.
>
> Or, depending on what you actually need from the boot loader, it
> might be possible to swap to uboot, which seems to have some patches
> floating around for IPv6 support.

We require TCP support, which is UBoot doesn't have.  My guess was
that it would be easier to add IPv6 to RedBoot than TCP to UBoot, but
that might be wrong.

The other option is to change our firmware update process and our main
eCos app so that the firmware update can be done via the eCos app
that's using the full-up kernel with IPv6 support.  I've got a fairly
good idea how much work is involved in that, and I'm starting to
suspect it would be easier than adding ipv6 support to RedBoot
(especially if DHCPv6 and router advertisement support are needed) or
adding TCP support to UBoot.

-- 
Grant Edwards               grant.b.edwards        Yow! I need to discuss
                                  at               BUY-BACK PROVISIONS
                              gmail.com            with at least six studio
                                                   SLEAZEBALLS!!


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

end of thread, other threads:[~2012-01-24 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-23 23:45 [ECOS] Why is IPv6 in RedBoot not possible? Grant Edwards
2012-01-23 23:54 ` Gary Thomas
2012-01-24  5:58   ` Andrew Lunn
2012-01-24 13:59     ` [ECOS] " Grant Edwards

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