[U-Boot] [PATCH v4 0/27] Create generic board init for ARM, x86, PPC

Tom Rini trini at ti.com
Fri Mar 16 20:23:56 CET 2012

On Wed, Mar 14, 2012 at 07:15:57PM -0700, Simon Glass wrote:

> This series creates a generic board.c implementation which contains
> the essential functions of the major arch/xxx/lib/board.c files.

Let me start by saying that I agree with the premise, please read any
inflection/tone as that of someone trying to debug a problem only :)

I'm trying to test this on omap4_panda right now and I'm running into a
problem where we hang setting up gd->bd->bi_dram[0].  I don't see why
this isn't being set (some quick peeking around and SPL is behaving
normally and doing its configure of DRAM and so forth).  But I also
can't debug this problem as easily as I would like because:
(a) despite DEBUG being defined, none of the debug() prints are printing
(my printf's are)
(b) I assume this is because there's so much reconciliation needed
still, but the file is an unwieldy mess.  In fact, as I'm writing this
and debugging at the same time, it seems reserve_board isn't being
called, but it's compiled in, in the non-SPL case.  I'm not seeing
what's up...


More information about the U-Boot mailing list