All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/8] omap3: overo: update board data
@ 2014-04-29 23:15 Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 1/8] omap: overo: allow the use of a plain text env file instead boot scripts Ash Charles
                   ` (8 more replies)
  0 siblings, 9 replies; 35+ messages in thread
From: Ash Charles @ 2014-04-29 23:15 UTC (permalink / raw)
  To: u-boot

This patch series collects board-specific fixes and updates
for the Gumstix Overo COMs.

Ash Charles (7):
  omap: overo: allow the use of a plain text env file instead boot
    scripts
  OMAP3: overo: add command support for mtd and ubi
  OMAP3: overo: eliminate hard-coded partition offsets
  arm: omap3: Fix omap3_overo SPL boot hangup
  [omap3][overo] Add Board Revision for Wireless chip
  OMAP3: overo: add some Gumstix expansion boards
  [omap3][overo] Allow overo to boot with device tree

Peter A. Bigot (1):
  OMAP3: overo: increase linux partition to 8 MiB

 board/overo/overo.c           |  43 ++++++++++++++++-
 board/overo/overo.h           |  17 +++++++
 include/configs/omap3_overo.h | 109 ++++++++++++++++++++++++++++++++----------
 3 files changed, 142 insertions(+), 27 deletions(-)

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 1/8] omap: overo: allow the use of a plain text env file instead boot scripts
  2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
@ 2014-04-29 23:15 ` Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 2/8] OMAP3: overo: add command support for mtd and ubi Ash Charles
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 35+ messages in thread
From: Ash Charles @ 2014-04-29 23:15 UTC (permalink / raw)
  To: u-boot

Adapted from d70f5480 described below.

    commit d70f54808dfa83b574e1239c3eccbcf3317343e1
    Author: Javier Martinez Canillas <javier@dowhile0.org>
    Date:   Mon Jan 7 03:51:20 2013 +0000

    omap4: allow the use of a plain text env file instead boot scripts

    For production systems it is better to use script images since
    they are protected by checksums and carry valuable information like
    name and timestamp. Also, you can't validate the content passed to
    env import.

    But for development, it is easier to use the env import command and
    plain text files instead of script-images.

    Since both OMAP4 supported boards (Panda and TI SDP4430) are used
    primarily for development, this patch allows U-Boot to load env var
    from a text file in case that an boot.scr script-image is not present.

    The variable uenvcmd (if existent) will be executed (using run) after
    uEnv.txt was loaded. If uenvcmd doesn't exist the default boot sequence
    will be started.

    Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
    Acked-by: Nishanth Menon <nm@ti.com>

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Tested-by: Ash Charles <ash@gumstix.com>
---
 include/configs/omap3_overo.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 007e27f..f26d069 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -164,6 +164,9 @@
 	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
 	"bootscript=echo Running bootscript from mmc ...; " \
 		"source ${loadaddr}\0" \
+	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
+	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
+		"env import -t ${loadaddr} ${filesize}\0" \
 	"loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
 	"mmcboot=echo Booting from mmc ...; " \
 		"run mmcargs; " \
@@ -178,6 +181,13 @@
 		"if run loadbootscript; then " \
 			"run bootscript; " \
 		"else " \
+			"if run loadbootenv; then " \
+				"run importbootenv; " \
+				"if test -n ${uenvcmd}; then " \
+					"echo Running uenvcmd ...;" \
+					"run uenvcmd;" \
+				"fi;" \
+			"fi;" \
 			"if run loaduimage; then " \
 				"run mmcboot; " \
 			"else run nandboot; " \
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 2/8] OMAP3: overo: add command support for mtd and ubi
  2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 1/8] omap: overo: allow the use of a plain text env file instead boot scripts Ash Charles
@ 2014-04-29 23:15 ` Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 3/8] OMAP3: overo: increase linux partition to 8 MiB Ash Charles
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 35+ messages in thread
From: Ash Charles @ 2014-04-29 23:15 UTC (permalink / raw)
  To: u-boot

The NAND linux partition format default was changed from jffs2 to ubi in
254973e6df0e48f1a72b67905185c774dcd9f394 but the corresponding commands were
not enabled.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Tested-by: Ash Charles <ash@gumstix.com>
---
 include/configs/omap3_overo.h | 40 +++++++++++++++++++++++++++++++++++++---
 1 file changed, 37 insertions(+), 3 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index f26d069..7823aa1 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -43,9 +43,11 @@
 /*
  * Size of malloc() pool
  */
-#define CONFIG_ENV_SIZE		(128 << 10)	/* 128 KiB */
-						/* Sector */
-#define CONFIG_SYS_MALLOC_LEN	(CONFIG_ENV_SIZE + (128 << 10))
+#define CONFIG_ENV_SIZE		(128 << 10)	/* 128 KiB sector */
+
+/* Shift 128 << 15 provides 4 MiB heap to support UBI commands.
+ * Shift 128 << 10 provides 128 KiB heap for limited-memory devices. */
+#define CONFIG_SYS_MALLOC_LEN	(CONFIG_ENV_SIZE + (128 << 15))
 
 /*
  * Hardware drivers
@@ -97,6 +99,37 @@
 #undef CONFIG_CMD_NFS		/* NFS support			*/
 #define CONFIG_CMD_NET		/* bootp, tftpboot, rarpboot	*/
 
+#ifdef CONFIG_CMD_NAND
+
+#define CONFIG_CMD_MTDPARTS	/* MTD partition support */
+#define CONFIG_CMD_UBI		/* UBI-formated MTD partition support */
+#define CONFIG_CMD_UBIFS	/* Read-only UBI volume operations */
+
+#define CONFIG_RBTREE		/* required by CONFIG_CMD_UBI */
+#define CONFIG_LZO		/* required by CONFIG_CMD_UBIFS */
+
+#define CONFIG_MTD_DEVICE	/* required by CONFIG_CMD_MTDPARTS   */
+#define CONFIG_MTD_PARTITIONS	/* required for UBI partition support */
+
+/* NAND block size is 128 KiB.  Synchronize these values with
+ * overo_nand_partitions in mach-omap2/board-overo.c in Linux:
+ *  xloader              4 * NAND_BLOCK_SIZE = 512 KiB
+ *  uboot               14 * NAND_BLOCK_SIZE = 1792 KiB
+ *  uboot environtment   2 * NAND_BLOCK_SIZE = 256 KiB
+ *  linux               32 * NAND_BLOCK_SIE = 4 MiB
+ *  rootfs              remainder
+ */
+#define MTDIDS_DEFAULT "nand0=omap2-nand.0"
+#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:"	\
+	"512k(xloader),"				\
+	"1792k(u-boot),"				\
+	"256k(environ),"				\
+	"4m(linux),"					\
+	"-(rootfs)"
+#else /* CONFIG_CMD_NAND */
+#define MTDPARTS_DEFAULT
+#endif /* CONFIG_CMD_NAND */
+
 #define CONFIG_SYS_NO_FLASH
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED	100000
@@ -145,6 +178,7 @@
 	"mmcrootfstype=ext3 rootwait\0" \
 	"nandroot=ubi0:rootfs ubi.mtd=4\0" \
 	"nandrootfstype=ubifs\0" \
+	"mtdparts=" MTDPARTS_DEFAULT "\0" \
 	"mmcargs=setenv bootargs console=${console} " \
 		"${optargs} " \
 		"mpurate=${mpurate} " \
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 3/8] OMAP3: overo: increase linux partition to 8 MiB
  2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 1/8] omap: overo: allow the use of a plain text env file instead boot scripts Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 2/8] OMAP3: overo: add command support for mtd and ubi Ash Charles
@ 2014-04-29 23:15 ` Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 4/8] OMAP3: overo: eliminate hard-coded partition offsets Ash Charles
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 35+ messages in thread
From: Ash Charles @ 2014-04-29 23:15 UTC (permalink / raw)
  To: u-boot

From: "Peter A. Bigot" <pab@pabigot.com>

Linux kernel at version 3.5 is about 3.5 MiB; test kernels for 3.10 exceed 4
MiB.  Prepare for future upgrades by increasing the NAND partition now.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Tested-by: Ash Charles <ash@gumstix.com>
---
 include/configs/omap3_overo.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 7823aa1..321e110 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -116,7 +116,7 @@
  *  xloader              4 * NAND_BLOCK_SIZE = 512 KiB
  *  uboot               14 * NAND_BLOCK_SIZE = 1792 KiB
  *  uboot environtment   2 * NAND_BLOCK_SIZE = 256 KiB
- *  linux               32 * NAND_BLOCK_SIE = 4 MiB
+ *  linux               64 * NAND_BLOCK_SIZE = 8 MiB
  *  rootfs              remainder
  */
 #define MTDIDS_DEFAULT "nand0=omap2-nand.0"
@@ -124,7 +124,7 @@
 	"512k(xloader),"				\
 	"1792k(u-boot),"				\
 	"256k(environ),"				\
-	"4m(linux),"					\
+	"8m(linux),"					\
 	"-(rootfs)"
 #else /* CONFIG_CMD_NAND */
 #define MTDPARTS_DEFAULT
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 4/8] OMAP3: overo: eliminate hard-coded partition offsets
  2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
                   ` (2 preceding siblings ...)
  2014-04-29 23:15 ` [U-Boot] [PATCH 3/8] OMAP3: overo: increase linux partition to 8 MiB Ash Charles
@ 2014-04-29 23:15 ` Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 5/8] arm: omap3: Fix omap3_overo SPL boot hangup Ash Charles
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 35+ messages in thread
From: Ash Charles @ 2014-04-29 23:15 UTC (permalink / raw)
  To: u-boot

The linux kernel is at nand0,3 using the current layout, but is best
accessed through the partition label "linux".  Since CONFIG_CMD_MTDPARTS is
defined the CONFIG_JFFS2 settings are unreferenced; use "setenv partition
rootfs" to set the default mtd partition for jffs2.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Tested-by: Ash Charles <ash@gumstix.com>
---
 include/configs/omap3_overo.h | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 321e110..706c8cc 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -154,14 +154,6 @@
 							/* at CS0 */
 #define CONFIG_SYS_MAX_NAND_DEVICE	1	/* Max number of NAND */
 						/* devices */
-#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		5
 
@@ -207,7 +199,7 @@
 		"bootm ${loadaddr}\0" \
 	"nandboot=echo Booting from nand ...; " \
 		"run nandargs; " \
-		"nand read ${loadaddr} 280000 400000; " \
+		"nand read ${loadaddr} linux; " \
 		"bootm ${loadaddr}\0" \
 
 #define CONFIG_BOOTCOMMAND \
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 5/8] arm: omap3: Fix omap3_overo SPL boot hangup
  2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
                   ` (3 preceding siblings ...)
  2014-04-29 23:15 ` [U-Boot] [PATCH 4/8] OMAP3: overo: eliminate hard-coded partition offsets Ash Charles
@ 2014-04-29 23:15 ` Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 6/8] [omap3][overo] Add Board Revision for Wireless chip Ash Charles
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 35+ messages in thread
From: Ash Charles @ 2014-04-29 23:15 UTC (permalink / raw)
  To: u-boot

Patch f33b9bd3
[arm: omap3: Enable clocks for peripherals only if they are used]
breaks SPL booting on Overo. Since some gpio inputs are
read to detect the board revision. But with this patch above, the
clocks to the GPIO subsystems are not enabled per default any more.
The GPIO banks need to be configured specifically now.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 include/configs/omap3_overo.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 706c8cc..1e4dfcf 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -80,6 +80,12 @@
 #define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
+#define CONFIG_OMAP3_GPIO_2	/* GPIO32..63 is in GPIO Bank 2 */
+#define CONFIG_OMAP3_GPIO_3	/* GPIO64..95 is in GPIO Bank 3 */
+#define CONFIG_OMAP3_GPIO_4	/* GPIO96..127 is in GPIO Bank 4 */
+#define CONFIG_OMAP3_GPIO_5	/* GPIO128..159 is in GPIO Bank 5 */
+#define CONFIG_OMAP3_GPIO_6	/* GPIO160..191 is in GPIO Bank 6 */
+
 /* commands to include */
 #include <config_cmd_default.h>
 
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 6/8] [omap3][overo] Add Board Revision for Wireless chip
  2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
                   ` (4 preceding siblings ...)
  2014-04-29 23:15 ` [U-Boot] [PATCH 5/8] arm: omap3: Fix omap3_overo SPL boot hangup Ash Charles
