linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Rolf Peukert <rolf.peukert@imms.de>
To: Linux-PPC-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: MPC850 SCC3/USB host conflict
Date: Wed, 05 Feb 2003 11:17:10 +0100	[thread overview]
Message-ID: <3E40E4A6.50303@imms.de> (raw)
In-Reply-To: 3E3A9FAD.9070409@imms.de


Rolf Peukert wrote:
...

 > USB works fine when SCC3 UART is not enabled, as does SCC3 without
 > USB. But when both config options are selected, the kernel will hang
 > during bootup, ...

It turned out our problems were caused by m8xx_cpm_dpalloc() running out
of memory.
We didn't notice this for so long, because the return value of some
...dpalloc calls in uart.c and enet.c isn't checked. Even worse, our
version of m8xx_cpm_dpalloc didn't return the predefined error flag
CPM_DP_NOSPACE, but just a 0 upon failure (AFAIK the version in the
current kernel doesn't have this problem).

We solved the conflict by making more memory available for ...dpalloc,
as the USB microcode patch only needs the first 512 and last 256 bytes
reserved (CPM_DATAONLY_BASE is now 0x0200, CPM_DATAONLY_SIZE 0x0D00).

Best wishes,
Rolf


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2003-02-05 10:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-31 16:09 MPC850 SCC3/USB host conflict Rolf Peukert
2003-02-05 10:17 ` Rolf Peukert [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=3E40E4A6.50303@imms.de \
    --to=rolf.peukert@imms.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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 NNTP newsgroup(s).