All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCHv2 0/2] ARM: OMAP3: Revamp IGEP default configuration
@ 2011-02-24 11:52 Enric Balletbo i Serra
  2011-02-24 11:52 ` [U-Boot] [PATCHv2 1/2] ARM: OMAP3: Revamp IGEP v2 " Enric Balletbo i Serra
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Enric Balletbo i Serra @ 2011-02-24 11:52 UTC (permalink / raw)
  To: u-boot

Hi,

This is the second version of patch series to revamp the default configuration
for all IGEP boards. The purpose of these patches is use the boot script used
in others OMAP3-based boards.

Tested on IGEP v2 board and IGEP module.

* changes since version 1:
  * Fix nandboot: should be 'onenand read' instead of 'nand read'
  * Also revamp default configuration on IGEP module

Enric Balletbo i Serra (2):
  ARM: OMAP3: Revamp IGEP v2 default configuration
  ARM: OMAP3: Revamp IGEP module default configuration

 include/configs/igep0020.h |   57 ++++++++++++++++++++++++++++++++++++++++----
 include/configs/igep0030.h |   57 ++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 104 insertions(+), 10 deletions(-)

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

* [U-Boot] [PATCHv2 1/2] ARM: OMAP3: Revamp IGEP v2 default configuration
  2011-02-24 11:52 [U-Boot] [PATCHv2 0/2] ARM: OMAP3: Revamp IGEP default configuration Enric Balletbo i Serra
@ 2011-02-24 11:52 ` Enric Balletbo i Serra
  2011-02-24 11:52 ` [U-Boot] [PATCHv2 2/2] ARM: OMAP3: Revamp IGEP module " Enric Balletbo i Serra
  2011-04-19 13:17 ` [U-Boot] [PATCHv2 0/2] ARM: OMAP3: Revamp IGEP " Paulraj, Sandeep
  2 siblings, 0 replies; 4+ messages in thread
From: Enric Balletbo i Serra @ 2011-02-24 11:52 UTC (permalink / raw)
  To: u-boot

The default IGEP configuration doesn't do anything useful; using some
boot.scr search logic like BeagleBoard is much more useful.

Signed-off-by: Lo?c Minier <loic.minier@linaro.org>
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
---
 include/configs/igep0020.h |   57 ++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 52 insertions(+), 5 deletions(-)

diff --git a/include/configs/igep0020.h b/include/configs/igep0020.h
index c19ecc0..fc15a9c 100644
--- a/include/configs/igep0020.h
+++ b/include/configs/igep0020.h
@@ -129,14 +129,61 @@
  */
 #define CONFIG_TWL4030_POWER		1
 
-/* Environment information */
-#define CONFIG_BOOTCOMMAND \
-	"mmc init 0 ; fatload mmc 0 0x80000000 setup.ini ; source \0"
-
 #define CONFIG_BOOTDELAY		3
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
-	"usbtty=cdc_acm\0"
+	"usbtty=cdc_acm\0" \
+	"loadaddr=0x82000000\0" \
+	"usbtty=cdc_acm\0" \
+	"console=ttyS2,115200n8\0" \
+	"mpurate=500\0" \
+	"vram=12M\0" \
+	"dvimode=1024x768MR-16 at 60\0" \
+	"defaultdisplay=dvi\0" \
+	"mmcdev=0\0" \
+	"mmcroot=/dev/mmcblk0p2 rw\0" \
+	"mmcrootfstype=ext3 rootwait\0" \
+	"nandroot=/dev/mtdblock4 rw\0" \
+	"nandrootfstype=jffs2\0" \
+	"mmcargs=setenv bootargs console=${console} " \
+		"mpurate=${mpurate} " \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${mmcroot} " \
+		"rootfstype=${mmcrootfstype}\0" \
+	"nandargs=setenv bootargs console=${console} " \
+		"mpurate=${mpurate} " \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${nandroot} " \
+		"rootfstype=${nandrootfstype}\0" \
+	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+	"bootscript=echo Running bootscript from mmc ...; " \
+		"source ${loadaddr}\0" \
+	"loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
+	"mmcboot=echo Booting from mmc ...; " \
+		"run mmcargs; " \
+		"bootm ${loadaddr}\0" \
+	"nandboot=echo Booting from onenand ...; " \
+		"run nandargs; " \
+		"onenand read ${loadaddr} 280000 400000; " \
+		"bootm ${loadaddr}\0" \
+
+#define CONFIG_BOOTCOMMAND \
+	"if mmc rescan ${mmcdev}; then " \
+		"if run loadbootscript; then " \
+			"run bootscript; " \
+		"else " \
+			"if run loaduimage; then " \
+				"run mmcboot; " \
+			"else run nandboot; " \
+			"fi; " \
+		"fi; " \
+	"else run nandboot; fi"
 
 #define CONFIG_AUTO_COMPLETE		1
 
-- 
1.7.0.4

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

