[U-Boot-Users] Startup for ARM boards?

Robert Schwebel
2003-09-24T09:25:11Z

On Wed, Sep 24, 2003 at 11:09:27AM +0200, Steven Scholz wrote:
> I am trying to figure out how ARM based board start up.
>
> PPC boards basicly have a board_init_f(), doing initialization, then
> relocating the code from flash to ram using relocate_code(), and then
> continue in ram with board_init_r().
>
> I can't find anything like this in the ARM based files?
>
> How is that done? Is that the same for all ARM boards?

Unfortunately, ARM is still different. For example, for the PXA it works
like this:

- cpu/pxa/start.S: reset code; relocate U-Boot to RAM (no probing);
setup stack; clear BSS

- lib_arm/board.c: start_armboot(): all kinds of uggly initialisation
steps; init_sequence has a call to board_init().

Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hornemannstra?e 12, 31137 Hildesheim, Germany
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4