public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 13/13 v5] ARM: OMAP3: Add Beagle, EVM and	Overo configuration and README
Date: Sun, 9 Nov 2008 17:01:54 +0100	[thread overview]
Message-ID: <20081109160154.GH25307@game.jcrosoft.org> (raw)
In-Reply-To: <490df415.0c58560a.12c9.ffff8f8b@mx.google.com>

On 19:40 Sun 02 Nov     , dirk.behme at googlemail.com wrote:
> From: Dirk Behme <dirk.behme@gmail.com>
> 
> Add Beagle, EVM and Overo configuration and README
> 
> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
> 
> ---
>  doc/README.omap3               |   94 +++++++++++
>  include/configs/omap3_beagle.h |  289 ++++++++++++++++++++++++++++++++++++
>  include/configs/omap3_evm.h    |  322 +++++++++++++++++++++++++++++++++++++++++
>  include/configs/omap3_overo.h  |  280 +++++++++++++++++++++++++++++++++++
>  4 files changed, 985 insertions(+)
> 
> Index: u-boot-main/include/configs/omap3_beagle.h
> ===================================================================
> --- /dev/null
> +++ u-boot-main/include/configs/omap3_beagle.h
> @@ -0,0 +1,289 @@
> +/*
> + * (C) Copyright 2006-2008
> + * Texas Instruments.
> + * Richard Woodruff <r-woodruff2@ti.com>
> + * Syed Mohammed Khasim <x0khasim@ti.com>
> + *
> + * Configuration settings for the TI OMAP3530 Beagle board.
> + *
> + * See file CREDITS for list of people who contributed to this
> + * project.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write to the Free Software
> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> + * MA 02111-1307 USA
> + */
> +
> +#ifndef __CONFIG_H
> +#define __CONFIG_H
> +#include <asm/sizes.h>
> +
> +/*
> + * High Level Configuration Options
> + */
> +#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
> +#define CONFIG_OMAP		1	/* in a TI OMAP core */
> +#define CONFIG_OMAP34XX		1	/* which is a 34XX */
> +#define CONFIG_OMAP3430		1	/* which is in a 3430 */
> +#define CONFIG_OMAP3_BEAGLE	1	/* working with BEAGLE */
> +#define CONFIG_DOS_PARTITION	1
> +
> +#include <asm/arch/cpu.h>	/* get chip and board defs */
> +#include <asm/arch/omap3.h>
> +
> +/* Clock Defines */
> +#define V_OSCK                   26000000	/* Clock output from T2 */
		 ^^^^^^^^^^^^^^^^^^^
whitespace please fix
> +#define V_SCLK                   (V_OSCK >> 1)
		 ^^^^^^^^^^^^^^^^^^^
whitespace please fix
> +
> +#undef CONFIG_USE_IRQ		/* no support for IRQs */
> +#define CONFIG_MISC_INIT_R
> +
> +#define CONFIG_CMDLINE_TAG       1	/* enable passing of ATAGs */
			     ^^^^^^^
whitespace please fix
> +#define CONFIG_SETUP_MEMORY_TAGS 1
> +#define CONFIG_INITRD_TAG        1
			    ^^^^^^^^
whitespace please fix
> +#define CONFIG_REVISION_TAG      1
			      ^^^^^^
whitespace please fix
> +
> +/*
> + * Size of malloc() pool
> + */
> +#define CONFIG_ENV_SIZE          SZ_128K /* Total Size Environment Sector */
			  ^^^^^^^^^^
whitespace please fix
> +#define CONFIG_SYS_MALLOC_LEN           (CONFIG_ENV_SIZE + SZ_128K)
				^^^^^^^^^^^
whitespace please fix
> +#define CONFIG_SYS_GBL_DATA_SIZE        128	 /* bytes reserved for initial data */
				   ^^^^^^^
whitespace please fix
> +
> +/*
> + * Hardware drivers
> + */
> +
> +/*
> + * NS16550 Configuration
> + */
> +#define V_NS16550_CLK            (48000000)	/* 48MHz (APLL96/2) */
			^^^^^^^^^^^^
whitespace please fix
> +
> +#define CONFIG_SYS_NS16550
> +#define CONFIG_SYS_NS16550_SERIAL
> +#define CONFIG_SYS_NS16550_REG_SIZE     (-4)
				      ^^^^^