* [U-Boot] [PATCHv2 2/2] ARM: OMAP3: Revamp IGEP module default configuration
  2011-02-24 11:52 [U-Boot] [PATCHv2 0/2] ARM: OMAP3: Revamp IGEP default configuration Enric Balletbo i Serra
  2011-02-24 11:52 ` [U-Boot] [PATCHv2 1/2] ARM: OMAP3: Revamp IGEP v2 " Enric Balletbo i Serra
@ 2011-02-24 11:52 ` Enric Balletbo i Serra
  2011-04-19 13:17 ` [U-Boot] [PATCHv2 0/2] ARM: OMAP3: Revamp IGEP " Paulraj, Sandeep
  2 siblings, 0 replies; 4+ messages in thread
From: Enric Balletbo i Serra @ 2011-02-24 11:52 UTC (permalink / raw)
  To: u-boot

The default IGEP configuration doesn't do anything useful; using some
boot.scr search logic like BeagleBoard is much more useful.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
---
 include/configs/igep0030.h |   57 ++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 52 insertions(+), 5 deletions(-)

diff --git a/include/configs/igep0030.h b/include/configs/igep0030.h
index 1325bfa..713b1b9 100644
--- a/include/configs/igep0030.h
+++ b/include/configs/igep0030.h
@@ -127,14 +127,61 @@
  */
 #define CONFIG_TWL4030_POWER		1
 
-/* Environment information */
-#define CONFIG_BOOTCOMMAND \
-	"mmc init 0 ; fatload mmc 0 0x80000000 setup.ini ; source \0"
-
 #define CONFIG_BOOTDELAY		3
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
-	"usbtty=cdc_acm\0"
+	"usbtty=cdc_acm\0" \
+	"loadaddr=0x82000000\0" \
+	"usbtty=cdc_acm\0" \
+	"console=ttyS2,115200n8\0" \
+	"mpurate=500\0" \
+	"vram=12M\0" \
+	"dvimode=1024x768MR-16 at 60\0" \
+	"defaultdisplay=dvi\0" \
+	"mmcdev=0\0" \
+	"mmcroot=/dev/mmcblk0p2 rw\0" \
+	"mmcrootfstype=ext3 rootwait\0" \
+	"nandroot=/dev/mtdblock4 rw\0" \
+	"nandrootfstype=jffs2\0" \
+	"mmcargs=setenv bootargs console=${console} " \
+		"mpurate=${mpurate} " \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${mmcroot} " \
+		"rootfstype=${mmcrootfstype}\0" \
+	"nandargs=setenv bootargs console=${console} " \
+		"mpurate=${mpurate} " \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${nandroot} " \
+		"rootfstype=${nandrootfstype}\0" \
+	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+	"bootscript=echo Running bootscript from mmc ...; " \
+		"source ${loadaddr}\0" \
+	"loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
+	"mmcboot=echo Booting from mmc ...; " \
+		"run mmcargs; " \
+		"bootm ${loadaddr}\0" \
+	"nandboot=echo Booting from onenand ...; " \
+		"run nandargs; " \
+		"onenand read ${loadaddr} 280000 400000; " \
+		"bootm ${loadaddr}\0" \
+
+#define CONFIG_BOOTCOMMAND \
+	"if mmc rescan ${mmcdev}; then " \
+		"if run loadbootscript; then " \
+			"run bootscript; " \
+		"else " \
+			"if run loaduimage; then " \
+				"run mmcboot; " \
+			"else run nandboot; " \
+			"fi; " \
+		"fi; " \
+	"else run nandboot; fi"
 
 #define CONFIG_AUTO_COMPLETE		1
 
-- 
1.7.0.4

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

* [U-Boot] [PATCHv2 0/2] ARM: OMAP3: Revamp IGEP default configuration
  2011-02-24 11:52 [U-Boot] [PATCHv2 0/2] ARM: OMAP3: Revamp IGEP default configuration Enric Balletbo i Serra
  2011-02-24 11:52 ` [U-Boot] [PATCHv2 1/2] ARM: OMAP3: Revamp IGEP v2 " Enric Balletbo i Serra
  2011-02-24 11:52 ` [U-Boot] [PATCHv2 2/2] ARM: OMAP3: Revamp IGEP module " Enric Balletbo i Serra
@ 2011-04-19 13:17 ` Paulraj, Sandeep
  2 siblings, 0 replies; 4+ messages in thread
From: Paulraj, Sandeep @ 2011-04-19 13:17 UTC (permalink / raw)
  To: u-boot



> 
> Hi,
> 
> This is the second version of patch series to revamp the default
> configuration
> for all IGEP boards. The purpose of these patches is use the boot script
> used
> in others OMAP3-based boards.
> 
> Tested on IGEP v2 board and IGEP module.
> 
> * changes since version 1:
>   * Fix nandboot: should be 'onenand read' instead of 'nand read'
>   * Also revamp default configuration on IGEP module
> 
> Enric Balletbo i Serra (2):
>   ARM: OMAP3: Revamp IGEP v2 default configuration
>   ARM: OMAP3: Revamp IGEP module default configuration

Thanks

Pushed to u-boot-ti

--Sandeep

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

end of thread, other threads:[~2011-04-19 13:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-24 11:52 [U-Boot] [PATCHv2 0/2] ARM: OMAP3: Revamp IGEP default configuration Enric Balletbo i Serra
2011-02-24 11:52 ` [U-Boot] [PATCHv2 1/2] ARM: OMAP3: Revamp IGEP v2 " Enric Balletbo i Serra
2011-02-24 11:52 ` [U-Boot] [PATCHv2 2/2] ARM: OMAP3: Revamp IGEP module " Enric Balletbo i Serra
2011-04-19 13:17 ` [U-Boot] [PATCHv2 0/2] ARM: OMAP3: Revamp IGEP " Paulraj, Sandeep

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.