@ 2014-04-29 23:15 ` Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 7/8] OMAP3: overo: add some Gumstix expansion boards Ash Charles
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 35+ messages in thread
From: Ash Charles @ 2014-04-29 23:15 UTC (permalink / raw)
  To: u-boot

Gumstix Overo COMs with board revision 0x4 use a different Wifi and
Bluetooth module: Wi2Wi's W2CBW0015.  No other code changes are required
in u-boot---just handling of this particular board revision.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 board/overo/overo.c | 1 +
 board/overo/overo.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/board/overo/overo.c b/board/overo/overo.c
index 1192d02..9a5f4c4 100644
--- a/board/overo/overo.c
+++ b/board/overo/overo.c
@@ -141,6 +141,7 @@ void get_board_mem_timings(struct board_sdrc_timings *timings)
 		timings->rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
 		break;
 	case REVISION_1: /* Micron 256MB/512MB, 1/2 banks of 256MB */
+	case REVISION_4:
 		timings->mcfg = MICRON_V_MCFG_200(256 << 20);
 		timings->ctrla = MICRON_V_ACTIMA_200;
 		timings->ctrlb = MICRON_V_ACTIMB_200;
diff --git a/board/overo/overo.h b/board/overo/overo.h
index 64604de..25c9f16 100644
--- a/board/overo/overo.h
+++ b/board/overo/overo.h
@@ -22,6 +22,7 @@ const omap3_sysinfo sysinfo = {
 #define REVISION_1	0x1
 #define REVISION_2	0x2
 #define REVISION_3	0x3
+#define REVISION_4	0x4
 
 /*
  * IEN  - Input Enable
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 7/8] OMAP3: overo: add some Gumstix expansion boards
  2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
                   ` (5 preceding siblings ...)
  2014-04-29 23:15 ` [U-Boot] [PATCH 6/8] [omap3][overo] Add Board Revision for Wireless chip Ash Charles
@ 2014-04-29 23:15 ` Ash Charles
  2014-04-29 23:15 ` [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree Ash Charles
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
  8 siblings, 0 replies; 35+ messages in thread
From: Ash Charles @ 2014-04-29 23:15 UTC (permalink / raw)
  To: u-boot

Add EEPROM ID switches for Alto35, Arbor43C, Stagecoach, Thumbo, and
Turtlecore Gumstix Overo expansion boards.

Signed-off-by: Ash Charles <ash@gumstix.com>
---
 board/overo/overo.c | 42 ++++++++++++++++++++++++++++++++++++++++--
 board/overo/overo.h | 16 ++++++++++++++++
 2 files changed, 56 insertions(+), 2 deletions(-)

diff --git a/board/overo/overo.c b/board/overo/overo.c
index 9a5f4c4..62b50a8 100644
--- a/board/overo/overo.c
+++ b/board/overo/overo.c
@@ -39,6 +39,11 @@ DECLARE_GLOBAL_DATA_PTR;
 #define GUMSTIX_CHESTNUT43		0x06000200
 #define GUMSTIX_PINTO			0x07000200
 #define GUMSTIX_GALLOP43		0x08000200
+#define GUMSTIX_ALTO35			0x09000200
+#define GUMSTIX_STAGECOACH		0x0A000200
+#define GUMSTIX_THUMBO			0x0B000200
+#define GUMSTIX_TURTLECORE		0x0C000200
+#define GUMSTIX_ARBOR43C		0x0D000200
 
 #define ETTUS_USRP_E			0x01000300
 
@@ -231,6 +236,8 @@ unsigned int get_expansion_id(void)
  */
 int misc_init_r(void)
 {
+	unsigned int expansion_id;
+
 	twl4030_power_init();
 	twl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);
 
@@ -253,7 +260,8 @@ int misc_init_r(void)
 		puts("Unable to detect mmc2 connection type\n");
 	}
 
-	switch (get_expansion_id()) {
+	expansion_id = get_expansion_id();
+	switch (expansion_id) {
 	case GUMSTIX_SUMMIT:
 		printf("Recognized Summit expansion board (rev %d %s)\n",
 			expansion_config.revision,
@@ -303,6 +311,35 @@ int misc_init_r(void)
 			expansion_config.fab_revision);
 		setenv("defaultdisplay", "lcd43");
 		break;
+	case GUMSTIX_ALTO35:
+		printf("Recognized Alto35 expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		MUX_ALTO35();
+		setenv("defaultdisplay", "lcd35");
+		break;
+	case GUMSTIX_STAGECOACH:
+		printf("Recognized Stagecoach expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		break;
+	case GUMSTIX_THUMBO:
+		printf("Recognized Thumbo expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		break;
+	case GUMSTIX_TURTLECORE:
+		printf("Recognized Turtlecore expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		break;
+	case GUMSTIX_ARBOR43C:
+		printf("Recognized Arbor43C expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		MUX_ARBOR43C();
+		setenv("defaultdisplay", "lcd43");
+		break;
 	case ETTUS_USRP_E:
 		printf("Recognized Ettus Research USRP-E (rev %d %s)\n",
 			expansion_config.revision,
@@ -314,7 +351,8 @@ int misc_init_r(void)
 		puts("No EEPROM on expansion board\n");
 		break;
 	default:
-		puts("Unrecognized expansion board\n");
+		printf("Unrecognized expansion board 0x%08x\n", expansion_id);
+		break;
 	}
 
 	if (expansion_config.content == 1)
diff --git a/board/overo/overo.h b/board/overo/overo.h
index 25c9f16..57725d8 100644
--- a/board/overo/overo.h
+++ b/board/overo/overo.h
@@ -405,4 +405,20 @@ const omap3_sysinfo sysinfo = {
 	MUX_VAL(CP(MCSPI1_SOMI),	(IEN  | PTD | DIS | M4)) /*GPIO_173 */\
 	MUX_VAL(CP(MCSPI1_CS1),		(IDIS | PTD | EN  | M4)) /*GPIO_175 */\
 
+#define MUX_ALTO35() \
+	MUX_VAL(CP(SYS_CLKOUT1),	(IEN  | PTU | EN  | M4)) /*GPIO_10-BTN*/\
+	MUX_VAL(CP(UART1_TX),		(IDIS | PTD | DIS | M4)) /*GPIO_148-RED LED*/\
+	MUX_VAL(CP(UART1_CTS),		(IDIS | PTD | DIS | M4)) /*GPIO_150-YELLOW LED*/\
+	MUX_VAL(CP(UART1_RX),		(IDIS | PTD | DIS | M4)) /*GPIO_151-BLUE LED*/\
+	MUX_VAL(CP(HDQ_SIO),		(IDIS | PTD | DIS | M4)) /*GPIO_170-GREEN LED*/\
+	MUX_VAL(CP(MCSPI1_CS1),		(IDIS | PTD | EN  | M4)) /*GPIO_175*/\
+
+#define MUX_ARBOR43C() \
+	MUX_VAL(CP(CSI2_DX1),		(IDIS | PTD | DIS | M4)) /*GPIO_114-RED LED*/\
+	MUX_VAL(CP(UART1_CTS),		(IDIS | PTD | DIS | M4)) /*GPIO_150-YELLOW LED*/\
+	MUX_VAL(CP(HDQ_SIO),		(IEN  | PTU | EN  | M4)) /*GPIO_170-BUTTON */\
+	MUX_VAL(CP(SYS_CLKOUT2),	(IDIS | PTD | DIS | M4)) /*GPIO_186-BLUE LED*/\
+	MUX_VAL(CP(JTAG_EMU1),		(IDIS | PTD | DIS | M4)) /*GPIO_31-CAP WAKE*/\
+	MUX_VAL(CP(SYS_CLKOUT1),	(IEN  | PTU | EN  | M4)) /*GPIO_10-CAP IRQ*/\
+
 #endif
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree
  2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
                   ` (6 preceding siblings ...)
  2014-04-29 23:15 ` [U-Boot] [PATCH 7/8] OMAP3: overo: add some Gumstix expansion boards Ash Charles
@ 2014-04-29 23:15 ` Ash Charles
  2014-05-06 18:14   ` Tom Rini
  2014-05-20 17:34   ` [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree Stefan Herbrechtsmeier
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
  8 siblings, 2 replies; 35+ messages in thread
From: Ash Charles @ 2014-04-29 23:15 UTC (permalink / raw)
  To: u-boot

Update the board configuration for Gumstix Overo. In particular,
add support for zImage and DTB files on boot.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 include/configs/omap3_overo.h | 57 ++++++++++++++++++++++++++++---------------
 1 file changed, 37 insertions(+), 20 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 1e4dfcf..71ec437 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -39,6 +39,7 @@
 #define CONFIG_REVISION_TAG
 
 #define CONFIG_OF_LIBFDT
+#define CONFIG_CMD_BOOTZ
 
 /*
  * Size of malloc() pool
@@ -92,7 +93,7 @@
 #define CONFIG_CMD_CACHE
 #define CONFIG_CMD_EXT2		/* EXT2 Support			*/
 #define CONFIG_CMD_FAT		/* FAT support			*/
-#define CONFIG_CMD_JFFS2	/* JFFS2 Support		*/
+#define CONFIG_CMD_FS_GENERIC
 
 #define CONFIG_CMD_I2C		/* I2C serial bus support	*/
 #define CONFIG_CMD_MMC		/* MMC support			*/
@@ -165,8 +166,13 @@
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
+	"dtbaddr=0x81600000\0" \
+	"dtbfile=overo.dtb\0" \
+	"bootdir=/boot\0" \
+	"bootfile=zImage\0" \
+	"usbtty=cdc_acm\0" \
 	"console=ttyO2,115200n8\0" \
-	"mpurate=500\0" \
+	"mpurate=auto\0" \
 	"optargs=\0" \
 	"vram=12M\0" \
 	"dvimode=1024x768MR-16 at 60\0" \
@@ -193,16 +199,20 @@
 		"omapdss.def_disp=${defaultdisplay} " \
 		"root=${nandroot} " \
 		"rootfstype=${nandrootfstype}\0" \
-	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
-	"bootscript=echo Running bootscript from mmc ...; " \
+	"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+	"bootscript=echo Running boot script from mmc ...; " \
 		"source ${loadaddr}\0" \
-	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
-	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
+	"loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
+	"importbootenv=echo Importing environment from mmc ...; " \
 		"env import -t ${loadaddr} ${filesize}\0" \
-	"loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
-	"mmcboot=echo Booting from mmc ...; " \
+	"loaduimage=load mmc ${mmcdev} ${loadaddr} uImage\0" \
+	"mmcboot=echo Booting from mmc...; " \
 		"run mmcargs; " \
 		"bootm ${loadaddr}\0" \
+	"loadzimage=load mmc ${mmcdev}:2 ${loadaddr} ${bootdir}/${bootfile}\0" \
+	"loadfdt=load mmc ${mmcdev}:2 ${dtbaddr} ${bootdir}/${dtbfile}\0" \
+	"mmcbootfdt=echo Booting with DT from mmc ...; " \
+		"bootz ${loadaddr} - ${dtbaddr}\0" \
 	"nandboot=echo Booting from nand ...; " \
 		"run nandargs; " \
 		"nand read ${loadaddr} linux; " \
@@ -212,20 +222,27 @@
 	"mmc dev ${mmcdev}; if mmc rescan; then " \
 		"if run loadbootscript; then " \
 			"run bootscript; " \
-		"else " \
-			"if run loadbootenv; then " \
-				"run importbootenv; " \
-				"if test -n ${uenvcmd}; then " \
-					"echo Running uenvcmd ...;" \
-					"run uenvcmd;" \
+		"fi;" \
+		"if run loadbootenv; then " \
+			"echo Loaded environment from ${bootenv};" \
+			"run importbootenv;" \
+		"fi;" \
+		"if test -n $uenvcmd; then " \
+			"echo Running uenvcmd ...;" \
+			"run uenvcmd;" \
+		"fi;" \
+		"if run loaduimage; then " \
+			"run mmcboot;" \
+		"fi;" \
+		"if run loadzimage; then " \
+			"if test -n $dtbfile; then " \
+				"if run loadfdt; then " \
+					"run mmcbootfdt;" \
 				"fi;" \
 			"fi;" \
-			"if run loaduimage; then " \
-				"run mmcboot; " \
-			"else run nandboot; " \
-			"fi; " \
-		"fi; " \
-	"else run nandboot; fi"
+		"fi;" \
+	"fi;" \
+	"run nandboot; " \
 
 #define CONFIG_AUTO_COMPLETE	1
 /*
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree
  2014-04-29 23:15 ` [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree Ash Charles
@ 2014-05-06 18:14   ` Tom Rini
  2014-05-06 23:56     ` Ash Charles
  2014-05-20 17:34   ` [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree Stefan Herbrechtsmeier
  1 sibling, 1 reply; 35+ messages in thread
From: Tom Rini @ 2014-05-06 18:14 UTC (permalink / raw)
  To: u-boot

On Tue, Apr 29, 2014 at 04:15:28PM -0700, Ash Charles wrote:

> Update the board configuration for Gumstix Overo. In particular,
> add support for zImage and DTB files on boot.
> 
> Signed-off-by: Ash Charles <ashcharles@gmail.com>
[snip]
>  #define CONFIG_EXTRA_ENV_SETTINGS \
>  	"loadaddr=0x82000000\0" \
> +	"dtbaddr=0x81600000\0" \
> +	"dtbfile=overo.dtb\0" \

Please see DEFAULT_LINUX_BOOT_ENV and the related discussions.  If you
have less than 128MB DDR we can sort something out, but if you have
256MB it's really advised to use 0x88000000 for the DT (see
Documentation/arm/Booting in the kernel).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140506/f5525ccc/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree
  2014-05-06 18:14   ` Tom Rini
@ 2014-05-06 23:56     ` Ash Charles
  2014-05-07 12:40       ` Tom Rini
  0 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-06 23:56 UTC (permalink / raw)
  To: u-boot

On Tue, May 6, 2014 at 11:14 AM, Tom Rini <trini@ti.com> wrote:
> Please see DEFAULT_LINUX_BOOT_ENV and the related discussions.  If you
> have less than 128MB DDR we can sort something out, but if you have
> 256MB it's really advised to use 0x88000000 for the DT (see
> Documentation/arm/Booting in the kernel).
Overo doesn't pull in the configuration from
include/configs/ti_armv7_common.h where DEFAULT_LINUX_BOOT_ENV is
defined.  Might a v2 using the settings defined by
DEFAULT_LINUX_BOOT_ENV in the overo config be acceptable?

--Ash

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree
  2014-05-06 23:56     ` Ash Charles
@ 2014-05-07 12:40       ` Tom Rini
  2014-05-07 17:45         ` Ash Charles
  0 siblings, 1 reply; 35+ messages in thread
From: Tom Rini @ 2014-05-07 12:40 UTC (permalink / raw)
  To: u-boot

On Tue, May 06, 2014 at 04:56:08PM -0700, Ash Charles wrote:
> On Tue, May 6, 2014 at 11:14 AM, Tom Rini <trini@ti.com> wrote:
> > Please see DEFAULT_LINUX_BOOT_ENV and the related discussions.  If you
> > have less than 128MB DDR we can sort something out, but if you have
> > 256MB it's really advised to use 0x88000000 for the DT (see
> > Documentation/arm/Booting in the kernel).
> Overo doesn't pull in the configuration from
> include/configs/ti_armv7_common.h where DEFAULT_LINUX_BOOT_ENV is
> defined.  Might a v2 using the settings defined by
> DEFAULT_LINUX_BOOT_ENV in the overo config be acceptable?

I'd like to start by seeing if we can adopt the files (ti_omap3_common.h
which grabs ti_armv7_common.h).  The intention is to have the
really common parts there and the board specific elsewhere.  It's indeed
not quite perfect and we probably need to push a few things back up to
the board, even if they're repeated frequently.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140507/d4541081/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree
  2014-05-07 12:40       ` Tom Rini
@ 2014-05-07 17:45         ` Ash Charles
  2014-05-07 17:47           ` [U-Boot] [PATCH] omap3: overo: Use common configurations for Overo Ash Charles
  0 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-07 17:45 UTC (permalink / raw)
  To: u-boot

On Wed, May 7, 2014 at 5:40 AM, Tom Rini <trini@ti.com> wrote:
> I'd like to start by seeing if we can adopt the files (ti_omap3_common.h
> which grabs ti_armv7_common.h).  The intention is to have the
> really common parts there and the board specific elsewhere.  It's indeed
> not quite perfect and we probably need to push a few things back up to
> the board, even if they're repeated frequently.
Thanks Tom.
As this is a rather distinct change, I'm sending an additional patch
that switches Overo to ti_omap3_common and DEFAULT_LINUX_BOOT_ENV
rather than amending the previous patch series.  I hope this is
appropriate and acceptable as I wasn't sure the policy on such patches
after the close date for the merge window.

Another newbie question: should I be basing submitted patches off
u-boot-ti/master (as I'm using TI chips) or u-boot/master?

--Ash

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH] omap3: overo: Use common configurations for Overo
  2014-05-07 17:45         ` Ash Charles
@ 2014-05-07 17:47           ` Ash Charles
  0 siblings, 0 replies; 35+ messages in thread
From: Ash Charles @ 2014-05-07 17:47 UTC (permalink / raw)
  To: u-boot

Clean-up the board configuration file for the Gumstix Overo board by
including common omap3 definitions from ti_omap3_common.h as suggested
here [1].

[1] http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/185960

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 include/configs/omap3_overo.h | 222 ++++++------------------------------------
 1 file changed, 28 insertions(+), 194 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 71ec437..6798cf4 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -7,80 +7,35 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-/*
- * High Level Configuration Options
- */
-#define CONFIG_OMAP				/* in a TI OMAP core */
-#define CONFIG_OMAP34XX				/* which is a 34XX */
-#define CONFIG_OMAP3_OVERO			/* working with overo */
-#define CONFIG_OMAP_GPIO
-#define CONFIG_OMAP_COMMON
-
-#define CONFIG_SDRC				/* The chip has SDRC controller */
+#define CONFIG_NR_DRAM_BANKS	2	/* CS1 may or may not be populated */
+#define CONFIG_NAND
 
-#include <asm/arch/cpu.h>			/* get chip and board defs */
-#include <asm/arch/omap3.h>
+#include <configs/ti_omap3_common.h>
 
-/*
- * Display CPU and Board information
- */
+/* Display CPU and Board information */
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-/* Clock Defines */
-#define V_OSCK			26000000	/* Clock output from T2 */
-#define V_SCLK			(V_OSCK >> 1)
-
+/* call misc_init_r */
 #define CONFIG_MISC_INIT_R
 
-#define CONFIG_CMDLINE_TAG			/* enable passing of ATAGs */
-#define CONFIG_SETUP_MEMORY_TAGS
-#define CONFIG_INITRD_TAG
+/* pass the revision tag */
 #define CONFIG_REVISION_TAG
 
-#define CONFIG_OF_LIBFDT
-#define CONFIG_CMD_BOOTZ
-
-/*
- * Size of malloc() pool
- */
+/* override size of malloc() pool */
+#undef CONFIG_SYS_MALLOC_LEN
 #define CONFIG_ENV_SIZE		(128 << 10)	/* 128 KiB sector */
-
 /* Shift 128 << 15 provides 4 MiB heap to support UBI commands.
  * Shift 128 << 10 provides 128 KiB heap for limited-memory devices. */
 #define CONFIG_SYS_MALLOC_LEN	(CONFIG_ENV_SIZE + (128 << 15))
 
-/*
- * Hardware drivers
- */
-
-/*
- * NS16550 Configuration
- */
-#define V_NS16550_CLK		48000000	/* 48MHz (APLL96/2) */
-
-#define CONFIG_SYS_NS16550
-#define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
-
-/*
- * select serial console configuration
- */
-#define CONFIG_CONS_INDEX		3
-#define CONFIG_SYS_NS16550_COM3		OMAP34XX_UART3
-#define CONFIG_SERIAL3			3
+/* I2C Support */
+#define CONFIG_SYS_I2C_OMAP34XX
 
-/* allow to overwrite serial and ethaddr */
-#define CONFIG_ENV_OVERWRITE
-#define CONFIG_BAUDRATE			115200
-#define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600, \
-					115200}
-#define CONFIG_GENERIC_MMC
-#define CONFIG_MMC
-#define CONFIG_OMAP_HSMMC
-#define CONFIG_DOS_PARTITION
+/* TWL4030 LED */
+#define CONFIG_TWL4030_LED
 