whitespace please fix
> +#define CONFIG_SYS_NS16550_CLK          V_NS16550_CLK
				 ^^^^^^^^^^
whitespace please fix
> +
> +/*
> + * select serial console configuration
> + */
> +#define CONFIG_CONS_INDEX        3
			    ^^^^^^^^
whitespace please fix
> +#define CONFIG_SYS_NS16550_COM3         OMAP34XX_UART3
				  ^^^^^^^^^
whitespace please fix
> +#define CONFIG_SERIAL3           3	/* UART3 on Beagle Rev 2 */
			 ^^^^^^^^^^^
whitespace please fix
> +
> +/* allow to overwrite serial and ethaddr */
> +#define CONFIG_ENV_OVERWRITE
> +#define CONFIG_BAUDRATE          115200
			  ^^^^^^^^^^
whitespace please fix
> +#define CONFIG_SYS_BAUDRATE_TABLE       {4800, 9600, 19200, 38400, 57600, 115200}
				    ^^^^^^^
whitespace please fix
> +#define CONFIG_MMC		1
> +#define CONFIG_SYS_MMC_BASE		0xF0000000
> +#define CONFIG_DOS_PARTITION	1
> +
> +/* commands to include */
> +
> +#define CONFIG_CMD_EXT2		/* EXT2 Support			*/
> +#define CONFIG_CMD_FAT		/* FAT support			*/
> +#define CONFIG_CMD_JFFS2	/* JFFS2 Support		*/
> +
> +#define CONFIG_CMD_I2C		/* I2C serial bus support	*/
> +#define CONFIG_CMD_MMC		/* MMC support			*/
> +#define CONFIG_CMD_NAND		/* NAND support			*/
> +
> +#define CONFIG_CMD_AUTOSCRIPT	/* autoscript support		*/
> +#define CONFIG_CMD_BDI		/* bdinfo			*/
> +#define CONFIG_CMD_BOOTD	/* bootd			*/
> +#define CONFIG_CMD_CONSOLE	/* coninfo			*/
> +#define CONFIG_CMD_ECHO		/* echo arguments		*/
> +#define CONFIG_CMD_ENV		/* saveenv			*/
> +#define CONFIG_CMD_ITEST	/* Integer (and string) test	*/
> +#define CONFIG_CMD_LOADB	/* loadb			*/
> +#define CONFIG_CMD_MEMORY	/* md mm nm mw cp cmp crc base loop mtest */
> +#define CONFIG_CMD_MISC		/* misc functions like sleep etc*/
> +#define CONFIG_CMD_RUN		/* run command in env variable	*/
> +
> +#define CONFIG_SYS_NO_FLASH
> +#define CONFIG_SYS_I2C_SPEED            100000
			       ^^^^^^^^^^^^
