public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gthomas@cambridge.redhat.com>
To: "Lewin A.R.W. Edwards" <larwe@larwe.com>
Cc: ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] Still having problems getting networking up
Date: Fri, 16 Feb 2001 12:30:00 -0000	[thread overview]
Message-ID: <XFMail.20010216132950.gthomas@cambridge.redhat.com> (raw)
In-Reply-To: <4.3.2.7.2.20010216143944.00b4f240@larwe.com>

On 16-Feb-2001 Lewin A.R.W. Edwards wrote:
> 
>>    Lewin> ecosconfig new edb7xxx
>>     Lewin> ecosconfig add eth_drivers net
>>
>>You should be able to just do "ecosconfig new edb7xxx net" to combine
>>the above two steps, but that is not the problem here.
> 
> Just FYI, it seems that template is currently broken, as eCos won't build 
> successfully with "ecosconfig new edb7xxx net". I'll redo it and send a 
> make.out if you want, but it should be easy to reproduce.
> 

I tried this "six ways from Sunday" against the current [master] sources and 
I could not reproduce your error.

> Anyway, I got everything built OK, but it seems that more configuration is 
> required. When my app starts, it hangs repeating "CS8900: Tx interrupt lost".
> 

If you have an EDB7212 board then you'll need to remove a resistor to get
interrupts to work.  Remove R168 and all jumpers from JP45.

Alternatively, you can try enabling the #define INTS_DONT_WORK in the driver.

> To gather a little more info, I set up a (different from previous) bogus 
> MAC address of 0x00:0x14:0x49:0x18:0x14:0x00 using fconfig, and I enabled 
> boot-time network debugging. Power up and I get several repetitions of this:
> 
> Ethernet send:
> 0x000029E4: FFFF FFFF FFFF 0014  4918 1400 0800        |........I.....  |
> 0x0000C93C: 4500 0148 0002 0000  4011 79A4 0000 0000   |E..H....@.y.....|
> 0x0000C94C: FFFF FFFF 0044 0043  0134 0F6B 0101 0600   |.....D.C.4.k....|
> 0x0000C95C: 5555 3412 0000 0000  0000 0000 0000 0000   |UU4.............|
> 0x0000C96C: 0000 0000 0000 0000  0014 4918 1400 0000   |..........I.....|
> 0x0000C97C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000C98C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000C99C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000C9AC: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000C9BC: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000C9CC: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000C9DC: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000C9EC: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000C9FC: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000CA0C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000CA1C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000CA2C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000CA3C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000CA4C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000CA5C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000CA6C: 0000 0000 0000 0000  0000 0000 0000 0000   |................|
> 0x0000CA7C: 0000 0000 0000 0000                        |........        |
> Tx event: 8
> Can't get BOOTP info - network disabled!
> RedBoot>
> 
> The link LED is on, everything should be working I think. Is there 
> something else I've forgotten?
> 
> One issue that I don't understand here is the following quote from 
> < http://sources.redhat.com/ecos/docs-latest/tcpip/tcpip.3.html#pgfId=1132625 >: 
> "This assumes that the MAC address is already defined in the serial EEPROM 
> or however the particular target implements this; there is no (tested) 
> support for setting the MAC address in this release." Does the networking 
> code in eCos [not redboot] read the MAC address set by fconfig and saved in 
> main flash store? If not, then how is it possible to bring up eth0 on the 
> Cirrus board?
> 

Currently, if you run RedBoot and enable the network address (turn on networking
support in RedBoot) then eCos will just use that.  Note: eCos does not get the
ESA from the FLASH, it assumes that RedBoot has set it up.

  reply	other threads:[~2001-02-16 12:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-16  9:09 [ECOS] Which packages are needed for networking? Lewin A.R.W. Edwards
2001-02-16 10:01 ` Bart Veer
2001-02-16 11:19   ` Lewin A.R.W. Edwards
2001-02-16 11:55   ` [ECOS] Still having problems getting networking up Lewin A.R.W. Edwards
2001-02-16 12:30     ` Gary Thomas [this message]
2001-02-17 21:54 [ECOS] new ecosconfig tool di yan
2001-02-19  6:33 ` Lewin A.R.W. Edwards
2001-02-19  6:53   ` [ECOS] Still having problems getting networking up Bart Veer

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=XFMail.20010216132950.gthomas@cambridge.redhat.com \
    --to=gthomas@cambridge.redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=larwe@larwe.com \
    /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).