+/* Initialize GPIOs by default */
 #define CONFIG_OMAP3_GPIO_2	/* GPIO32..63 is in GPIO Bank 2 */
 #define CONFIG_OMAP3_GPIO_3	/* GPIO64..95 is in GPIO Bank 3 */
 #define CONFIG_OMAP3_GPIO_4	/* GPIO96..127 is in GPIO Bank 4 */
@@ -88,34 +43,18 @@
 #define CONFIG_OMAP3_GPIO_6	/* GPIO160..191 is in GPIO Bank 6 */
 
 /* commands to include */
-#include <config_cmd_default.h>
-
 #define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2		/* EXT2 Support			*/
-#define CONFIG_CMD_FAT		/* FAT support			*/
-#define CONFIG_CMD_FS_GENERIC
-
-#define CONFIG_CMD_I2C		/* I2C serial bus support	*/
-#define CONFIG_CMD_MMC		/* MMC support			*/
-#define CONFIG_CMD_NAND		/* NAND support			*/
-
-#undef CONFIG_CMD_FLASH		/* flinfo, erase, protect	*/
 #undef CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
 #undef CONFIG_CMD_IMI		/* iminfo			*/
-#undef CONFIG_CMD_IMLS		/* List all found images	*/
 #undef CONFIG_CMD_NFS		/* NFS support			*/
-#define CONFIG_CMD_NET		/* bootp, tftpboot, rarpboot	*/
-
-#ifdef CONFIG_CMD_NAND
 
-#define CONFIG_CMD_MTDPARTS	/* MTD partition support */
+#ifdef CONFIG_NAND
 #define CONFIG_CMD_UBI		/* UBI-formated MTD partition support */
 #define CONFIG_CMD_UBIFS	/* Read-only UBI volume operations */
 
 #define CONFIG_RBTREE		/* required by CONFIG_CMD_UBI */
 #define CONFIG_LZO		/* required by CONFIG_CMD_UBIFS */
 
-#define CONFIG_MTD_DEVICE	/* required by CONFIG_CMD_MTDPARTS   */
 #define CONFIG_MTD_PARTITIONS	/* required for UBI partition support */
 
 /* NAND block size is 128 KiB.  Synchronize these values with
@@ -133,41 +72,18 @@
 	"256k(environ),"				\
 	"8m(linux),"					\
 	"-(rootfs)"
-#else /* CONFIG_CMD_NAND */
+#else /* CONFIG_NAND */
 #define MTDPARTS_DEFAULT
-#endif /* CONFIG_CMD_NAND */
+#endif /* CONFIG_NAND */
 
-#define CONFIG_SYS_NO_FLASH
-#define CONFIG_SYS_I2C
-#define CONFIG_SYS_OMAP24_I2C_SPEED	100000
-#define CONFIG_SYS_OMAP24_I2C_SLAVE	1
-#define CONFIG_SYS_I2C_OMAP34XX
-
-/*
- * TWL4030
- */
-#define CONFIG_TWL4030_POWER
-#define CONFIG_TWL4030_LED
-
-/*
- * Board NAND Info.
- */
+/* Board NAND Info. */
 #define CONFIG_SYS_NAND_QUIET_TEST
-#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 CONFIG_SYS_MAX_NAND_DEVICE	1	/* Max number of NAND */
-						/* devices */
 /* Environment information */
-#define CONFIG_BOOTDELAY		5
-
 #define CONFIG_EXTRA_ENV_SETTINGS \
-	"loadaddr=0x82000000\0" \
-	"dtbaddr=0x81600000\0" \
-	"dtbfile=overo.dtb\0" \
+	DEFAULT_LINUX_BOOT_ENV \
+	"fdtfile=overo.dtb\0" \
 	"bootdir=/boot\0" \
 	"bootfile=zImage\0" \
 	"usbtty=cdc_acm\0" \
@@ -210,9 +126,9 @@
 		"run mmcargs; " \
 		"bootm ${loadaddr}\0" \
 	"loadzimage=load mmc ${mmcdev}:2 ${loadaddr} ${bootdir}/${bootfile}\0" \