whitespace please fix
and so on
> +#define CONFIG_SYS_I2C_SLAVE            1
> +#define CONFIG_SYS_I2C_BUS              0
> +#define CONFIG_SYS_I2C_BUS_SELECT       1
> +#define CONFIG_DRIVER_OMAP34XX_I2C 1
> +
> +/*
> + *  Board NAND Info.
> + */
> +#define CONFIG_NAND_OMAP_GPMC
> +#define CONFIG_SYS_NAND_ADDR NAND_BASE	/* physical address to access nand */
> +#define CONFIG_SYS_NAND_BASE NAND_BASE	/* physical address to access nand at CS0 */
> +#define GPMC_NAND_ECC_LP_x16_LAYOUT 1
> +
> +#define CONFIG_SYS_MAX_NAND_DEVICE      1	/* Max number of NAND devices */
> +#define SECTORSIZE               512
> +
> +#define NAND_ALLOW_ERASE_ALL
> +#define ADDR_COLUMN              1
> +#define ADDR_PAGE                2
> +#define ADDR_COLUMN_PAGE         3
> +
> +#define NAND_ChipID_UNKNOWN      0x00
> +#define NAND_MAX_FLOORS          1
> +#define NAND_MAX_CHIPS           1
> +#define NAND_NO_RB               1
> +#define CONFIG_SYS_NAND_WP
> +
> +#define CONFIG_JFFS2_NAND
> +/* nand device jffs2 lives on */
> +#define CONFIG_JFFS2_DEV		"nand0"
> +/* start of jffs2 partition */
> +#define CONFIG_JFFS2_PART_OFFSET	0x680000
> +#define CONFIG_JFFS2_PART_SIZE 	0xf980000	/* size of jffs2 partition */
> +
> +/* Environment information */
> +#define CONFIG_BOOTDELAY         10
> +
> +#define CONFIG_BOOTCOMMAND "nand read 80200000 280000 400000 ; bootm 80200000"
> +
> +#define CONFIG_BOOTARGS "setenv bootargs console=ttyS2,115200n8 noinitrd root=/dev/mtdblock4 rw rootfstype=jffs2"
too long please split
> +
> +#define CONFIG_NETMASK           255.255.254.0
> +#define CONFIG_BOOTFILE          "uImage"
> +#define CONFIG_AUTO_COMPLETE     1
> +/*
> + * Miscellaneous configurable options
> + */
> +#define V_PROMPT                 "OMAP3 beagleboard.org # "
> +
> +#define CONFIG_SYS_LONGHELP		/* undef to save memory */
> +#define CONFIG_SYS_PROMPT               V_PROMPT
> +#define CONFIG_SYS_CBSIZE               256	/* Console I/O Buffer Size */
> +/* Print Buffer Size */
> +#define CONFIG_SYS_PBSIZE               (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT)+16)
too long please split
> +#define CONFIG_SYS_MAXARGS              16	/* max number of command args */
> +#define CONFIG_SYS_BARGSIZE             CONFIG_SYS_CBSIZE	/* Boot Argument Buffer Size */
too long please split
and so on

Best Regards,
J.

  reply	other threads:[~2008-11-09 16:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-02 18:37 [U-Boot] [PATCH 07/13 v5] ARM: OMAP3: Add NAND support dirk.behme at googlemail.com
2008-11-02 18:38 ` [U-Boot] [PATCH 08/13 v5] ARM: OMAP3: Add MMC support dirk.behme at googlemail.com
2008-11-02 18:38   ` [U-Boot] [PATCH 09/13 v5] ARM: OMAP3: Add I2C support dirk.behme at googlemail.com
2008-11-02 18:38     ` [U-Boot] [PATCH 10/13 v5] ARM: OMAP3: Add BeagleBoard dirk.behme at googlemail.com
2008-11-02 18:39       ` [U-Boot] [PATCH 11/13 v5] ARM: OMAP3: Add EVM board dirk.behme at googlemail.com
2008-11-02 18:39         ` [U-Boot] [PATCH 12/13 v5] ARM: OMAP3: Add Overo board dirk.behme at googlemail.com
2008-11-02 18:40           ` [U-Boot] [PATCH 13/13 v5] ARM: OMAP3: Add Beagle, EVM and Overo configuration and README dirk.behme at googlemail.com
2008-11-09 16:01             ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2008-11-09 15:05           ` [U-Boot] [PATCH 12/13 v5] ARM: OMAP3: Add Overo board Jean-Christophe PLAGNIOL-VILLARD
2008-11-09 19:44             ` Wolfgang Denk
2008-11-09 15:03         ` [U-Boot] [PATCH 11/13 v5] ARM: OMAP3: Add EVM board Jean-Christophe PLAGNIOL-VILLARD
2008-11-09 19:43           ` Wolfgang Denk
     [not found]           ` <4917eef4.02a1660a.35ee.72f8SMTPIN_ADDED@mx.google.com>
2008-11-10 19:28             ` Dirk Behme
2008-11-09 14:57       ` [U-Boot] [PATCH 10/13 v5] ARM: OMAP3: Add BeagleBoard Jean-Christophe PLAGNIOL-VILLARD
2008-11-03  0:18     ` [U-Boot] [PATCH 09/13 v5] ARM: OMAP3: Add I2C support Jean-Christophe PLAGNIOL-VILLARD
2008-11-03 20:27       ` Dirk Behme
2008-11-03 22:55         ` Wolfgang Denk
2008-11-02 23:25   ` [U-Boot] [PATCH 08/13 v5] ARM: OMAP3: Add MMC support Kyungmin Park
2008-11-09 14:33   ` Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081109160154.GH25307@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox