[U-Boot] [PATCH v7] mpq101: initial support for Mercury Computer Systems MPQ101 board

Kumar Gala galak at kernel.crashing.org
Thu Jan 20 08:50:25 CET 2011


On Jan 19, 2011, at 11:02 PM, Alex Dubov wrote:

> Mpq101 is a RapidIO development board in AMC form factor, featuring MPC8548
> processor, 512MB of hardwired DDR2 RAM, 128MB of hardwired NAND flash
> memory, real time clock and additional serial EEPROM on i2c bus (enabled).
> USB controller is available, but not presently enabled.
> 
> Additional board information is available at:
> http://www.mc.com/products/boards/ensemble_mpq101_rapidio_powerquicc_iii.aspx
> 
> Environment is configured to precede the actual u-boot image so that it's
> located at the beginning of flash erase block (made necessary by the recent
> changes to the embedded environment handling). This is achieved by means of
> custom ld script.
> 
> Signed-off-by: Alex Dubov <oakad at yahoo.com>
> ---
> Cahnges for v7:
>   - Add CONFIG_SYS_BOOTM_LEN define
> Changes for v6:
>   - Remove "1"s from feature defines and fix a SRIO ifdef in tlb.c
> Changes for v5:
>   - Use new common SRIO configuration definitions.
>   - Replace initdram() with platform required fixed_sdram().
>   - Don't use get_ram_size() in fixed_sdram() as TLBs are set after it exits
>     by common platform code.
> Changes for v4:
>   - Replace config.mk supplied linker flags with custom linker script.
>   - Fix checkpatch errors.
> Changes for v3:
>   - Use io accessor functions for all mmio accesses.
>   - Add configuration options for RTC and EEPROM on I2C buses.
> Changes for v2:
>   - Remove some stale configuration code from board initialization functions.
> 
> MAINTAINERS                     |    3 +
> board/mercury/mpq101/Makefile   |   53 ++++++
> board/mercury/mpq101/law.c      |   52 +++++
> board/mercury/mpq101/mpq101.c   |  129 +++++++++++++
> board/mercury/mpq101/tlb.c      |   82 ++++++++
> board/mercury/mpq101/u-boot.lds |  132 +++++++++++++
> boards.cfg                      |    1 +
> include/configs/mpq101.h        |  393 +++++++++++++++++++++++++++++++++++++++
> 8 files changed, 845 insertions(+), 0 deletions(-)
> create mode 100644 board/mercury/mpq101/Makefile
> create mode 100644 board/mercury/mpq101/law.c
> create mode 100644 board/mercury/mpq101/mpq101.c
> create mode 100644 board/mercury/mpq101/tlb.c
> create mode 100644 board/mercury/mpq101/u-boot.lds
> create mode 100644 include/configs/mpq101.h

Doesn't build for me:

common/libcommon.o:(.sdata.env_ptr+0x0): undefined reference to `environment'
make: *** [u-boot] Error 1
[galak at right u-boot-85xx]$ 

- k



More information about the U-Boot mailing list