On Thu, Apr 24, 2008 at 11:01:39AM +0530, Narendra KA wrote:
> Thanks for the reply scott, :)
>
> i forgot to mention , yes i am using device tree aware u-boot but the
> problem is when i tried to build the u-boot source ( first i did ""make
> ep8248_config"" and then ""make"") it was giving undefined reference
> related to ft_board_setup() function so i altered the U-boot-1.3.2 source
> code... i added the below code to the following file board/ep8248/ep8248.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) */
The 8260 ft_cpu_setup() seems a bit deficient -- most pertinently, it's
not calling fdt_fixup_memory(), but it's also missing brg frequency setup
and maybe some other things. Look at other_cpu_setup() functions (e.g.
8xx, 83xx, 85xx) for an example of what to do.
> #define OF_CPU "PowerPC,[EMAIL PROTECTED]"
> #define OF_SOC "[EMAIL PROTECTED]"
> #define OF_TBCLK (bd->bi_busfreq / 4)
> #define OF_STDOUT_PATH "/[EMAIL PROTECTED]/[EMAIL PROTECTED]"
These hardcoded things shouldn't be needed anymore.
> and how to use cuImage.pq2 ?
You'd need to change the makefile to tell it to build that target for
this board. I recommend fixing u-boot, though, if you're already
inclined to go down that path.
> also i dint get what is dtbImage.ep8248e ? is
> that same to ep8248e.dtb ??
No, that's an image for the PlanetCore bootloader. If you don't have it,
you probably built with 'make uImage' rather than 'make zImage'.
-Scott
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users