[PATCH 2/2] mxs: add support for mx28-evk
Sascha Hauer
sha at pengutronix.de
Sat Apr 9 09:23:44 EDT 2011
On Fri, Apr 08, 2011 at 12:24:00PM +0200, Marc Kleine-Budde wrote:
> This patch adds support for tje mx28-evk board. NAND support is still lacking,
> so we use still the bootlets as the first stage boot loader.
>
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
> ---
> arch/arm/Makefile | 1 +
> arch/arm/boards/freescale-mx28-evk/Makefile | 1 +
> arch/arm/boards/freescale-mx28-evk/config.h | 16 +
> arch/arm/boards/freescale-mx28-evk/env/config | 67 ++++
> arch/arm/boards/freescale-mx28-evk/mx28-evk.c | 378 ++++++++++++++++++++++
> arch/arm/boards/freescale-mx28-evk/tx28-stk5.c | 410 ++++++++++++++++++++++++
Looks like you copied a bit too much from the karo board.
> +
> +console_initcall(mx28_evk_console_init);
> +
> +/**
> + at page mx28_evk KARO's MX28_EVK CPU module
> +
> + at section mx28_evk_cpu_card The CPU module
> +
> +http://www.karo-electronics.de/
> +
> +This CPU card is based on a Freescale i.MX28 CPU. The card is shipped with:
> +
> +- 128 MiB synchronous dynamic RAM (DDR2 type), 200 MHz support
> +- 128 MiB NAND K9F1G08U0A (3.3V type)
> +- PCA9554 GPIO expander
> +- DS1339 RTC
> +- LAN8710 Phy
> +
> + at section mx28_evk_basboards Supported baseboards
> +
> +Supported baseboards are:
> +- KARO's Starterkit 5
> +
> + at section mx28_evk_stk5_howto How to get barebox for 'KARO's Starterkit 5'
> +
> +Using the default configuration:
> +
> + at verbatim
> +make ARCH=arm mx28_evkstk5_defconfig
> + at endverbatim
> +
> +Build the binary image:
> +
> + at verbatim
> +make ARCH=arm CROSS_COMPILE=armv5compiler
> + at endverbatim
> +
> + at note replace the armv5compiler with your ARM v5 cross compiler.
> +
> + at note To use the result, you also need the following resources from Freescale:
> +- the 'bootlets' archive
> +- the 'elftosb2' encryption tool
> +- in the case you want to start @b barebox from an attached SD card the
> + 'sdimage' tool from Freescale's 'uuc' archive.
> +
> + at section mx28_evk_mlayout Memory layout when barebox is running:
> +
> +- 0x40000000 start of SDRAM
> +- 0x40000100 start of kernel's boot parameters
> + - below malloc area: stack area
> + - below barebox: malloc area
> +- 0x47000000 start of @b barebox
Please either correct this or remove it.
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list