-	"loadfdt=load mmc ${mmcdev}:2 ${dtbaddr} ${bootdir}/${dtbfile}\0" \
+	"loadfdt=load mmc ${mmcdev}:2 ${fdtaddr} ${bootdir}/${fdtfile}\0" \
 	"mmcbootfdt=echo Booting with DT from mmc ...; " \
-		"bootz ${loadaddr} - ${dtbaddr}\0" \
+		"bootz ${loadaddr} - ${fdtaddr}\0" \
 	"nandboot=echo Booting from nand ...; " \
 		"run nandargs; " \
 		"nand read ${loadaddr} linux; " \
@@ -235,7 +151,7 @@
 			"run mmcboot;" \
 		"fi;" \
 		"if run loadzimage; then " \
-			"if test -n $dtbfile; then " \
+			"if test -n $fdtfile; then " \
 				"if run loadfdt; then " \
 					"run mmcbootfdt;" \
 				"fi;" \
@@ -244,56 +160,23 @@
 	"fi;" \
 	"run nandboot; " \
 
-#define CONFIG_AUTO_COMPLETE	1
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_SYS_LONGHELP		/* undef to save memory */
-#define CONFIG_SYS_HUSH_PARSER		/* use "hush" command parser */
+#undef CONFIG_SYS_PROMPT
 #define CONFIG_SYS_PROMPT		"Overo # "
-#define CONFIG_SYS_CBSIZE		512	/* Console I/O Buffer Size */
-/* Print Buffer Size */
-#define CONFIG_SYS_PBSIZE		(CONFIG_SYS_CBSIZE + \
-					sizeof(CONFIG_SYS_PROMPT) + 16)
-#define CONFIG_SYS_MAXARGS		16	/* max number of command */
-						/* args */
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE
+
 /* memtest works on */
 #define CONFIG_SYS_MEMTEST_START	(OMAP34XX_SDRC_CS0)
 #define CONFIG_SYS_MEMTEST_END		(OMAP34XX_SDRC_CS0 + \
 					0x01F00000) /* 31MB */
 
-#define CONFIG_SYS_LOAD_ADDR		(OMAP34XX_SDRC_CS0) /* default load */
-								/* address */
-/*
- * OMAP3 has 12 GP timers, they can be driven by the system clock
- * (12/13/16.8/19.2/38.4MHz) or by 32KHz clock. We use 13MHz (V_SCLK).
- * This rate is divided by a local divisor.
- */
-#define CONFIG_SYS_TIMERBASE		OMAP34XX_GPT2
-#define CONFIG_SYS_PTV			2	/* Divisor: 2^(PTV+1) => 8 */
-
-/*-----------------------------------------------------------------------
- * Physical Memory Map
- */
-#define CONFIG_NR_DRAM_BANKS	2	/* CS1 may or may not be populated */
-#define PHYS_SDRAM_1		OMAP34XX_SDRC_CS0
-#define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
-
-/*-----------------------------------------------------------------------
- * FLASH and environment organization
- */
-
-/* **** PISMO SUPPORT *** */
-
+/* FLASH and environment organization */
 /* Configure the PISMO */
 #define PISMO1_NAND_SIZE		GPMC_SIZE_128M
 #define PISMO1_ONEN_SIZE		GPMC_SIZE_128M
 
-#define CONFIG_SYS_MONITOR_LEN		(256 << 10)	/* Reserve 2 sectors */
-
-#if defined(CONFIG_CMD_NAND)
+#if defined(CONFIG_NAND)
 #define CONFIG_SYS_FLASH_BASE		PISMO1_NAND_BASE
 #endif
 
@@ -309,67 +192,18 @@
 #define CONFIG_ENV_OFFSET		SMNAND_ENV_OFFSET
 #define CONFIG_ENV_ADDR			SMNAND_ENV_OFFSET
 
+/* Configure SMSC9211 ethernet */
 #if defined(CONFIG_CMD_NET)
-/*----------------------------------------------------------------------------
- * SMSC9211 Ethernet from SMSC9118 family
- *----------------------------------------------------------------------------
- */
-
 #define CONFIG_SMC911X
 #define CONFIG_SMC911X_32_BIT
 #define CONFIG_SMC911X_BASE		0x2C000000
-
 #endif /* (CONFIG_CMD_NET) */
 
-/*
- * Leave it@0x80008000 to allow booting new u-boot.bin with X-loader
- * and older u-boot.bin with the new U-Boot SPL.
- */
-#define CONFIG_SYS_TEXT_BASE		0x80008000
-#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+/* Initial RAM setup */
 #define CONFIG_SYS_INIT_RAM_ADDR	0x4020f800
 #define CONFIG_SYS_INIT_RAM_SIZE	0x800
-#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_INIT_RAM_ADDR + \
-					 CONFIG_SYS_INIT_RAM_SIZE - \
-					 GENERATED_GBL_DATA_SIZE)
-
 #define CONFIG_SYS_CACHELINE_SIZE	64
 
-/* Defines for SPL */
-#define CONFIG_SPL
-#define CONFIG_SPL_FRAMEWORK
-#define CONFIG_SPL_NAND_SIMPLE
-#define CONFIG_SPL_TEXT_BASE		0x40200800
-#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
-#define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
-
-/* move malloc and bss high to prevent clashing with the main image */
-#define CONFIG_SYS_SPL_MALLOC_START	0x87000000
-#define CONFIG_SYS_SPL_MALLOC_SIZE	0x80000
-#define CONFIG_SPL_BSS_START_ADDR	0x87080000	/* end of minimum RAM */
-#define CONFIG_SPL_BSS_MAX_SIZE		0x80000		/* 512 KB */
-
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
-#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x200 /* 256 KB */
-#define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION	1
-#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME	"u-boot.img"
-
-#define CONFIG_SPL_BOARD_INIT
-#define CONFIG_SPL_LIBCOMMON_SUPPORT
-#define CONFIG_SPL_LIBDISK_SUPPORT
-#define CONFIG_SPL_I2C_SUPPORT
-#define CONFIG_SPL_LIBGENERIC_SUPPORT
-#define CONFIG_SPL_MMC_SUPPORT
-#define CONFIG_SPL_FAT_SUPPORT
-#define CONFIG_SPL_SERIAL_SUPPORT
-#define CONFIG_SPL_NAND_SUPPORT
-#define CONFIG_SPL_NAND_BASE
-#define CONFIG_SPL_NAND_DRIVERS
-#define CONFIG_SPL_NAND_ECC
-#define CONFIG_SPL_GPIO_SUPPORT
-#define CONFIG_SPL_POWER_SUPPORT
-#define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
-
 /* NAND boot config */
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree
  2014-04-29 23:15 ` [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree Ash Charles
  2014-05-06 18:14   ` Tom Rini
@ 2014-05-20 17:34   ` Stefan Herbrechtsmeier
  2014-05-21 20:16     ` Ash Charles
  1 sibling, 1 reply; 35+ messages in thread
From: Stefan Herbrechtsmeier @ 2014-05-20 17:34 UTC (permalink / raw)
  To: u-boot

Am 30.04.2014 01:15, schrieb Ash Charles:
> Update the board configuration for Gumstix Overo. In particular,
> add support for zImage and DTB files on boot.
>
> Signed-off-by: Ash Charles <ashcharles@gmail.com>
> ---
>   include/configs/omap3_overo.h | 57 ++++++++++++++++++++++++++++---------------
>   1 file changed, 37 insertions(+), 20 deletions(-)
>
> diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
> index 1e4dfcf..71ec437 100644
> --- a/include/configs/omap3_overo.h
> +++ b/include/configs/omap3_overo.h
> @@ -193,16 +199,20 @@
>   		"omapdss.def_disp=${defaultdisplay} " \
>   		"root=${nandroot} " \
>   		"rootfstype=${nandrootfstype}\0" \
> -	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
> -	"bootscript=echo Running bootscript from mmc ...; " \
> +	"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
> +	"bootscript=echo Running boot script from mmc ...; " \
>   		"source ${loadaddr}\0" \
> -	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
> -	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
> +	"loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
> +	"importbootenv=echo Importing environment from mmc ...; " \
>   		"env import -t ${loadaddr} ${filesize}\0" \
> -	"loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
> -	"mmcboot=echo Booting from mmc ...; " \
> +	"loaduimage=load mmc ${mmcdev} ${loadaddr} uImage\0" \
> +	"mmcboot=echo Booting from mmc...; " \
>   		"run mmcargs; " \
>   		"bootm ${loadaddr}\0" \
> +	"loadzimage=load mmc ${mmcdev}:2 ${loadaddr} ${bootdir}/${bootfile}\0" \
> +	"loadfdt=load mmc ${mmcdev}:2 ${dtbaddr} ${bootdir}/${dtbfile}\0" \
> +	"mmcbootfdt=echo Booting with DT from mmc ...; " \
> +		"bootz ${loadaddr} - ${dtbaddr}\0" \
A run of mmcargs is missing.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree
  2014-05-20 17:34   ` [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree Stefan Herbrechtsmeier
@ 2014-05-21 20:16     ` Ash Charles
  0 siblings, 0 replies; 35+ messages in thread
From: Ash Charles @ 2014-05-21 20:16 UTC (permalink / raw)
  To: u-boot

On Tue, May 20, 2014 at 10:34 AM, Stefan Herbrechtsmeier
<stefan@herbrechtsmeier.net> wrote:
> A run of mmcargs is missing.
Totally correct---good catch.
I'll send a v2 for this series rebased on u-boot-ti/master and also
include this [1] patch.  Hopefully this is correct.

--Ash

