On Wed, Apr 26, 2006 at 08:10:38PM -0400, uhmgawa wrote:
> > > My preliminary builds from 2.6-git have failed to boot though, and I'm
> > > thinking that perhaps it's because my bootloader isn't passing the
> > correct
> > > machine identification up to the kernel? (I seem to remember that TS had
> > > arbitrarily chosen one at the time I'd got the board in the first place)
> > > Either that or my entry point is wrong (?) or the patchset bogus...
> >
> > One thing you could try is sticking a call to printascii() in the
> > vprintk function in kernel/printk.c, i.e. something a la (copy-paste,
> > so whitespace-damaged) -- that should give you a bit more info on
> > what's going on.
>
> I suspect he may not be getting that far as putstr()
> output from arch/arm/boot/compressed/misc.c doesn't
> appear to be making it.
He did get this:
Uncompressing
Linux..................................................................................
done, booting the kernel
> Note also in at least recent trees the boot header
> console output is at 57600 baud while you are trying
> to bring up the kernel console at 115200B. You can
> modify this here:
>
> --- include/asm-arm/arch-ep93xx/uncompress.h.ORG 2006-04-05
> 23:31:26.000000000 -0400
> +++ include/asm-arm/arch-ep93xx/uncompress.h 2006-04-26 17:00:31.000000000
> -0400
> @@ -25,7 +25,7 @@
> defined(CONFIG_MACH_ZEFEERDZG) || defined(CONFIG_MACH_ZEFEERDZN) ||
> defined(CONFIG_MACH_ZEFEERDZQ)
> # define BAUDRATE ((EP93XX_UART_CLK/(16 * 115200)) - 1)
> #else
> -# define BAUDRATE ((EP93XX_UART_CLK/(16 * 57600)) - 1)
> +# define BAUDRATE ((EP93XX_UART_CLK/(16 * 115200)) - 1)
> #endif
He isn't using the burian/cirrus tree but 2.6 mainline, where this
code doesn't exist.
> FWIW I had some issues trying to build for a 9302
> vs. 9301 target arch with 2.6.15-gref, though that
> may have been cleaned up in the tree you are using.
In 2.6 mainline, you don't have to specify at compile time which
ep93xx model you will be using. (In fact, it's even possible to
compile a single kernel for multiple different ep93xx boards.)
cheers,
Lennert
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|