[U-Boot] Trouble "booting using board info"
Mikhail Zaturenskiy
mzaturenskiy.st at gmail.com
Tue Jun 30 20:38:37 CEST 2009
> Got it... thanks to
> "http://www.mail-archive.com/u-boot-users@lists.sourceforge.net/msg05111.html".
> I added the following to the very end of
> "u-boot-2009.03/board/ep88x/ep88x.c":
>
> #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
> void ft_board_setup(void *blob, bd_t *bd)
> {
> ft_cpu_setup(blob, bd);
> }
> #endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */
>
Forgot to mention that this function got u-boot to update my device
tree properly, I had to make only minimal changes to my device tree
"linux-2.6-denx/arch/powerpc/boot/dts/ep88xc.dts", correcting some
addresses to match the IMMR set in my
"u-boot-2009.03/include/configs/EP88x.h".
I didn't even need to use /chosen/linux,stdout-path in my DTS, just
used "console=ttyCPM0,9600n8" in my boot args.
More information about the U-Boot
mailing list