[1] https://www.mail-archive.com/u-boot at lists.denx.de/msg137739.html

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 0/9] omap3: overo: update board data
  2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
                   ` (7 preceding siblings ...)
  2014-04-29 23:15 ` [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree Ash Charles
@ 2014-05-21 21:04 ` Ash Charles
  2014-05-21 21:04   ` [U-Boot] [Patch v2 1/9] omap: overo: allow the use of a plain text env file instead boot scripts Ash Charles
                     ` (8 more replies)
  8 siblings, 9 replies; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

This patch series collects board-specific fixes and updates for the
Gumstix Overo COMs.

v2 adds [1] originally sent separately and amends as discussed [2].

[1] https://www.mail-archive.com/u-boot at lists.denx.de/msg137739.html
[2] http://lists.denx.de/pipermail/u-boot/2014-May/179891.html

Ash Charles (8):
  omap: overo: allow the use of a plain text env file instead boot
    scripts
  OMAP3: overo: add command support for mtd and ubi
  OMAP3: overo: eliminate hard-coded partition offsets
  arm: omap3: Fix omap3_overo SPL boot hangup
  [omap3][overo] Add Board Revision for Wireless chip
  OMAP3: overo: add some Gumstix expansion boards
  [omap3][overo] Allow overo to boot with device tree
  omap3: overo: Use common configurations for Overo

Peter A. Bigot (1):
  OMAP3: overo: increase linux partition to 8 MiB

 board/overo/overo.c           |  43 +++++-
 board/overo/overo.h           |  17 +++
 include/configs/omap3_overo.h | 296 ++++++++++++++----------------------------
 3 files changed, 153 insertions(+), 203 deletions(-)

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 1/9] omap: overo: allow the use of a plain text env file instead boot scripts
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
@ 2014-05-21 21:04   ` Ash Charles
  2014-05-23 23:50     ` [U-Boot] [U-Boot, v2, " Tom Rini
  2014-05-21 21:04   ` [U-Boot] [Patch v2 2/9] OMAP3: overo: add command support for mtd and ubi Ash Charles
                     ` (7 subsequent siblings)
  8 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

Adapted from d70f5480 described below.

    commit d70f54808dfa83b574e1239c3eccbcf3317343e1
    Author: Javier Martinez Canillas <javier@dowhile0.org>
    Date:   Mon Jan 7 03:51:20 2013 +0000

    omap4: allow the use of a plain text env file instead boot scripts

    For production systems it is better to use script images since
    they are protected by checksums and carry valuable information like
    name and timestamp. Also, you can't validate the content passed to
    env import.

    But for development, it is easier to use the env import command and
    plain text files instead of script-images.

    Since both OMAP4 supported boards (Panda and TI SDP4430) are used
    primarily for development, this patch allows U-Boot to load env var
    from a text file in case that an boot.scr script-image is not present.

    The variable uenvcmd (if existent) will be executed (using run) after
    uEnv.txt was loaded. If uenvcmd doesn't exist the default boot sequence
    will be started.

    Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
    Acked-by: Nishanth Menon <nm@ti.com>

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Tested-by: Ash Charles <ash@gumstix.com>
---
 include/configs/omap3_overo.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 007e27f..f26d069 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -164,6 +164,9 @@
 	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
 	"bootscript=echo Running bootscript from mmc ...; " \
 		"source ${loadaddr}\0" \
+	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
+	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
+		"env import -t ${loadaddr} ${filesize}\0" \
 	"loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
 	"mmcboot=echo Booting from mmc ...; " \
 		"run mmcargs; " \
@@ -178,6 +181,13 @@
 		"if run loadbootscript; then " \
 			"run bootscript; " \
 		"else " \
+			"if run loadbootenv; then " \
+				"run importbootenv; " \
+				"if test -n ${uenvcmd}; then " \
+					"echo Running uenvcmd ...;" \
+					"run uenvcmd;" \
+				"fi;" \
+			"fi;" \
 			"if run loaduimage; then " \
 				"run mmcboot; " \
 			"else run nandboot; " \
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 2/9] OMAP3: overo: add command support for mtd and ubi
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
  2014-05-21 21:04   ` [U-Boot] [Patch v2 1/9] omap: overo: allow the use of a plain text env file instead boot scripts Ash Charles
@ 2014-05-21 21:04   ` Ash Charles
  2014-05-23 23:50     ` [U-Boot] [U-Boot, v2, " Tom Rini
  2014-05-21 21:04   ` [U-Boot] [Patch v2 3/9] OMAP3: overo: increase linux partition to 8 MiB Ash Charles
                     ` (6 subsequent siblings)
  8 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

The NAND linux partition format default was changed from jffs2 to ubi in
254973e6df0e48f1a72b67905185c774dcd9f394 but the corresponding commands were
not enabled.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Tested-by: Ash Charles <ash@gumstix.com>
---
 include/configs/omap3_overo.h | 40 +++++++++++++++++++++++++++++++++++++---
 1 file changed, 37 insertions(+), 3 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index f26d069..7823aa1 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -43,9 +43,11 @@
 /*
  * Size of malloc() pool
  */
-#define CONFIG_ENV_SIZE		(128 << 10)	/* 128 KiB */
-						/* Sector */
-#define CONFIG_SYS_MALLOC_LEN	(CONFIG_ENV_SIZE + (128 << 10))
+#define CONFIG_ENV_SIZE		(128 << 10)	/* 128 KiB sector */
+
+/* Shift 128 << 15 provides 4 MiB heap to support UBI commands.
+ * Shift 128 << 10 provides 128 KiB heap for limited-memory devices. */
+#define CONFIG_SYS_MALLOC_LEN	(CONFIG_ENV_SIZE + (128 << 15))
 
 /*
  * Hardware drivers
@@ -97,6 +99,37 @@
 #undef CONFIG_CMD_NFS		/* NFS support			*/
 #define CONFIG_CMD_NET		/* bootp, tftpboot, rarpboot	*/
 
+#ifdef CONFIG_CMD_NAND
+
+#define CONFIG_CMD_MTDPARTS	/* MTD partition support */
+#define CONFIG_CMD_UBI		/* UBI-formated MTD partition support */
+#define CONFIG_CMD_UBIFS	/* Read-only UBI volume operations */
+
+#define CONFIG_RBTREE		/* required by CONFIG_CMD_UBI */
+#define CONFIG_LZO		/* required by CONFIG_CMD_UBIFS */
+
+#define CONFIG_MTD_DEVICE	/* required by CONFIG_CMD_MTDPARTS   */
+#define CONFIG_MTD_PARTITIONS	/* required for UBI partition support */
+
+/* NAND block size is 128 KiB.  Synchronize these values with
+ * overo_nand_partitions in mach-omap2/board-overo.c in Linux:
+ *  xloader              4 * NAND_BLOCK_SIZE = 512 KiB
+ *  uboot               14 * NAND_BLOCK_SIZE = 1792 KiB
+ *  uboot environtment   2 * NAND_BLOCK_SIZE = 256 KiB
+ *  linux               32 * NAND_BLOCK_SIE = 4 MiB
+ *  rootfs              remainder
+ */
+#define MTDIDS_DEFAULT "nand0=omap2-nand.0"
+#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:"	\
+	"512k(xloader),"				\
+	"1792k(u-boot),"				\
+	"256k(environ),"				\
+	"4m(linux),"					\
+	"-(rootfs)"
+#else /* CONFIG_CMD_NAND */
+#define MTDPARTS_DEFAULT
+#endif /* CONFIG_CMD_NAND */
+
 #define CONFIG_SYS_NO_FLASH
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED	100000
@@ -145,6 +178,7 @@
 	"mmcrootfstype=ext3 rootwait\0" \
 	"nandroot=ubi0:rootfs ubi.mtd=4\0" \
 	"nandrootfstype=ubifs\0" \
+	"mtdparts=" MTDPARTS_DEFAULT "\0" \
 	"mmcargs=setenv bootargs console=${console} " \
 		"${optargs} " \
 		"mpurate=${mpurate} " \
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 3/9] OMAP3: overo: increase linux partition to 8 MiB
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
  2014-05-21 21:04   ` [U-Boot] [Patch v2 1/9] omap: overo: allow the use of a plain text env file instead boot scripts Ash Charles
  2014-05-21 21:04   ` [U-Boot] [Patch v2 2/9] OMAP3: overo: add command support for mtd and ubi Ash Charles
@ 2014-05-21 21:04   ` Ash Charles
  2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini
  2014-05-21 21:04   ` [U-Boot] [Patch v2 4/9] OMAP3: overo: eliminate hard-coded partition offsets Ash Charles
                     ` (5 subsequent siblings)
  8 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

From: "Peter A. Bigot" <pab@pabigot.com>

Linux kernel at version 3.5 is about 3.5 MiB; test kernels for 3.10 exceed 4
MiB.  Prepare for future upgrades by increasing the NAND partition now.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Tested-by: Ash Charles <ash@gumstix.com>
---
 include/configs/omap3_overo.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 7823aa1..321e110 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -116,7 +116,7 @@
  *  xloader              4 * NAND_BLOCK_SIZE = 512 KiB
  *  uboot               14 * NAND_BLOCK_SIZE = 1792 KiB
  *  uboot environtment   2 * NAND_BLOCK_SIZE = 256 KiB
- *  linux               32 * NAND_BLOCK_SIE = 4 MiB
+ *  linux               64 * NAND_BLOCK_SIZE = 8 MiB
  *  rootfs              remainder
  */
 #define MTDIDS_DEFAULT "nand0=omap2-nand.0"
@@ -124,7 +124,7 @@
 	"512k(xloader),"				\
 	"1792k(u-boot),"				\
 	"256k(environ),"				\
-	"4m(linux),"					\
+	"8m(linux),"					\
 	"-(rootfs)"
 #else /* CONFIG_CMD_NAND */
 #define MTDPARTS_DEFAULT
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 4/9] OMAP3: overo: eliminate hard-coded partition offsets
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
                     ` (2 preceding siblings ...)
  2014-05-21 21:04   ` [U-Boot] [Patch v2 3/9] OMAP3: overo: increase linux partition to 8 MiB Ash Charles
@ 2014-05-21 21:04   ` Ash Charles
  2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini
  2014-05-21 21:04   ` [U-Boot] [Patch v2 5/9] arm: omap3: Fix omap3_overo SPL boot hangup Ash Charles
                     ` (4 subsequent siblings)
  8 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

The linux kernel is at nand0,3 using the current layout, but is best
accessed through the partition label "linux".  Since CONFIG_CMD_MTDPARTS is
defined the CONFIG_JFFS2 settings are unreferenced; use "setenv partition
rootfs" to set the default mtd partition for jffs2.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Tested-by: Ash Charles <ash@gumstix.com>
---
 include/configs/omap3_overo.h | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 321e110..706c8cc 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -154,14 +154,6 @@
 							/* at CS0 */
 #define CONFIG_SYS_MAX_NAND_DEVICE	1	/* Max number of NAND */
 						/* devices */
-#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		5
 
@@ -207,7 +199,7 @@
 		"bootm ${loadaddr}\0" \
 	"nandboot=echo Booting from nand ...; " \
 		"run nandargs; " \
-		"nand read ${loadaddr} 280000 400000; " \
+		"nand read ${loadaddr} linux; " \
 		"bootm ${loadaddr}\0" \
 
 #define CONFIG_BOOTCOMMAND \
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 5/9] arm: omap3: Fix omap3_overo SPL boot hangup
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
                     ` (3 preceding siblings ...)
  2014-05-21 21:04   ` [U-Boot] [Patch v2 4/9] OMAP3: overo: eliminate hard-coded partition offsets Ash Charles
@ 2014-05-21 21:04   ` Ash Charles
  2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini
  2014-05-21 21:04   ` [U-Boot] [Patch v2 6/9] [omap3][overo] Add Board Revision for Wireless chip Ash Charles
                     ` (3 subsequent siblings)
  8 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

Patch f33b9bd3
[arm: omap3: Enable clocks for peripherals only if they are used]
breaks SPL booting on Overo. Since some gpio inputs are
read to detect the board revision. But with this patch above, the
clocks to the GPIO subsystems are not enabled per default any more.
The GPIO banks need to be configured specifically now.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 include/configs/omap3_overo.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 706c8cc..1e4dfcf 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -80,6 +80,12 @@
 #define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
+#define CONFIG_OMAP3_GPIO_2	/* GPIO32..63 is in GPIO Bank 2 */
+#define CONFIG_OMAP3_GPIO_3	/* GPIO64..95 is in GPIO Bank 3 */
+#define CONFIG_OMAP3_GPIO_4	/* GPIO96..127 is in GPIO Bank 4 */
+#define CONFIG_OMAP3_GPIO_5	/* GPIO128..159 is in GPIO Bank 5 */
+#define CONFIG_OMAP3_GPIO_6	/* GPIO160..191 is in GPIO Bank 6 */
+
 /* commands to include */
 #include <config_cmd_default.h>
 
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 6/9] [omap3][overo] Add Board Revision for Wireless chip
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
                     ` (4 preceding siblings ...)
  2014-05-21 21:04   ` [U-Boot] [Patch v2 5/9] arm: omap3: Fix omap3_overo SPL boot hangup Ash Charles
@ 2014-05-21 21:04   ` Ash Charles
  2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, 6/9, omap3, overo] " Tom Rini
  2014-05-21 21:04   ` [U-Boot] [Patch v2 7/9] OMAP3: overo: add some Gumstix expansion boards Ash Charles
                     ` (2 subsequent siblings)
  8 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

Gumstix Overo COMs with board revision 0x4 use a different Wifi and
Bluetooth module: Wi2Wi's W2CBW0015.  No other code changes are required
in u-boot---just handling of this particular board revision.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 board/overo/overo.c | 1 +
 board/overo/overo.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/board/overo/overo.c b/board/overo/overo.c
index 1192d02..9a5f4c4 100644
--- a/board/overo/overo.c
+++ b/board/overo/overo.c
@@ -141,6 +141,7 @@ void get_board_mem_timings(struct board_sdrc_timings *timings)
 		timings->rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
 		break;
 	case REVISION_1: /* Micron 256MB/512MB, 1/2 banks of 256MB */
+	case REVISION_4:
 		timings->mcfg = MICRON_V_MCFG_200(256 << 20);
 		timings->ctrla = MICRON_V_ACTIMA_200;
 		timings->ctrlb = MICRON_V_ACTIMB_200;
