[U-Boot] [PATCH 01/10] ZOOM2 Add initial support for Zoom2

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Apr 24 23:26:38 CEST 2009


On 09:40 Tue 14 Apr     , Tom Rix wrote:
> Zoom2 is a new board from Texas Instruments and LogicPD
> 
> The logicpd web site is a good source for general information on this board.
> Please start looking here if the below links are broken.
> http://www.logicpd.com
> 
> This is a pdf of the product
> http://www.logicpd.com/sites/default/files/1012659A_Zoom_OMAP34x-II_MDP_Brief.pdf
> This is the product description web page
> http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap34x-ii-mdp
> 
> This patch provides a zoom2 base target by copying zoom1 and by making some
> obvious changes.
> 
> To configure, run
> make omap3_zoom2_config
> 
> Signed-off-by: Tom Rix <Tom.Rix at windriver.com>
> ---
>  MAINTAINERS                   |    4 +
>  MAKEALL                       |    1 +
>  Makefile                      |    3 +
>  board/omap3/common/Makefile   |    1 +
>  board/omap3/zoom2/Makefile    |   49 ++++++++
>  board/omap3/zoom2/config.mk   |   33 ++++++
>  board/omap3/zoom2/u-boot.lds  |   63 +++++++++++
>  board/omap3/zoom2/zoom2.c     |   76 +++++++++++++
>  board/omap3/zoom2/zoom2.h     |  151 +++++++++++++++++++++++++
>  doc/README.omap3              |   13 ++
>  include/configs/omap3_zoom2.h |  247 +++++++++++++++++++++++++++++++++++++++++
>  11 files changed, 641 insertions(+), 0 deletions(-)
>  create mode 100644 board/omap3/zoom2/Makefile
>  create mode 100644 board/omap3/zoom2/config.mk
>  create mode 100644 board/omap3/zoom2/u-boot.lds
>  create mode 100644 board/omap3/zoom2/zoom2.c
>  create mode 100644 board/omap3/zoom2/zoom2.h
>  create mode 100644 include/configs/omap3_zoom2.h
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 03d59b9..c2a4e33 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -611,6 +611,10 @@ Stelian Pop <stelian.pop at leadtechdesign.com>
>  	at91sam9263ek	ARM926EJS (AT91SAM9263 SoC)
>  	at91sam9rlek	ARM926EJS (AT91SAM9RL SoC)
>  
> +Tom Rix <Tom.Rix at windriver.com>
> +
> +	omap3_zoom2	ARM CORTEX-A8 (OMAP3xx SoC)
> +
>  Stefan Roese <sr at denx.de>
>  
>  	ixdpg425	xscale
> diff --git a/MAKEALL b/MAKEALL
> index e4eb42b..c72e810 100755
> --- a/MAKEALL
> +++ b/MAKEALL
> @@ -561,6 +561,7 @@ LIST_ARM_CORTEX_A8="		\
>  	omap3_evm		\
>  	omap3_pandora		\
>  	omap3_zoom1		\
> +	omap3_zoom2		\
>  "
>  
>  #########################################################################
> diff --git a/Makefile b/Makefile
> index e91c051..724ed51 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -2980,6 +2980,9 @@ omap3_pandora_config :	unconfig
>  omap3_zoom1_config :	unconfig
>  	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 zoom1 omap3 omap3
>  
> +omap3_zoom2_config :	unconfig
> +	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 zoom2 omap3 omap3
> +
>  #########################################################################
>  ## XScale Systems
>  #########################################################################
> diff --git a/board/omap3/common/Makefile b/board/omap3/common/Makefile
> index 7b892fa..b8a0b14 100644
> --- a/board/omap3/common/Makefile
> +++ b/board/omap3/common/Makefile
> @@ -33,6 +33,7 @@ COBJS-$(CONFIG_OMAP3_BEAGLE) += power.o
>  COBJS-$(CONFIG_OMAP3_OVERO) += power.o
>  COBJS-$(CONFIG_OMAP3_PANDORA) += power.o
>  COBJS-$(CONFIG_OMAP3_ZOOM1) += power.o
> +COBJS-$(CONFIG_OMAP3_ZOOM2) += power.o
how many CONFIG_X_BOARDS will we have?

It's time to create a functionnality CONFIG_
(it can be done in an other patch but no other new board will be allow to do
it)
>  
>  COBJS	:= $(COBJS-y)
>  SRCS	:= $(COBJS:.o=.c)
> diff --git a/board/omap3/zoom2/Makefile b/board/omap3/zoom2/Makefile
> new file mode 100644
> index 0000000..088b8cb
> --- /dev/null
> +++ b/board/omap3/zoom2/Makefile
> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> + * MA 02111-1307 USA
> + */
> +
> +OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
> +OUTPUT_ARCH(arm)
> +ENTRY(_start)
> +SECTIONS
> +{
> +	. = 0x00000000;
> +
> +	. = ALIGN(4);
> +	.text	:
> +	{
> +		cpu/arm_cortexa8/start.o	(.text)
> +		*(.text)
> +	}
> +
> +	. = ALIGN(4);
> +	.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
> +
> +	.ARM.extab	: { *(.ARM.extab* .gnu.linkonce.armextab.*) }
> +	__exidx_start = .;
> +	.ARM.exidx	: { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
> +	__exidx_end = .;
as said precedently .ARM.extab & .ARM.exidx is not needed please remove
> +
> +	. = ALIGN(4);
> +	.data : { *(.data) }
> +
> +	. = ALIGN(4);
> +	.got : { *(.got) }
> +
> +	__u_boot_cmd_start = .;
> +	.u_boot_cmd : { *(.u_boot_cmd) }
> +	__u_boot_cmd_end = .;
> +
> +	. = ALIGN(4);
> +	__bss_start = .;
> +	.bss : { *(.bss) }
> +	_end = .;
> +}
> diff --git a/board/omap3/zoom2/zoom2.c b/board/omap3/zoom2/zoom2.c
> new file mode 100644
> index 0000000..0700c56
> --- /dev/null
> +++ b/board/omap3/zoom2/zoom2.c
> new file mode 100644
> index 0000000..08d2321
> --- /dev/null
Best Regards,
J.


More information about the U-Boot mailing list