From: Mandeep Sandhu <mandeepsandhu.chd@gmail.com>
To: Simon Kallweit <simon.kallweit@intefo.ch>
Cc: ecos-discuss <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] ecos with lwip and 2 interfaces
Date: Wed, 23 Sep 2009 13:50:00 -0000 [thread overview]
Message-ID: <b18c5f790909230650h7243178ew6fc7c0a0f8e5704d@mail.gmail.com> (raw)
In-Reply-To: <4ABA22B2.4020401@intefo.ch>
On Wed, Sep 23, 2009 at 6:59 PM, Simon Kallweit
<simon.kallweit@intefo.ch> wrote:
> Mandeep Sandhu wrote:
>>
>> On Wed, Sep 23, 2009 at 6:40 PM, Simon Kallweit
>> <simon.kallweit@intefo.ch> wrote:
>>>
>>> Mandeep Sandhu wrote:
>>>>
>>>> I observed another thing while debugging this issue. Even though my
>>>> Default interface is set to eth0, the option CYGDAT_LWIP_ETH0_DEFAULT
>>>> in the .ecc file is still not set! I'm using "configtool" to change my
>>>> config. Is this a GUI tool issue?
>>>
>>> Well, it is not set, but the default value for eth0 is '1' so it does not
>>> need to be overwritten by a user value. When creating the tree you will
>>> notice the proper #define in include/pkgconf/net_lwip.h:
>>>
>>> #define CYGPKG_LWIP_ETH0_CONF 1
>>
>> Oh! ok thanks.
>>
>> One small thing. I think the check you added in eth_drv_init() should be
>>
>> if (conf && conf->def)
>> netif_set_default(netif);
>
> Absolutely. Dumb copy'paste mistake. I'll fix it in and redo the download
> archive.
>
> Any success with the new version?
Yup! Working fine till now. Still running more tests. Will post back
if I see anything out of the ordinary!
Thanks,
-mandeep
>
> Simon
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
prev parent reply other threads:[~2009-09-23 13:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-21 14:05 Mandeep Sandhu
2009-09-22 7:28 ` Simon Kallweit
2009-09-23 11:12 ` Mandeep Sandhu
2009-09-23 12:48 ` Simon Kallweit
2009-09-23 13:04 ` Mandeep Sandhu
2009-09-23 13:10 ` Simon Kallweit
2009-09-23 13:21 ` Mandeep Sandhu
2009-09-23 13:29 ` Simon Kallweit
2009-09-23 13:50 ` Mandeep Sandhu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b18c5f790909230650h7243178ew6fc7c0a0f8e5704d@mail.gmail.com \
--to=mandeepsandhu.chd@gmail.com \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=simon.kallweit@intefo.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).