diff --git a/board/overo/overo.h b/board/overo/overo.h
index 64604de..25c9f16 100644
--- a/board/overo/overo.h
+++ b/board/overo/overo.h
@@ -22,6 +22,7 @@ const omap3_sysinfo sysinfo = {
 #define REVISION_1	0x1
 #define REVISION_2	0x2
 #define REVISION_3	0x3
+#define REVISION_4	0x4
 
 /*
  * IEN  - Input Enable
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 7/9] OMAP3: overo: add some Gumstix expansion boards
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
                     ` (5 preceding siblings ...)
  2014-05-21 21:04   ` [U-Boot] [Patch v2 6/9] [omap3][overo] Add Board Revision for Wireless chip Ash Charles
@ 2014-05-21 21:04   ` Ash Charles
  2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini
  2014-05-21 21:04   ` [U-Boot] [Patch v2 8/9] [omap3][overo] Allow overo to boot with device tree Ash Charles
  2014-05-21 21:04   ` [U-Boot] [Patch v2 9/9] omap3: overo: Use common configurations for Overo Ash Charles
  8 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

Add EEPROM ID switches for Alto35, Arbor43C, Stagecoach, Thumbo, and
Turtlecore Gumstix Overo expansion boards.

Signed-off-by: Ash Charles <ash@gumstix.com>
---
 board/overo/overo.c | 42 ++++++++++++++++++++++++++++++++++++++++--
 board/overo/overo.h | 16 ++++++++++++++++
 2 files changed, 56 insertions(+), 2 deletions(-)

diff --git a/board/overo/overo.c b/board/overo/overo.c
index 9a5f4c4..62b50a8 100644
--- a/board/overo/overo.c
+++ b/board/overo/overo.c
@@ -39,6 +39,11 @@ DECLARE_GLOBAL_DATA_PTR;
 #define GUMSTIX_CHESTNUT43		0x06000200
 #define GUMSTIX_PINTO			0x07000200
 #define GUMSTIX_GALLOP43		0x08000200
+#define GUMSTIX_ALTO35			0x09000200
+#define GUMSTIX_STAGECOACH		0x0A000200
+#define GUMSTIX_THUMBO			0x0B000200
+#define GUMSTIX_TURTLECORE		0x0C000200
+#define GUMSTIX_ARBOR43C		0x0D000200
 
 #define ETTUS_USRP_E			0x01000300
 
@@ -231,6 +236,8 @@ unsigned int get_expansion_id(void)
  */
 int misc_init_r(void)
 {
+	unsigned int expansion_id;
+
 	twl4030_power_init();
 	twl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);
 
@@ -253,7 +260,8 @@ int misc_init_r(void)
 		puts("Unable to detect mmc2 connection type\n");
 	}
 
