[PATCH] PowerPC 440EPx: Sequoia bootwrapper
The system clock frequency on the Sequoia board is 33.00 MHz not 33.33 MHz; this causes the system time to drift more than 30 seconds per hour. diff -ruN a/arch/powerpc/boot/cuboot-sequoia.c b/arch/powerpc/boot/cuboot-sequoia.c --- a/arch/powerpc/boot/cuboot-sequoia.c2009-05-18 19:52:34.0 -0400 +++ b/arch/powerpc/boot/cuboot-sequoia.c2009-07-21 09:13:13.0 -0400 @@ -37,7 +37,7 @@ static void sequoia_fixups(void) { - unsigned long sysclk = ; + unsigned long sysclk = 3300; ibm440ep_fixup_clocks(sysclk, 11059200, 5000); ibm4xx_fixup_ebc_ranges(/plb/opb/ebc); ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
RE: [PATCH] PowerPC 440EPx: Sequoia bootwrapper
On Tue, 21 Jul 2009 16:06:53 Stefan Roese wrote: Unfortunately it's not that easy. Earlier Sequoia board revisions are equipped with an 33.333MHz oscillator. This can be detected via a CPLD register though. Thanks, I didn't realize that. FYI our deployed platform is similar to Sequoia, but is a custom design. It has a 33 MHz system clock. But why are you using the boot wrapper? If your U-Boot isn't too old, you can boot uImage directly (with dtb of course). No need for the wrapper. Since we have deployed product, using a non OF kernel, we have made the decision not to upgrade U-Boot in the field. Thanks, Bob ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev