linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Timur Tabi <timur@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] [POWERPC] MPC8360E-RDK: Device tree and board file
Date: Thu, 27 Dec 2007 19:00:29 +0300	[thread overview]
Message-ID: <20071227160029.GA31294@localhost.localdomain> (raw)
In-Reply-To: <4773C6EF.1020106@freescale.com>

On Thu, Dec 27, 2007 at 09:38:23AM -0600, Timur Tabi wrote:
> Anton Vorontsov wrote:
> 
> >I wonder what are the symptoms if microcode is at fault? According
> >to errata description, hang isn't something I should get on the
> >transmit attempt.
> 
> Well, if the microcode fails, you'll never know.  I tried to explain the 
> need for a unified microcode validation mechanism to the QE microcode 
> developers, but I didn't get very far.
> 
> >Well. All I've found is: QERAMPTCH.zip ("RAM Microcode Patches for
> >PowerQUICC II Pro Family QE Errata"), which should fix QE_UART5 errata
> >for MPC8323 Rev 1.1. 
> 
> I don't know what that is, but it doesn't apply.  I'm talking about the 
> QE and QE UART patches I've posted to this mailing list over the past 
> month.

:-) I didn't get it wrong. QERAMPTCH.zip is the microcode (they
name it "microcode patches") I've tried, it has nothing to do with
your Linux patches.

> Once Kumar applies them to them to his for-2.6.25 branch, it'll 
> make life easier for everyone.
> 
> Can I assume it works for MPC8360 too?
> 
> No.  Microcode is very sensitive to the processor and the revision.  A 
> microcode for 8360 2.1 won't work on 8360 2.0.
> 
> I forgot to give you the actual microcode. :-)  I'll email it to you later.

Much thanks! Also, could you provide the magic python script to
generate binary firmwares to try loading fw from the linux? Or
just a .bin file.

> >Here are dts entries I use:
> >
> >		firmware {
> >			id = "Soft-UART";
> >			extended_modes = <0 0>;
> >			virtual_traps = <0 0 0 0 0 0 0 0>;
> >		};
> 
> This entry is created by U-Boot only if it uploads the microcode.  This 
> should not be in the DTS.

Sure thing. That was just a quirk for the quick testing, to not tinker
with u-boot part.

> >
> >		ucc@2400 {
> >			device_type = "serial";
> >			compatible = "ucc_uart";
> >			reg = <0x2400 0x200>;
> >			device-id = <5>;
> >			port-number = <0>;
> >			rx-clock-name = "brg7";
> >			tx-clock-name = "brg8";
> >			interrupts = <40>;
> >			interrupt-parent = <&qeic>;
> >			soft-uart;
> >		};
> >
> >		ucc@3400 {
> >			device_type = "serial";
> >			compatible = "ucc_uart";
> >			reg = <0x3400 0x200>;
> >			device-id = <6>;
> >			port-number = <1>;
> >			rx-clock-name = "brg14";
> >			tx-clock-name = "brg14";
> >			interrupts = <41>;
> >			interrupt-parent = <&qeic>;
> >		};
> 
> You need to have separate BRGs for TX and RX when using soft-uart mode, 
> and you MUST use soft-uart mode on the 8360.

Yup, I know. In the original email I've explained that I deliberately
configured two uarts differently for the testing purposes.

Thanks!

-- 
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2

  reply	other threads:[~2007-12-27 15:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-21 20:23 [PATCH] [POWERPC] MPC8360E-RDK: Device tree and board file Anton Vorontsov
2007-12-23  2:16 ` Stephen Rothwell
2007-12-23  3:25 ` Timur Tabi
2007-12-24 12:15   ` Anton Vorontsov
2007-12-25 20:44     ` Timur Tabi
2007-12-26 16:29       ` Anton Vorontsov
2007-12-26 20:38         ` Anton Vorontsov
2007-12-27 15:38         ` Timur Tabi
2007-12-27 16:00           ` Anton Vorontsov [this message]
2007-12-23  3:28 ` Timur Tabi
2007-12-24 12:17   ` Anton Vorontsov
2007-12-24 17:39     ` Timur Tabi

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=20071227160029.GA31294@localhost.localdomain \
    --to=avorontsov@ru.mvista.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=timur@freescale.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 NNTP newsgroup(s).