[PATCH 2/2] mxs: add support for mx28-evk

Marc Kleine-Budde mkl at pengutronix.de
Mon Apr 11 04:05:25 EDT 2011


On 04/09/2011 03:23 PM, Sascha Hauer wrote:
> 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.

doh!

> 
>> +
>> +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.

I'll remove it

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20110411/68898a30/attachment-0001.sig>


More information about the barebox mailing list