Sequoia build with KDBG
Steve Heflin
sheflin at newagemicro.com
Sat Mar 1 13:55:51 EST 2008
At 09:30 PM 2/29/2008, Josh Boyer wrote:
>On Fri, 29 Feb 2008 19:23:40 -0500
>Steve Heflin <sheflin at 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
More information about the Linuxppc-embedded
mailing list