-	switch (get_expansion_id()) {
+	expansion_id = get_expansion_id();
+	switch (expansion_id) {
 	case GUMSTIX_SUMMIT:
 		printf("Recognized Summit expansion board (rev %d %s)\n",
 			expansion_config.revision,
@@ -303,6 +311,35 @@ int misc_init_r(void)
 			expansion_config.fab_revision);
 		setenv("defaultdisplay", "lcd43");
 		break;
+	case GUMSTIX_ALTO35:
+		printf("Recognized Alto35 expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		MUX_ALTO35();
+		setenv("defaultdisplay", "lcd35");
+		break;
+	case GUMSTIX_STAGECOACH:
+		printf("Recognized Stagecoach expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		break;
+	case GUMSTIX_THUMBO:
+		printf("Recognized Thumbo expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		break;
+	case GUMSTIX_TURTLECORE:
+		printf("Recognized Turtlecore expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		break;
+	case GUMSTIX_ARBOR43C:
+		printf("Recognized Arbor43C expansion board (rev %d %s)\n",
+			expansion_config.revision,
+			expansion_config.fab_revision);
+		MUX_ARBOR43C();
+		setenv("defaultdisplay", "lcd43");
+		break;
 	case ETTUS_USRP_E:
 		printf("Recognized Ettus Research USRP-E (rev %d %s)\n",
 			expansion_config.revision,
@@ -314,7 +351,8 @@ int misc_init_r(void)
 		puts("No EEPROM on expansion board\n");
 		break;
 	default:
-		puts("Unrecognized expansion board\n");
+		printf("Unrecognized expansion board 0x%08x\n", expansion_id);
+		break;
 	}
 
 	if (expansion_config.content == 1)
diff --git a/board/overo/overo.h b/board/overo/overo.h
index 25c9f16..57725d8 100644
--- a/board/overo/overo.h
+++ b/board/overo/overo.h
@@ -405,4 +405,20 @@ const omap3_sysinfo sysinfo = {
 	MUX_VAL(CP(MCSPI1_SOMI),	(IEN  | PTD | DIS | M4)) /*GPIO_173 */\
 	MUX_VAL(CP(MCSPI1_CS1),		(IDIS | PTD | EN  | M4)) /*GPIO_175 */\
 
+#define MUX_ALTO35() \
+	MUX_VAL(CP(SYS_CLKOUT1),	(IEN  | PTU | EN  | M4)) /*GPIO_10-BTN*/\
+	MUX_VAL(CP(UART1_TX),		(IDIS | PTD | DIS | M4)) /*GPIO_148-RED LED*/\
+	MUX_VAL(CP(UART1_CTS),		(IDIS | PTD | DIS | M4)) /*GPIO_150-YELLOW LED*/\
+	MUX_VAL(CP(UART1_RX),		(IDIS | PTD | DIS | M4)) /*GPIO_151-BLUE LED*/\
+	MUX_VAL(CP(HDQ_SIO),		(IDIS | PTD | DIS | M4)) /*GPIO_170-GREEN LED*/\
+	MUX_VAL(CP(MCSPI1_CS1),		(IDIS | PTD | EN  | M4)) /*GPIO_175*/\
+
+#define MUX_ARBOR43C() \
+	MUX_VAL(CP(CSI2_DX1),		(IDIS | PTD | DIS | M4)) /*GPIO_114-RED LED*/\
+	MUX_VAL(CP(UART1_CTS),		(IDIS | PTD | DIS | M4)) /*GPIO_150-YELLOW LED*/\
+	MUX_VAL(CP(HDQ_SIO),		(IEN  | PTU | EN  | M4)) /*GPIO_170-BUTTON */\
+	MUX_VAL(CP(SYS_CLKOUT2),	(IDIS | PTD | DIS | M4)) /*GPIO_186-BLUE LED*/\
+	MUX_VAL(CP(JTAG_EMU1),		(IDIS | PTD | DIS | M4)) /*GPIO_31-CAP WAKE*/\
+	MUX_VAL(CP(SYS_CLKOUT1),	(IEN  | PTU | EN  | M4)) /*GPIO_10-CAP IRQ*/\
+
 #endif
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 8/9] [omap3][overo] Allow overo to boot with device tree
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
                     ` (6 preceding siblings ...)
  2014-05-21 21:04   ` [U-Boot] [Patch v2 7/9] OMAP3: overo: add some Gumstix expansion boards Ash Charles
@ 2014-05-21 21:04   ` Ash Charles
  2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, 8/9, omap3, overo] " Tom Rini
  2014-05-21 21:04   ` [U-Boot] [Patch v2 9/9] omap3: overo: Use common configurations for Overo Ash Charles
  8 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

Update the board configuration for Gumstix Overo. In particular,
add support for zImage and DTB files on boot.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 include/configs/omap3_overo.h | 58 ++++++++++++++++++++++++++++---------------
 1 file changed, 38 insertions(+), 20 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 1e4dfcf..48cadbb 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -39,6 +39,7 @@
 #define CONFIG_REVISION_TAG
 
 #define CONFIG_OF_LIBFDT
+#define CONFIG_CMD_BOOTZ
 
 /*
  * Size of malloc() pool
@@ -92,7 +93,7 @@
 #define CONFIG_CMD_CACHE
 #define CONFIG_CMD_EXT2		/* EXT2 Support			*/
 #define CONFIG_CMD_FAT		/* FAT support			*/
-#define CONFIG_CMD_JFFS2	/* JFFS2 Support		*/
+#define CONFIG_CMD_FS_GENERIC
 
 #define CONFIG_CMD_I2C		/* I2C serial bus support	*/
 #define CONFIG_CMD_MMC		/* MMC support			*/
@@ -165,8 +166,13 @@
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
+	"dtbaddr=0x81600000\0" \
+	"dtbfile=overo.dtb\0" \
+	"bootdir=/boot\0" \
+	"bootfile=zImage\0" \
+	"usbtty=cdc_acm\0" \
 	"console=ttyO2,115200n8\0" \
-	"mpurate=500\0" \
+	"mpurate=auto\0" \
 	"optargs=\0" \
 	"vram=12M\0" \
 	"dvimode=1024x768MR-16 at 60\0" \
@@ -193,16 +199,21 @@
 		"omapdss.def_disp=${defaultdisplay} " \
 		"root=${nandroot} " \
 		"rootfstype=${nandrootfstype}\0" \
-	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
-	"bootscript=echo Running bootscript from mmc ...; " \
+	"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+	"bootscript=echo Running boot script from mmc ...; " \
 		"source ${loadaddr}\0" \
-	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
-	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
+	"loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
+	"importbootenv=echo Importing environment from mmc ...; " \
 		"env import -t ${loadaddr} ${filesize}\0" \
-	"loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
-	"mmcboot=echo Booting from mmc ...; " \
+	"loaduimage=load mmc ${mmcdev} ${loadaddr} uImage\0" \
+	"mmcboot=echo Booting from mmc...; " \
 		"run mmcargs; " \
 		"bootm ${loadaddr}\0" \
+	"loadzimage=load mmc ${mmcdev}:2 ${loadaddr} ${bootdir}/${bootfile}\0" \
+	"loadfdt=load mmc ${mmcdev}:2 ${dtbaddr} ${bootdir}/${dtbfile}\0" \
+	"mmcbootfdt=echo Booting with DT from mmc ...; " \
+		"run mmcargs; " \
+		"bootz ${loadaddr} - ${dtbaddr}\0" \
 	"nandboot=echo Booting from nand ...; " \
 		"run nandargs; " \
 		"nand read ${loadaddr} linux; " \
@@ -212,20 +223,27 @@
 	"mmc dev ${mmcdev}; if mmc rescan; then " \
 		"if run loadbootscript; then " \
 			"run bootscript; " \
-		"else " \
-			"if run loadbootenv; then " \
-				"run importbootenv; " \
-				"if test -n ${uenvcmd}; then " \
-					"echo Running uenvcmd ...;" \
-					"run uenvcmd;" \
+		"fi;" \
+		"if run loadbootenv; then " \
+			"echo Loaded environment from ${bootenv};" \
+			"run importbootenv;" \
+		"fi;" \
+		"if test -n $uenvcmd; then " \
+			"echo Running uenvcmd ...;" \
+			"run uenvcmd;" \
+		"fi;" \
+		"if run loaduimage; then " \
+			"run mmcboot;" \
+		"fi;" \
+		"if run loadzimage; then " \
+			"if test -n $dtbfile; then " \
+				"if run loadfdt; then " \
+					"run mmcbootfdt;" \
 				"fi;" \
 			"fi;" \
-			"if run loaduimage; then " \
-				"run mmcboot; " \
-			"else run nandboot; " \
-			"fi; " \
-		"fi; " \
-	"else run nandboot; fi"
+		"fi;" \
+	"fi;" \
+	"run nandboot; " \
 
 #define CONFIG_AUTO_COMPLETE	1
 /*
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [Patch v2 9/9] omap3: overo: Use common configurations for Overo
  2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
                     ` (7 preceding siblings ...)
  2014-05-21 21:04   ` [U-Boot] [Patch v2 8/9] [omap3][overo] Allow overo to boot with device tree Ash Charles
@ 2014-05-21 21:04   ` Ash Charles
  2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini
  8 siblings, 1 reply; 35+ messages in thread
From: Ash Charles @ 2014-05-21 21:04 UTC (permalink / raw)
  To: u-boot

Clean-up the board configuration file for the Gumstix Overo board by
including common omap3 definitions from ti_omap3_common.h as suggested
here [1].

[1] http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/185960

Signed-off-by: Ash Charles <ashcharles@gmail.com>

Conflicts:
	include/configs/omap3_overo.h
---
 include/configs/omap3_overo.h | 222 ++++++------------------------------------
 1 file changed, 28 insertions(+), 194 deletions(-)

diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 48cadbb..7b97be9 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -7,80 +7,35 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-/*
- * High Level Configuration Options
- */
-#define CONFIG_OMAP				/* in a TI OMAP core */
-#define CONFIG_OMAP34XX				/* which is a 34XX */
-#define CONFIG_OMAP3_OVERO			/* working with overo */
-#define CONFIG_OMAP_GPIO
-#define CONFIG_OMAP_COMMON
-
-#define CONFIG_SDRC				/* The chip has SDRC controller */
+#define CONFIG_NR_DRAM_BANKS	2	/* CS1 may or may not be populated */
+#define CONFIG_NAND
 
-#include <asm/arch/cpu.h>			/* get chip and board defs */
-#include <asm/arch/omap3.h>
+#include <configs/ti_omap3_common.h>
 
-/*
- * Display CPU and Board information
- */
+/* Display CPU and Board information */
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-/* Clock Defines */
-#define V_OSCK			26000000	/* Clock output from T2 */
-#define V_SCLK			(V_OSCK >> 1)
-
+/* call misc_init_r */
 #define CONFIG_MISC_INIT_R
 
-#define CONFIG_CMDLINE_TAG			/* enable passing of ATAGs */
-#define CONFIG_SETUP_MEMORY_TAGS
-#define CONFIG_INITRD_TAG
+/* pass the revision tag */
 #define CONFIG_REVISION_TAG
 
-#define CONFIG_OF_LIBFDT
-#define CONFIG_CMD_BOOTZ
-
-/*
- * Size of malloc() pool
- */
+/* override size of malloc() pool */
+#undef CONFIG_SYS_MALLOC_LEN
 #define CONFIG_ENV_SIZE		(128 << 10)	/* 128 KiB sector */
-
 /* Shift 128 << 15 provides 4 MiB heap to support UBI commands.
  * Shift 128 << 10 provides 128 KiB heap for limited-memory devices. */
 #define CONFIG_SYS_MALLOC_LEN	(CONFIG_ENV_SIZE + (128 << 15))
 
-/*
- * Hardware drivers
- */
-
-/*
- * NS16550 Configuration
- */
-#define V_NS16550_CLK		48000000	/* 48MHz (APLL96/2) */
-
-#define CONFIG_SYS_NS16550
-#define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
-
-/*
- * select serial console configuration
- */
-#define CONFIG_CONS_INDEX		3
-#define CONFIG_SYS_NS16550_COM3		OMAP34XX_UART3
-#define CONFIG_SERIAL3			3
+/* I2C Support */
+#define CONFIG_SYS_I2C_OMAP34XX
 
-/* allow to overwrite serial and ethaddr */
-#define CONFIG_ENV_OVERWRITE
-#define CONFIG_BAUDRATE			115200
-#define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600, \
-					115200}
-#define CONFIG_GENERIC_MMC
-#define CONFIG_MMC
-#define CONFIG_OMAP_HSMMC
-#define CONFIG_DOS_PARTITION
+/* TWL4030 LED */
+#define CONFIG_TWL4030_LED
 
+/* Initialize GPIOs by default */
 #define CONFIG_OMAP3_GPIO_2	/* GPIO32..63 is in GPIO Bank 2 */
 #define CONFIG_OMAP3_GPIO_3	/* GPIO64..95 is in GPIO Bank 3 */
 #define CONFIG_OMAP3_GPIO_4	/* GPIO96..127 is in GPIO Bank 4 */
@@ -88,34 +43,18 @@
 #define CONFIG_OMAP3_GPIO_6	/* GPIO160..191 is in GPIO Bank 6 */
 
 /* commands to include */
-#include <config_cmd_default.h>
-
 #define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2		/* EXT2 Support			*/
-#define CONFIG_CMD_FAT		/* FAT support			*/
-#define CONFIG_CMD_FS_GENERIC
-
-#define CONFIG_CMD_I2C		/* I2C serial bus support	*/
-#define CONFIG_CMD_MMC		/* MMC support			*/
-#define CONFIG_CMD_NAND		/* NAND support			*/
-
-#undef CONFIG_CMD_FLASH		/* flinfo, erase, protect	*/
 #undef CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
 #undef CONFIG_CMD_IMI		/* iminfo			*/
-#undef CONFIG_CMD_IMLS		/* List all found images	*/
 #undef CONFIG_CMD_NFS		/* NFS support			*/
-#define CONFIG_CMD_NET		/* bootp, tftpboot, rarpboot	*/
-
-#ifdef CONFIG_CMD_NAND
 
-#define CONFIG_CMD_MTDPARTS	/* MTD partition support */
+#ifdef CONFIG_NAND
 #define CONFIG_CMD_UBI		/* UBI-formated MTD partition support */
 #define CONFIG_CMD_UBIFS	/* Read-only UBI volume operations */
 
 #define CONFIG_RBTREE		/* required by CONFIG_CMD_UBI */
 #define CONFIG_LZO		/* required by CONFIG_CMD_UBIFS */
 
-#define CONFIG_MTD_DEVICE	/* required by CONFIG_CMD_MTDPARTS   */
 #define CONFIG_MTD_PARTITIONS	/* required for UBI partition support */
 
 /* NAND block size is 128 KiB.  Synchronize these values with
@@ -133,41 +72,18 @@
 	"256k(environ),"				\
 	"8m(linux),"					\
 	"-(rootfs)"
-#else /* CONFIG_CMD_NAND */
+#else /* CONFIG_NAND */
 #define MTDPARTS_DEFAULT
-#endif /* CONFIG_CMD_NAND */
+#endif /* CONFIG_NAND */
 
-#define CONFIG_SYS_NO_FLASH
-#define CONFIG_SYS_I2C
-#define CONFIG_SYS_OMAP24_I2C_SPEED	100000
-#define CONFIG_SYS_OMAP24_I2C_SLAVE	1
-#define CONFIG_SYS_I2C_OMAP34XX
-
-/*
- * TWL4030
- */
-#define CONFIG_TWL4030_POWER
-#define CONFIG_TWL4030_LED
-
-/*
- * Board NAND Info.
- */
+/* Board NAND Info. */
 #define CONFIG_SYS_NAND_QUIET_TEST
-#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 CONFIG_SYS_MAX_NAND_DEVICE	1	/* Max number of NAND */
-						/* devices */
 /* Environment information */
-#define CONFIG_BOOTDELAY		5
-
 #define CONFIG_EXTRA_ENV_SETTINGS \
-	"loadaddr=0x82000000\0" \
-	"dtbaddr=0x81600000\0" \
-	"dtbfile=overo.dtb\0" \
+	DEFAULT_LINUX_BOOT_ENV \
+	"fdtfile=overo.dtb\0" \
 	"bootdir=/boot\0" \
 	"bootfile=zImage\0" \
 	"usbtty=cdc_acm\0" \
@@ -210,10 +126,10 @@
 		"run mmcargs; " \
 		"bootm ${loadaddr}\0" \
 	"loadzimage=load mmc ${mmcdev}:2 ${loadaddr} ${bootdir}/${bootfile}\0" \
-	"loadfdt=load mmc ${mmcdev}:2 ${dtbaddr} ${bootdir}/${dtbfile}\0" \
+	"loadfdt=load mmc ${mmcdev}:2 ${fdtaddr} ${bootdir}/${fdtfile}\0" \
 	"mmcbootfdt=echo Booting with DT from mmc ...; " \
 		"run mmcargs; " \
-		"bootz ${loadaddr} - ${dtbaddr}\0" \
+		"bootz ${loadaddr} - ${fdtaddr}\0" \
 	"nandboot=echo Booting from nand ...; " \
 		"run nandargs; " \
 		"nand read ${loadaddr} linux; " \
@@ -236,7 +152,7 @@
 			"run mmcboot;" \
 		"fi;" \
 		"if run loadzimage; then " \
-			"if test -n $dtbfile; then " \
+			"if test -n $fdtfile; then " \
 				"if run loadfdt; then " \
 					"run mmcbootfdt;" \
 				"fi;" \
@@ -245,56 +161,23 @@
 	"fi;" \
 	"run nandboot; " \
 
-#define CONFIG_AUTO_COMPLETE	1
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_SYS_LONGHELP		/* undef to save memory */
-#define CONFIG_SYS_HUSH_PARSER		/* use "hush" command parser */
+#undef CONFIG_SYS_PROMPT
 #define CONFIG_SYS_PROMPT		"Overo # "
-#define CONFIG_SYS_CBSIZE		512	/* Console I/O Buffer Size */
-/* Print Buffer Size */
-#define CONFIG_SYS_PBSIZE		(CONFIG_SYS_CBSIZE + \
-					sizeof(CONFIG_SYS_PROMPT) + 16)
-#define CONFIG_SYS_MAXARGS		16	/* max number of command */
-						/* args */
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE
+
 /* memtest works on */
 #define CONFIG_SYS_MEMTEST_START	(OMAP34XX_SDRC_CS0)
 #define CONFIG_SYS_MEMTEST_END		(OMAP34XX_SDRC_CS0 + \
 					0x01F00000) /* 31MB */
 
-#define CONFIG_SYS_LOAD_ADDR		(OMAP34XX_SDRC_CS0) /* default load */
-								/* address */
-/*
- * OMAP3 has 12 GP timers, they can be driven by the system clock
- * (12/13/16.8/19.2/38.4MHz) or by 32KHz clock. We use 13MHz (V_SCLK).
- * This rate is divided by a local divisor.
- */
-#define CONFIG_SYS_TIMERBASE		OMAP34XX_GPT2
-#define CONFIG_SYS_PTV			2	/* Divisor: 2^(PTV+1) => 8 */
-
-/*-----------------------------------------------------------------------
- * Physical Memory Map
- */
-#define CONFIG_NR_DRAM_BANKS	2	/* CS1 may or may not be populated */
-#define PHYS_SDRAM_1		OMAP34XX_SDRC_CS0
-#define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
-
-/*-----------------------------------------------------------------------
- * FLASH and environment organization
- */
-
-/* **** PISMO SUPPORT *** */
-
+/* FLASH and environment organization */
 /* Configure the PISMO */
 #define PISMO1_NAND_SIZE		GPMC_SIZE_128M
 #define PISMO1_ONEN_SIZE		GPMC_SIZE_128M
 
-#define CONFIG_SYS_MONITOR_LEN		(256 << 10)	/* Reserve 2 sectors */
-
-#if defined(CONFIG_CMD_NAND)
+#if defined(CONFIG_NAND)
 #define CONFIG_SYS_FLASH_BASE		PISMO1_NAND_BASE
 #endif
 
@@ -310,67 +193,18 @@
 #define CONFIG_ENV_OFFSET		SMNAND_ENV_OFFSET
 #define CONFIG_ENV_ADDR			SMNAND_ENV_OFFSET
 
+/* Configure SMSC9211 ethernet */
 #if defined(CONFIG_CMD_NET)
-/*----------------------------------------------------------------------------
- * SMSC9211 Ethernet from SMSC9118 family
- *----------------------------------------------------------------------------
- */
-
 #define CONFIG_SMC911X
 #define CONFIG_SMC911X_32_BIT
 #define CONFIG_SMC911X_BASE		0x2C000000
-
 #endif /* (CONFIG_CMD_NET) */
 
-/*
- * Leave it@0x80008000 to allow booting new u-boot.bin with X-loader
- * and older u-boot.bin with the new U-Boot SPL.
- */
-#define CONFIG_SYS_TEXT_BASE		0x80008000
-#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+/* Initial RAM setup */
 #define CONFIG_SYS_INIT_RAM_ADDR	0x4020f800
 #define CONFIG_SYS_INIT_RAM_SIZE	0x800
-#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_INIT_RAM_ADDR + \
-					 CONFIG_SYS_INIT_RAM_SIZE - \
-					 GENERATED_GBL_DATA_SIZE)
-
 #define CONFIG_SYS_CACHELINE_SIZE	64
 
-/* Defines for SPL */
-#define CONFIG_SPL
-#define CONFIG_SPL_FRAMEWORK
-#define CONFIG_SPL_NAND_SIMPLE
-#define CONFIG_SPL_TEXT_BASE		0x40200800
-#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
-#define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
-
-/* move malloc and bss high to prevent clashing with the main image */
-#define CONFIG_SYS_SPL_MALLOC_START	0x87000000
-#define CONFIG_SYS_SPL_MALLOC_SIZE	0x80000
-#define CONFIG_SPL_BSS_START_ADDR	0x87080000	/* end of minimum RAM */
-#define CONFIG_SPL_BSS_MAX_SIZE		0x80000		/* 512 KB */
-
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
-#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x200 /* 256 KB */
-#define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION	1
-#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME	"u-boot.img"
-
-#define CONFIG_SPL_BOARD_INIT
-#define CONFIG_SPL_LIBCOMMON_SUPPORT
-#define CONFIG_SPL_LIBDISK_SUPPORT
-#define CONFIG_SPL_I2C_SUPPORT
-#define CONFIG_SPL_LIBGENERIC_SUPPORT
-#define CONFIG_SPL_MMC_SUPPORT
-#define CONFIG_SPL_FAT_SUPPORT
-#define CONFIG_SPL_SERIAL_SUPPORT
-#define CONFIG_SPL_NAND_SUPPORT
-#define CONFIG_SPL_NAND_BASE
-#define CONFIG_SPL_NAND_DRIVERS
-#define CONFIG_SPL_NAND_ECC
-#define CONFIG_SPL_GPIO_SUPPORT
-#define CONFIG_SPL_POWER_SUPPORT
-#define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
-
 /* NAND boot config */
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [U-Boot] [U-Boot, v2, 1/9] omap: overo: allow the use of a plain text env file instead boot scripts
  2014-05-21 21:04   ` [U-Boot] [Patch v2 1/9] omap: overo: allow the use of a plain text env file instead boot scripts Ash Charles
@ 2014-05-23 23:50     ` Tom Rini
  0 siblings, 0 replies; 35+ messages in thread
From: Tom Rini @ 2014-05-23 23:50 UTC (permalink / raw)
  To: u-boot

On Wed, May 21, 2014 at 02:04:47PM -0700, Ash Charles wrote:

> Adapted from d70f5480 described below.
> 
>     commit d70f54808dfa83b574e1239c3eccbcf3317343e1
>     Author: Javier Martinez Canillas <javier@dowhile0.org>
>     Date:   Mon Jan 7 03:51:20 2013 +0000
> 
>     omap4: allow the use of a plain text env file instead boot scripts
> 
>     For production systems it is better to use script images since
>     they are protected by checksums and carry valuable information like
>     name and timestamp. Also, you can't validate the content passed to
>     env import.
> 
>     But for development, it is easier to use the env import command and
>     plain text files instead of script-images.
> 
>     Since both OMAP4 supported boards (Panda and TI SDP4430) are used
>     primarily for development, this patch allows U-Boot to load env var
>     from a text file in case that an boot.scr script-image is not present.
> 
>     The variable uenvcmd (if existent) will be executed (using run) after
>     uEnv.txt was loaded. If uenvcmd doesn't exist the default boot sequence
>     will be started.
> 
>     Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>     Acked-by: Nishanth Menon <nm@ti.com>
> 
> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
> Tested-by: Ash Charles <ash@gumstix.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/0e7e1965/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [U-Boot, v2, 2/9] OMAP3: overo: add command support for mtd and ubi
  2014-05-21 21:04   ` [U-Boot] [Patch v2 2/9] OMAP3: overo: add command support for mtd and ubi Ash Charles
@ 2014-05-23 23:50     ` Tom Rini
  0 siblings, 0 replies; 35+ messages in thread
From: Tom Rini @ 2014-05-23 23:50 UTC (permalink / raw)
  To: u-boot

On Wed, May 21, 2014 at 02:04:48PM -0700, Ash Charles wrote:

> The NAND linux partition format default was changed from jffs2 to ubi in
> 254973e6df0e48f1a72b67905185c774dcd9f394 but the corresponding commands were
> not enabled.
> 
> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
> Tested-by: Ash Charles <ash@gumstix.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/fcf8f1df/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [U-Boot, v2, 3/9] OMAP3: overo: increase linux partition to 8 MiB
  2014-05-21 21:04   ` [U-Boot] [Patch v2 3/9] OMAP3: overo: increase linux partition to 8 MiB Ash Charles
@ 2014-05-23 23:51     ` Tom Rini
  0 siblings, 0 replies; 35+ messages in thread
From: Tom Rini @ 2014-05-23 23:51 UTC (permalink / raw)
  To: u-boot

On Wed, May 21, 2014 at 02:04:49PM -0700, Ash Charles wrote:

> From: "Peter A. Bigot" <pab@pabigot.com>
> 
> Linux kernel at version 3.5 is about 3.5 MiB; test kernels for 3.10 exceed 4
> MiB.  Prepare for future upgrades by increasing the NAND partition now.
> 
> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
> Tested-by: Ash Charles <ash@gumstix.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/73dee24b/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [U-Boot, v2, 4/9] OMAP3: overo: eliminate hard-coded partition offsets
  2014-05-21 21:04   ` [U-Boot] [Patch v2 4/9] OMAP3: overo: eliminate hard-coded partition offsets Ash Charles
@ 2014-05-23 23:51     ` Tom Rini
  0 siblings, 0 replies; 35+ messages in thread
From: Tom Rini @ 2014-05-23 23:51 UTC (permalink / raw)
  To: u-boot

On Wed, May 21, 2014 at 02:04:50PM -0700, Ash Charles wrote:

> The linux kernel is at nand0,3 using the current layout, but is best
> accessed through the partition label "linux".  Since CONFIG_CMD_MTDPARTS is
> defined the CONFIG_JFFS2 settings are unreferenced; use "setenv partition
> rootfs" to set the default mtd partition for jffs2.
> 
> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
> Tested-by: Ash Charles <ash@gumstix.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/99a8fb7b/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [U-Boot, v2, 5/9] arm: omap3: Fix omap3_overo SPL boot hangup
  2014-05-21 21:04   ` [U-Boot] [Patch v2 5/9] arm: omap3: Fix omap3_overo SPL boot hangup Ash Charles
@ 2014-05-23 23:51     ` Tom Rini
  0 siblings, 0 replies; 35+ messages in thread
From: Tom Rini @ 2014-05-23 23:51 UTC (permalink / raw)
  To: u-boot

On Wed, May 21, 2014 at 02:04:51PM -0700, Ash Charles wrote:

> Patch f33b9bd3
> [arm: omap3: Enable clocks for peripherals only if they are used]
> breaks SPL booting on Overo. Since some gpio inputs are
> read to detect the board revision. But with this patch above, the
> clocks to the GPIO subsystems are not enabled per default any more.
> The GPIO banks need to be configured specifically now.
> 
> Signed-off-by: Ash Charles <ashcharles@gmail.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/fe0f93f0/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [U-Boot, v2, 6/9, omap3, overo] Add Board Revision for Wireless chip
  2014-05-21 21:04   ` [U-Boot] [Patch v2 6/9] [omap3][overo] Add Board Revision for Wireless chip Ash Charles
@ 2014-05-23 23:51     ` Tom Rini
  0 siblings, 0 replies; 35+ messages in thread
From: Tom Rini @ 2014-05-23 23:51 UTC (permalink / raw)
  To: u-boot

On Wed, May 21, 2014 at 02:04:52PM -0700, Ash Charles wrote:

> Gumstix Overo COMs with board revision 0x4 use a different Wifi and
> Bluetooth module: Wi2Wi's W2CBW0015.  No other code changes are required
> in u-boot---just handling of this particular board revision.
> 
> Signed-off-by: Ash Charles <ashcharles@gmail.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/0d60e6ae/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [U-Boot, v2, 7/9] OMAP3: overo: add some Gumstix expansion boards
  2014-05-21 21:04   ` [U-Boot] [Patch v2 7/9] OMAP3: overo: add some Gumstix expansion boards Ash Charles
@ 2014-05-23 23:51     ` Tom Rini
  0 siblings, 0 replies; 35+ messages in thread
From: Tom Rini @ 2014-05-23 23:51 UTC (permalink / raw)
  To: u-boot

On Wed, May 21, 2014 at 02:04:53PM -0700, Ash Charles wrote:

> Add EEPROM ID switches for Alto35, Arbor43C, Stagecoach, Thumbo, and
> Turtlecore Gumstix Overo expansion boards.
> 
> Signed-off-by: Ash Charles <ash@gumstix.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/56cadc32/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [U-Boot, v2, 8/9, omap3, overo] Allow overo to boot with device tree
  2014-05-21 21:04   ` [U-Boot] [Patch v2 8/9] [omap3][overo] Allow overo to boot with device tree Ash Charles
@ 2014-05-23 23:51     ` Tom Rini
  0 siblings, 0 replies; 35+ messages in thread
From: Tom Rini @ 2014-05-23 23:51 UTC (permalink / raw)
  To: u-boot

On Wed, May 21, 2014 at 02:04:54PM -0700, Ash Charles wrote:

> Update the board configuration for Gumstix Overo. In particular,
> add support for zImage and DTB files on boot.
> 
> Signed-off-by: Ash Charles <ashcharles@gmail.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/bfd999af/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [U-Boot] [U-Boot, v2, 9/9] omap3: overo: Use common configurations for Overo
  2014-05-21 21:04   ` [U-Boot] [Patch v2 9/9] omap3: overo: Use common configurations for Overo Ash Charles
@ 2014-05-23 23:51     ` Tom Rini
  0 siblings, 0 replies; 35+ messages in thread
From: Tom Rini @ 2014-05-23 23:51 UTC (permalink / raw)
  To: u-boot

On Wed, May 21, 2014 at 02:04:55PM -0700, Ash Charles wrote:

> Clean-up the board configuration file for the Gumstix Overo board by
> including common omap3 definitions from ti_omap3_common.h as suggested
> here [1].
> 
> [1] http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/185960
> 
> Signed-off-by: Ash Charles <ashcharles@gmail.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/9b849b64/attachment.pgp>

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2014-05-23 23:51 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-29 23:15 [U-Boot] [PATCH 0/8] omap3: overo: update board data Ash Charles
2014-04-29 23:15 ` [U-Boot] [PATCH 1/8] omap: overo: allow the use of a plain text env file instead boot scripts Ash Charles
2014-04-29 23:15 ` [U-Boot] [PATCH 2/8] OMAP3: overo: add command support for mtd and ubi Ash Charles
2014-04-29 23:15 ` [U-Boot] [PATCH 3/8] OMAP3: overo: increase linux partition to 8 MiB Ash Charles
2014-04-29 23:15 ` [U-Boot] [PATCH 4/8] OMAP3: overo: eliminate hard-coded partition offsets Ash Charles
2014-04-29 23:15 ` [U-Boot] [PATCH 5/8] arm: omap3: Fix omap3_overo SPL boot hangup Ash Charles
2014-04-29 23:15 ` [U-Boot] [PATCH 6/8] [omap3][overo] Add Board Revision for Wireless chip Ash Charles
2014-04-29 23:15 ` [U-Boot] [PATCH 7/8] OMAP3: overo: add some Gumstix expansion boards Ash Charles
2014-04-29 23:15 ` [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree Ash Charles
2014-05-06 18:14   ` Tom Rini
2014-05-06 23:56     ` Ash Charles
2014-05-07 12:40       ` Tom Rini
2014-05-07 17:45         ` Ash Charles
2014-05-07 17:47           ` [U-Boot] [PATCH] omap3: overo: Use common configurations for Overo Ash Charles
2014-05-20 17:34   ` [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree Stefan Herbrechtsmeier
2014-05-21 20:16     ` Ash Charles
2014-05-21 21:04 ` [U-Boot] [Patch v2 0/9] omap3: overo: update board data Ash Charles
2014-05-21 21:04   ` [U-Boot] [Patch v2 1/9] omap: overo: allow the use of a plain text env file instead boot scripts Ash Charles
2014-05-23 23:50     ` [U-Boot] [U-Boot, v2, " Tom Rini
2014-05-21 21:04   ` [U-Boot] [Patch v2 2/9] OMAP3: overo: add command support for mtd and ubi Ash Charles
2014-05-23 23:50     ` [U-Boot] [U-Boot, v2, " Tom Rini
2014-05-21 21:04   ` [U-Boot] [Patch v2 3/9] OMAP3: overo: increase linux partition to 8 MiB Ash Charles
2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini
2014-05-21 21:04   ` [U-Boot] [Patch v2 4/9] OMAP3: overo: eliminate hard-coded partition offsets Ash Charles
2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini
2014-05-21 21:04   ` [U-Boot] [Patch v2 5/9] arm: omap3: Fix omap3_overo SPL boot hangup Ash Charles
2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini
2014-05-21 21:04   ` [U-Boot] [Patch v2 6/9] [omap3][overo] Add Board Revision for Wireless chip Ash Charles
2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, 6/9, omap3, overo] " Tom Rini
2014-05-21 21:04   ` [U-Boot] [Patch v2 7/9] OMAP3: overo: add some Gumstix expansion boards Ash Charles
2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini
2014-05-21 21:04   ` [U-Boot] [Patch v2 8/9] [omap3][overo] Allow overo to boot with device tree Ash Charles
2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, 8/9, omap3, overo] " Tom Rini
2014-05-21 21:04   ` [U-Boot] [Patch v2 9/9] omap3: overo: Use common configurations for Overo Ash Charles
2014-05-23 23:51     ` [U-Boot] [U-Boot, v2, " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.