From: Steve Heflin <sheflin@newagemicro.com>
To: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Sequoia build with KDBG
Date: Fri, 29 Feb 2008 21:55:51 -0500 [thread overview]
Message-ID: <20080301025528.AE450DDE98@ozlabs.org> (raw)
In-Reply-To: <20080229203015.0ada459e@zod.rchland.ibm.com>
At 09:30 PM 2/29/2008, Josh Boyer wrote:
>On Fri, 29 Feb 2008 19:23:40 -0500
>Steve Heflin <sheflin@newagemicro.com> wrote:
>
>Putting the list back on CC because I'm sure you won't be the only
>person to have this issue.
>
> > poor man's debugging works fine if a serial port is available, but my
> > Sequoia platform doesn't get that far! I use u-boot to download and
> > boot my image, and I don't get any serial output after the boot completes:
>
>By "poking characters out the serial port" I meant I literally coded up
>assembly functions to setup MMU translations and poke hex values at hard
>coded addresses. That's why it's "poor man's". If you had a working
>serial port out of the box, that would be a luxury ;).
>
> > => bootm 0x500000
> > ## Booting image at 00500000 ...
> > Image Name: Kernel and Ramdisk
> > Created: 2008-03-01 0:09:57 UTC
> > Image Type: PowerPC Linux Multi-File Image (gzip compressed)
> > Data Size: 2430248 Bytes = 2.3 MB
> > Load Address: 00000000
> > Entry Point: 00000000
> > Contents:
> > Image 0: 1471523 Bytes = 1.4 MB
> > Image 1: 958712 Bytes = 936.2 kB
> > Verifying Checksum ... OK
> > Uncompressing Multi-File Image ... OK
> > Loading Ramdisk to 07e42000, end 07f2c0f8 ... OK
> > ------
> > console port is now dead.
> > ------
>
>What image type are you using? If this is an older U-Boot, you'll need
>to use the cuImage.sequoia file that is produced when you compile your
>kernel with 'make zImage'. Sequoia (and I'm assuming you mean the
>AMCC Sequoia Eval Board, not some custom hardware that's based on it)
>has been working fine for a long time.
>
>It seems you have some kind of other uImage, so try using the one
>that's built with the kernel and go from there.
>
>josh
thank you so much for your helpful reply. No, I don't have a serial
port that works "out of the box", and your hint of setting up the MMU
translations and poking characters at hard coded addresses, is a big help.
My hardware is NOT a Sequoia eval, it is a custom board derived from
the Sequoia platform back at 2.6.14. In a previous message when you
said that ECC should be handled by the NAND driver, I figured out
that our AMCC-440EPx board was not a standard Sequoia. Ours has DDR
ECC and the setup code writes to several registers to enable it. I
still offer this code to you.
I've used the zImage, the uImage, and the vmlinux image, all with the
same results. My last attempt was a uImage, so I'll switch to the
zImage and try again.
thanks so much for your help,
Steve
next prev parent reply other threads:[~2008-03-01 2:55 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-21 21:33 MODPOST section mismatches Steve Heflin
2008-02-22 16:12 ` Steve Heflin
2008-02-22 20:52 ` Josh Boyer
2008-02-22 22:26 ` Steve Heflin
2008-02-22 22:36 ` Josh Boyer
2008-02-22 23:07 ` Steve Heflin
2008-02-23 0:30 ` Josh Boyer
2008-02-23 0:38 ` Steve Heflin
2008-02-29 21:34 ` Sequoia build with KDBG Steve Heflin
[not found] ` <200802292133.m1TLXqv3012273@e36.co.us.ibm.com>
2008-02-29 21:35 ` Josh Boyer
2008-02-29 22:31 ` Steve Heflin
2008-02-29 22:58 ` Scott Wood
2008-02-29 23:28 ` Jon Loeliger
2008-03-01 0:16 ` Wolfgang Denk
2008-03-01 1:48 ` Steve Heflin
[not found] ` <200802292230.m1TMUk4I005462@e31.co.us.ibm.com>
2008-02-29 22:51 ` Josh Boyer
[not found] ` <200803010023.m210NHwr011345@e2.ny.us.ibm.com>
2008-03-01 2:30 ` Josh Boyer
2008-03-01 2:55 ` Steve Heflin [this message]
2008-03-02 14:47 ` Wolfgang Denk
2008-03-01 5:02 ` Olof Johansson
2008-03-01 13:13 ` Josh Boyer
2008-03-01 15:57 ` Olof Johansson
-- strict thread matches above, loose matches on Subject: below --
2008-03-01 0:36 Steve Heflin
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=20080301025528.AE450DDE98@ozlabs.org \
--to=sheflin@newagemicro.com \
--cc=jwboyer@linux.vnet.ibm.com \
--cc=linuxppc-embedded@ozlabs.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).