From: Dan Malek <dan@embeddededge.com>
To: Per Hallsmark <per.hallsmark@t2data.se>
Cc: linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: Question about cpm reset on 8xx
Date: Thu, 3 Feb 2005 10:34:44 -0500 [thread overview]
Message-ID: <33d0c0212a6e30e381aeb4a14caea56d@embeddededge.com> (raw)
In-Reply-To: <41FFBC9A@webmail>
On Feb 3, 2005, at 10:02 AM, Per Hallsmark wrote:
> Yes, probably the 8260 code evolved from the 8xx code?
Yeah, sorta.
> Of course, there could be a reason why it is like it is
> and that's why I sent out the question...
It seems to be the personal preference of the last person that
make changes and checked in a patch.
Years ago, we used to always reset the cpm to eliminate
any microcode patches that may have been installed by the
boot rom. We never knew what may be there, so drivers
would fail.
Later, I added a bunch of kgdb/xmon support for early kernel
debugging. Due to this, we didn't want to reset the cpm because
we would rely on the boot rom initialization of the serial port
for communication. The early serial functions just track down
the BDs and use them, regardless of how they were set up.
Lots of kernel code is run prior to the Linux configuration of the
serial ports, and we wanted to debug before that.
Now, I see this microcode patch again. This is an old piece
of code, or perhaps a recent update to it.
So, the configuration issue is whether you want to run kdgb
or xmon for early kernel debugging. If so, you don't want to
reset the cpm. If there are microcode patches loaded by by
a boot rom, we probably want to reset the cpm. If you are
loading your own patches, you must reset the cpm. If you
want to run kgdb or xmon and load your own microcode
patches ... well, you have a challenge :-)
There may be some configuration logic that meets most
requirements, but it isn't going to be proper for everyone.
You may have to locally edit the files for your purpose,
which is true of several cpm related drivers. You have the
source, use it! ;-)
Thanks.
-- Dan
next prev parent reply other threads:[~2005-02-03 15:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-03 15:02 Question about cpm reset on 8xx Per Hallsmark
2005-02-03 15:34 ` Dan Malek [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-03 14:29 Per Hallsmark
2005-02-03 14:53 ` Jaap-Jan Boor
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=33d0c0212a6e30e381aeb4a14caea56d@embeddededge.com \
--to=dan@embeddededge.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=per.hallsmark@t2data.se \
/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).