[U-Boot-Users] ppc4xx: Problems running POST on PPC405GPr board

Wolfgang Denk wd at denx.de
Fri Jan 11 20:38:00 CET 2008


Dear Niklaus,

in message <200801111806.38846.niklausgiger at gmx.ch> you wrote:
> 
> I am trying to add POST for my PPC405GPr based boards and I am running
> into a few problems:
> 
> a) the post/cpu/ppc4xx/uart.c assumed 4 UARTS. I would rather try
> only as much UARTs as defined by the CPUs. Would a patch like the attached
> one be considered a good solution for this problem?

Nope, that's too ugly.

> b) looking at the log I get
...
> What would be the correct #if to exclude the IVOR<x> part in
> post/cpu/ppc4xx/spr.c, as it make no sense to test these non
> existant registers on a PPC405 processor?

Maybe the test should be skipped on processors that don't have it -
how about testing the PVR?


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In theory, there is no difference between  theory  and  practice.  In
practice, however, there is.




More information about the U-Boot mailing list