public inbox for ecos-maintainers@sourceware.org
 help / color / mirror / Atom feed
From: Nick Garnett <nickg@ecoscentric.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: John Dallaway <jld@ecoscentric.com>,
	eCos Maintainers <ecos-maintainers@sources.redhat.com>
Subject: Re: New CPM/DPRAM allocator
Date: Wed, 19 Mar 2003 18:22:00 -0000	[thread overview]
Message-ID: <m34r5zjjxe.fsf@miso.calivar.com> (raw)
In-Reply-To: <1048093613.7462.5303.camel@hermes.chez-thomas.org>

Gary Thomas <gary@mlbassoc.com> writes:

> On Wed, 2003-03-19 at 08:45, John Dallaway wrote:
> > Nick Garnett wrote:
> > 
> > > > 1) Does this incompatibilty affect _all_ targets which run both RedBoot
> > > > and eCos?
> > >
> > > Just PowerPC QUICC targets, like the MBX, Adder or Viper, for example.
> > 
> > Good. Not as pervasive as I suspected. It looks like Gary is investigating 
> > why the incompatibility is there at all. Hopefully he can resolve the 
> > compatibility issue. I will delay my vote on accepting this into the 2.0 
> > branch pending his report.
> 
> I've just tried this - CVS latest eCos + old (2.0beta) RedBoot
> on the Adder and I can't see a failure.  I tried both the default
> and net templates.
> 
> Nick - any ideas how I can duplicate the failure?
> 

I'm afraid not. I was, until Monday, using the default RedBoot
installed by A&M on the board. Maybe there were other changes since
that was made that make this problem go away.

As explained elsewhere, what I saw was the value at
(CYGHWR_HAL_VSR_TABLE + 0x1F0) was 0xFFFF. This caused
_mpc8xx_allocBd() to reset it to QUICC_BD_BASE and start allocating
network rxbds from there. At some point during that process it
obviously overwrote something being used by redboot's serial device,
which then went haywire.

I don't see how the code as it stands can avoid this. How does the new
eCos know where to allocate BDs to avoid trampling on an old RedBoot's
BDs? Just allocating from the start it seems bound to trample on
something important.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts

  reply	other threads:[~2003-03-19 18:22 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18  8:47 Patches for the eCos 2.0 branch John Dallaway
2003-03-18 13:48 ` Gary Thomas
2003-03-18 16:04   ` Proposal for processing patches " John Dallaway
2003-03-18 17:25     ` Jonathan Larmour
2003-03-18 18:21       ` Nick Garnett
2003-03-18 18:56     ` Andrew Lunn
2003-04-12  5:00       ` Jonathan Larmour
2003-04-14  7:28         ` Andrew Lunn
2003-03-18 19:01     ` Andrew Lunn
2003-03-18 22:58       ` Jonathan Larmour
2003-03-18 19:16     ` SNMP for FreeBSD Andrew Lunn
2003-03-19 13:22       ` Jonathan Larmour
2003-03-19 14:23         ` Gary Thomas
2003-03-19 18:07         ` Nick Garnett
2003-03-25 17:01       ` Andrew Lunn
2003-03-19 14:22     ` 2.0 branch: mn10300 debug info patch Bart Veer
2003-03-19 14:40       ` John Dallaway
2003-03-19 18:07       ` Nick Garnett
2003-03-18 18:09   ` Patches for the eCos 2.0 branch Nick Garnett
2003-03-18 18:25     ` Gary Thomas
2003-03-18 19:05       ` Nick Garnett
2003-03-18 19:13         ` Gary Thomas
2003-03-19 10:18           ` New CPM/DPRAM allocator John Dallaway
2003-03-19 13:02             ` Nick Garnett
2003-03-19 14:38               ` Gary Thomas
2003-03-19 15:44               ` John Dallaway
2003-03-19 17:06                 ` Gary Thomas
2003-03-19 18:22                   ` Nick Garnett [this message]
2003-03-19 18:26                     ` Gary Thomas
2003-03-19 18:52                       ` Nick Garnett
     [not found]                         ` <1048100525.7462.5617.camel@hermes.chez-thomas.org>
2003-03-19 19:21                           ` Nick Garnett
2003-03-20 13:02                           ` Nick Garnett
2003-03-20 13:14                             ` Gary Thomas
2003-03-20 18:11                               ` Nick Garnett

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=m34r5zjjxe.fsf@miso.calivar.com \
    --to=nickg@ecoscentric.com \
    --cc=ecos-maintainers@sources.redhat.com \
    --cc=gary@mlbassoc.com \
    --cc=jld@ecoscentric.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).