Skip to contentSkip to conversation

OMAP3: Update Overo and Beagle environment

PATCH New Dirk Behme 4 participants 10 messages Sep 25, 2009 – Oct 10, 2009

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes.

---
 include/configs/omap3_beagle.h |   27 +++++++++++++++++++--------
 include/configs/omap3_overo.h  |   27 +++++++++++++++++++--------
 2 files changed, 38 insertions(+), 16 deletions(-)
include/configs/omap3_overo.h +19 -8
Index: u-boot-ti/include/configs/omap3_overo.h
===================================================================
@@ -155,16 +155,27 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
 	"console=ttyS2,115200n8\0" \
-	"videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
-	"videospec=omapfb:vram:2M,vram:4M\0" \
+	"vram=12M\0" \
+	"dvimode=1024x768MR-16 at 60\0" \
+	"defaultdisplay=dvi\0" \
+	"mmcroot=/dev/mmcblk0p2 rw\0" \
+	"mmcrootfstype=ext3 rootwait\0" \
+	"nandroot=/dev/mtdblock4 rw\0" \
+	"nandrootfstype=jffs2\0" \
 	"mmcargs=setenv bootargs console=${console} " \
-		"video=${videospec},mode:${videomode} " \
-		"root=/dev/mmcblk0p2 rw " \
-		"rootfstype=ext3 rootwait\0" \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${mmcroot} " \
+		"rootfstype=${mmcrootfstype}\0" \
 	"nandargs=setenv bootargs console=${console} " \
-		"video=${videospec},mode:${videomode} " \
-		"root=/dev/mtdblock4 rw " \
-		"rootfstype=jffs2\0" \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${nandroot} " \
+		"rootfstype=${nandrootfstype}\0" \
 	"loadbootscript=fatload mmc 0 ${loadaddr} boot.scr\0" \
 	"bootscript=echo Running bootscript from mmc ...; " \
 		"source ${loadaddr}\0" \
include/configs/omap3_beagle.h +19 -8
Index: u-boot-ti/include/configs/omap3_beagle.h
===================================================================
@@ -164,16 +164,27 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
 	"console=ttyS2,115200n8\0" \
-	"videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
-	"videospec=omapfb:vram:2M,vram:4M\0" \
+	"vram=12M\0" \
+	"dvimode=1024x768MR-16 at 60\0" \
+	"defaultdisplay=dvi\0" \
+	"mmcroot=/dev/mmcblk0p2 rw\0" \
+	"mmcrootfstype=ext3 rootwait\0" \
+	"nandroot=/dev/mtdblock4 rw\0" \
+	"nandrootfstype=jffs2\0" \
 	"mmcargs=setenv bootargs console=${console} " \
-		"video=${videospec},mode:${videomode} " \
-		"root=/dev/mmcblk0p2 rw " \
-		"rootfstype=ext3 rootwait\0" \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${mmcroot} " \
+		"rootfstype=${mmcrootfstype}\0" \
 	"nandargs=setenv bootargs console=${console} " \
-		"video=${videospec},mode:${videomode} " \
-		"root=/dev/mtdblock4 rw " \
-		"rootfstype=jffs2\0" \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${nandroot} " \
+		"rootfstype=${nandrootfstype}\0" \
 	"loadbootscript=fatload mmc 0 ${loadaddr} boot.scr\0" \
 	"bootscript=echo Running bootscript from mmc ...; " \
 		"source ${loadaddr}\0" \
#1 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

Quoted 27 lines · Dirk Behme

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes.

---
 include/configs/omap3_beagle.h |   27 +++++++++++++++++++--------
 include/configs/omap3_overo.h  |   27 +++++++++++++++++++--------
 2 files changed, 38 insertions(+), 16 deletions(-)

Index: u-boot-ti/include/configs/omap3_overo.h
===================================================================

include/configs/omap3_overo.h +4 -2
@@ -155,16 +155,27 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
 	"console=ttyS2,115200n8\0" \
-	"videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
-	"videospec=omapfb:vram:2M,vram:4M\0" \
+	"vram=12M\0" \
+	"dvimode=1024x768MR-16 at 60\0" \
+	"defaultdisplay=dvi\0" \
+	"mmcroot=/dev/mmcblk0p2 rw\0" \

include/configs/omap3_overo.h line 168

Quoted 10 lines
include/configs/omap3_overo.h +6 -3
+	"mmcrootfstype=ext3 rootwait\0" \
+	"nandroot=/dev/mtdblock4 rw\0" \
+	"nandrootfstype=jffs2\0" \
 	"mmcargs=setenv bootargs console=${console} " \
-		"video=${videospec},mode:${videomode} " \
-		"root=/dev/mmcblk0p2 rw " \
-		"rootfstype=ext3 rootwait\0" \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \

Is setting the debug option needed ?
This would seem useful (from the name) only to developers

include/configs/omap3_overo.h line 176

Quoted 11 lines
include/configs/omap3_overo.h +7 -3
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${mmcroot} " \
+		"rootfstype=${mmcrootfstype}\0" \
 	"nandargs=setenv bootargs console=${console} " \
-		"video=${videospec},mode:${videomode} " \
-		"root=/dev/mtdblock4 rw " \
-		"rootfstype=jffs2\0" \
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapfb.debug=y " \
+		"omapdss.def_disp=${defaultdisplay} " \

From vram to omapdss.def_disp are common for nand and mmc.
These should be changed to something like

"videoargs= .... "

Similar for beagle.

Tom

author
#2 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

Steve,

Quoted 54 lines · Tom
Quoted 27 lines · Dirk Behme

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes.

---
 include/configs/omap3_beagle.h |   27 +++++++++++++++++++--------
 include/configs/omap3_overo.h  |   27 +++++++++++++++++++--------
 2 files changed, 38 insertions(+), 16 deletions(-)

Index: u-boot-ti/include/configs/omap3_overo.h
===================================================================

include/configs/omap3_overo.h +4 -2
@@ -155,16 +155,27 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
     "loadaddr=0x82000000\0" \
     "console=ttyS2,115200n8\0" \
-    "videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
-    "videospec=omapfb:vram:2M,vram:4M\0" \
+    "vram=12M\0" \
+    "dvimode=1024x768MR-16 at 60\0" \
+    "defaultdisplay=dvi\0" \
+    "mmcroot=/dev/mmcblk0p2 rw\0" \

include/configs/omap3_overo.h line 168

Quoted 10 lines
include/configs/omap3_overo.h +6 -3
+    "mmcrootfstype=ext3 rootwait\0" \
+    "nandroot=/dev/mtdblock4 rw\0" \
+    "nandrootfstype=jffs2\0" \
     "mmcargs=setenv bootargs console=${console} " \
-        "video=${videospec},mode:${videomode} " \
-        "root=/dev/mmcblk0p2 rw " \
-        "rootfstype=ext3 rootwait\0" \
+        "vram=${vram} " \
+        "omapfb.mode=dvi:${dvimode} " \
+        "omapfb.debug=y " \

Is setting the debug option needed ?
This would seem useful (from the name) only to developers

include/configs/omap3_overo.h line 176

Quoted 11 lines
include/configs/omap3_overo.h +7 -3
+        "omapdss.def_disp=${defaultdisplay} " \
+        "root=${mmcroot} " \
+        "rootfstype=${mmcrootfstype}\0" \
     "nandargs=setenv bootargs console=${console} " \
-        "video=${videospec},mode:${videomode} " \
-        "root=/dev/mtdblock4 rw " \
-        "rootfstype=jffs2\0" \
+        "vram=${vram} " \
+        "omapfb.mode=dvi:${dvimode} " \
+        "omapfb.debug=y " \
+        "omapdss.def_disp=${defaultdisplay} " \
Quoted 6 lines

From vram to omapdss.def_disp are common for nand and mmc.
These should be changed to something like

"videoargs= .... "

Similar for beagle.

Any opinion on this and above (omapfb.debug)?

Regards

Dirk

#3 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

In reply to Tom
Quoted 33 lines · Tom
Quoted 32 lines · Dirk Behme

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes.

---
?include/configs/omap3_beagle.h | ? 27 +++++++++++++++++++-------- ?include/configs/omap3_overo.h ?| ? 27 +++++++++++++++++++-------- ?2 files changed, 38 insertions(+), 16 deletions(-)

Index: u-boot-ti/include/configs/omap3_overo.h
===================================================================

include/configs/omap3_overo.h +7 -3
@@ -155,16 +155,27 @@
 ?#define CONFIG_EXTRA_ENV_SETTINGS \
 ? ? ? "loadaddr=0x82000000\0" \
 ? ? ? "console=ttyS2,115200n8\0" \
- ? ? "videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
- ? ? "videospec=omapfb:vram:2M,vram:4M\0" \
+ ? ? "vram=12M\0" \
+ ? ? "dvimode=1024x768MR-16 at 60\0" \
+ ? ? "defaultdisplay=dvi\0" \
+ ? ? "mmcroot=/dev/mmcblk0p2 rw\0" \
+ ? ? "mmcrootfstype=ext3 rootwait\0" \
+ ? ? "nandroot=/dev/mtdblock4 rw\0" \
+ ? ? "nandrootfstype=jffs2\0" \
 ? ? ? "mmcargs=setenv bootargs console=${console} " \
- ? ? ? ? ? ? "video=${videospec},mode:${videomode} " \
Quoted 8 lines

include/configs/omap3_overo.h line 168

Quoted 5 lines
include/configs/omap3_overo.h +3 -2
- ? ? ? ? ? ? "root=/dev/mmcblk0p2 rw " \
- ? ? ? ? ? ? "rootfstype=ext3 rootwait\0" \
+ ? ? ? ? ? ? "vram=${vram} " \
+ ? ? ? ? ? ? "omapfb.mode=dvi:${dvimode} " \
+ ? ? ? ? ? ? "omapfb.debug=y " \

Is setting the debug option needed ?
This would seem useful (from the name) only to developers

DSS2 is still under active development. This setting makes user support easier since boot logs contain needed debug info.

Quoted 13 lines

include/configs/omap3_overo.h line 176

Quoted 12 lines
include/configs/omap3_overo.h +7 -3
+ ? ? ? ? ? ? "omapdss.def_disp=${defaultdisplay} " \
+ ? ? ? ? ? ? "root=${mmcroot} " \
+ ? ? ? ? ? ? "rootfstype=${mmcrootfstype}\0" \
 ? ? ? "nandargs=setenv bootargs console=${console} " \
- ? ? ? ? ? ? "video=${videospec},mode:${videomode} " \
- ? ? ? ? ? ? "root=/dev/mtdblock4 rw " \
- ? ? ? ? ? ? "rootfstype=jffs2\0" \
+ ? ? ? ? ? ? "vram=${vram} " \
+ ? ? ? ? ? ? "omapfb.mode=dvi:${dvimode} " \
+ ? ? ? ? ? ? "omapfb.debug=y " \
+ ? ? ? ? ? ? "omapdss.def_disp=${defaultdisplay} " \
Quoted 6 lines

?From vram to omapdss.def_disp are common for nand and mmc. These should be changed to something like

"videoargs= .... "

Similar for beagle.

I'm not sure exactly what you are suggesting. The current setup is tailored to make user support easier.

If someone wants to use the 4.3" LCD display option, you tell them to simply type:

setenv defaultdisplay=lcd43
saveenv

Or if they want to change the DVI resolution to 640 x 480:

dvimode=640x480MR-16 at 60
saveenv

Perhaps I'm jut not understanding your suggestion. Could you give more detail?

Steve

Quoted 7 lines

Tom
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#4 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

Quoted 42 lines · Steve Sakoman
Quoted 32 lines · Tom
Quoted 31 lines · Dirk Behme

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes.

---
 include/configs/omap3_beagle.h |   27 +++++++++++++++++++--------
 include/configs/omap3_overo.h  |   27 +++++++++++++++++++--------
 2 files changed, 38 insertions(+), 16 deletions(-)

Index: u-boot-ti/include/configs/omap3_overo.h
===================================================================

include/configs/omap3_overo.h +7 -2
@@ -155,16 +155,27 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
      "loadaddr=0x82000000\0" \
      "console=ttyS2,115200n8\0" \
-     "videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
-     "videospec=omapfb:vram:2M,vram:4M\0" \
+     "vram=12M\0" \
+     "dvimode=1024x768MR-16 at 60\0" \
+     "defaultdisplay=dvi\0" \
+     "mmcroot=/dev/mmcblk0p2 rw\0" \
+     "mmcrootfstype=ext3 rootwait\0" \
+     "nandroot=/dev/mtdblock4 rw\0" \
+     "nandrootfstype=jffs2\0" \
      "mmcargs=setenv bootargs console=${console} " \
Quoted 8 lines

include/configs/omap3_overo.h line 168

Quoted 6 lines
include/configs/omap3_overo.h +3 -3
-             "video=${videospec},mode:${videomode} " \
-             "root=/dev/mmcblk0p2 rw " \
-             "rootfstype=ext3 rootwait\0" \
+             "vram=${vram} " \
+             "omapfb.mode=dvi:${dvimode} " \
+             "omapfb.debug=y " \

Is setting the debug option needed ?
This would seem useful (from the name) only to developers

Quoted 3 lines

DSS2 is still under active development. This setting makes user support easier since boot logs contain needed debug info.

Or it turns them all into beta-testers.
It is a toss up if this is a good thing
I will go with it.
OK.

Quoted 18 lines
Quoted 11 lines

include/configs/omap3_overo.h line 176

Quoted 11 lines
include/configs/omap3_overo.h +7 -3
+             "omapdss.def_disp=${defaultdisplay} " \
+             "root=${mmcroot} " \
+             "rootfstype=${mmcrootfstype}\0" \
      "nandargs=setenv bootargs console=${console} " \
-             "video=${videospec},mode:${videomode} " \
-             "root=/dev/mtdblock4 rw " \
-             "rootfstype=jffs2\0" \
+             "vram=${vram} " \
+             "omapfb.mode=dvi:${dvimode} " \
+             "omapfb.debug=y " \
+             "omapdss.def_disp=${defaultdisplay} " \
Quoted 6 lines

From vram to omapdss.def_disp are common for nand and mmc.
These should be changed to something like

"videoargs= .... "

Similar for beagle.

Quoted 9 lines

I'm not sure exactly what you are suggesting. The current setup is tailored to make user support easier.

If someone wants to use the 4.3" LCD display option, you tell them to simply type:

setenv defaultdisplay=lcd43
saveenv

Yes I see how just a single video_args= would not give you this flexiblity. A lesser way to do this would be to that you may want to do is video_args="${defaultdisplay} ${dvimode} .. "

Tom

#5 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

Quoted 47 lines · Tom
Quoted 46 lines · Steve Sakoman
Quoted 43 lines · Tom
Quoted 28 lines · Dirk Behme

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes.

---
?include/configs/omap3_beagle.h | ? 27 +++++++++++++++++++-------- ?include/configs/omap3_overo.h ?| ? 27 +++++++++++++++++++-------- ?2 files changed, 38 insertions(+), 16 deletions(-)

Index: u-boot-ti/include/configs/omap3_overo.h
===================================================================

include/configs/omap3_overo.h +4 -2
@@ -155,16 +155,27 @@
 ?#define CONFIG_EXTRA_ENV_SETTINGS \
 ? ? ?"loadaddr=0x82000000\0" \
 ? ? ?"console=ttyS2,115200n8\0" \
- ? ? "videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
- ? ? "videospec=omapfb:vram:2M,vram:4M\0" \
+ ? ? "vram=12M\0" \
+ ? ? "dvimode=1024x768MR-16 at 60\0" \
+ ? ? "defaultdisplay=dvi\0" \
+ ? ? "mmcroot=/dev/mmcblk0p2 rw\0" \

include/configs/omap3_overo.h line 168

Quoted 10 lines
include/configs/omap3_overo.h +6 -3
+ ? ? "mmcrootfstype=ext3 rootwait\0" \
+ ? ? "nandroot=/dev/mtdblock4 rw\0" \
+ ? ? "nandrootfstype=jffs2\0" \
 ? ? ?"mmcargs=setenv bootargs console=${console} " \
- ? ? ? ? ? ? "video=${videospec},mode:${videomode} " \
- ? ? ? ? ? ? "root=/dev/mmcblk0p2 rw " \
- ? ? ? ? ? ? "rootfstype=ext3 rootwait\0" \
+ ? ? ? ? ? ? "vram=${vram} " \
+ ? ? ? ? ? ? "omapfb.mode=dvi:${dvimode} " \
+ ? ? ? ? ? ? "omapfb.debug=y " \

Is setting the debug option needed ?
This would seem useful (from the name) only to developers

Quoted 8 lines
Quoted 3 lines

DSS2 is still under active development. ?This setting makes user support easier since boot logs contain needed debug info.

Or it turns them all into beta-testers.
It is a toss up if this is a good thing
I will go with it.
OK.

Heh, like it or not we are all beta testing DSS2! It is so much better than the old DSS code that I want to do everything possible to help Tomi get it accepted upstream as quickly as possible :-)

Quoted 25 lines
Quoted 25 lines
Quoted 12 lines

include/configs/omap3_overo.h line 176

Quoted 11 lines
include/configs/omap3_overo.h +7 -3
+ ? ? ? ? ? ? "omapdss.def_disp=${defaultdisplay} " \
+ ? ? ? ? ? ? "root=${mmcroot} " \
+ ? ? ? ? ? ? "rootfstype=${mmcrootfstype}\0" \
 ? ? ?"nandargs=setenv bootargs console=${console} " \
- ? ? ? ? ? ? "video=${videospec},mode:${videomode} " \
- ? ? ? ? ? ? "root=/dev/mtdblock4 rw " \
- ? ? ? ? ? ? "rootfstype=jffs2\0" \
+ ? ? ? ? ? ? "vram=${vram} " \
+ ? ? ? ? ? ? "omapfb.mode=dvi:${dvimode} " \
+ ? ? ? ? ? ? "omapfb.debug=y " \
+ ? ? ? ? ? ? "omapdss.def_disp=${defaultdisplay} " \
Quoted 6 lines

?From vram to omapdss.def_disp are common for nand and mmc. These should be changed to something like

"videoargs= .... "

Similar for beagle.

I'm not sure exactly what you are suggesting. ?The current setup is tailored to make user support easier.

If someone wants to use the 4.3" LCD display option, you tell them to simply type:

Quoted 6 lines
Quoted 3 lines

setenv defaultdisplay=lcd43
saveenv

Yes I see how just a single video_args= would not give you this flexiblity. A lesser way to do this would be to that you may want to do is video_args="${defaultdisplay} ${dvimode} ?.. ?"

I agree that would be nice, and in fact that is the way I did it initially. But for some reason it didn't work. I didn't spend a lot of time investigating, but it seemed that there was a limit to how many "layers" of variable definitions you could have. I won't rule out operator error though!

Steve

Quoted 4 lines

Tom

#6 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

Quoted 85 lines · Steve Sakoman
Quoted 42 lines · Tom
Quoted 41 lines · Steve Sakoman
Quoted 40 lines · Tom
Quoted 27 lines · Dirk Behme

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes.

---
 include/configs/omap3_beagle.h |   27 +++++++++++++++++++--------
 include/configs/omap3_overo.h  |   27 +++++++++++++++++++--------
 2 files changed, 38 insertions(+), 16 deletions(-)

Index: u-boot-ti/include/configs/omap3_overo.h
===================================================================

include/configs/omap3_overo.h +4 -2
@@ -155,16 +155,27 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
     "loadaddr=0x82000000\0" \
     "console=ttyS2,115200n8\0" \
-     "videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
-     "videospec=omapfb:vram:2M,vram:4M\0" \
+     "vram=12M\0" \
+     "dvimode=1024x768MR-16 at 60\0" \
+     "defaultdisplay=dvi\0" \
+     "mmcroot=/dev/mmcblk0p2 rw\0" \

include/configs/omap3_overo.h line 168

Quoted 10 lines
include/configs/omap3_overo.h +6 -3
+     "mmcrootfstype=ext3 rootwait\0" \
+     "nandroot=/dev/mtdblock4 rw\0" \
+     "nandrootfstype=jffs2\0" \
     "mmcargs=setenv bootargs console=${console} " \
-             "video=${videospec},mode:${videomode} " \
-             "root=/dev/mmcblk0p2 rw " \
-             "rootfstype=ext3 rootwait\0" \
+             "vram=${vram} " \
+             "omapfb.mode=dvi:${dvimode} " \
+             "omapfb.debug=y " \

Is setting the debug option needed ?
This would seem useful (from the name) only to developers

Quoted 7 lines
Quoted 3 lines

DSS2 is still under active development. This setting makes user support easier since boot logs contain needed debug info.

Or it turns them all into beta-testers.
It is a toss up if this is a good thing
I will go with it.
OK.

Heh, like it or not we are all beta testing DSS2! It is so much better than the old DSS code that I want to do everything possible to help Tomi get it accepted upstream as quickly as possible :-)

Quoted 23 lines
Quoted 23 lines
Quoted 11 lines

include/configs/omap3_overo.h line 176

Quoted 11 lines
include/configs/omap3_overo.h +7 -3
+             "omapdss.def_disp=${defaultdisplay} " \
+             "root=${mmcroot} " \
+             "rootfstype=${mmcrootfstype}\0" \
     "nandargs=setenv bootargs console=${console} " \
-             "video=${videospec},mode:${videomode} " \
-             "root=/dev/mtdblock4 rw " \
-             "rootfstype=jffs2\0" \
+             "vram=${vram} " \
+             "omapfb.mode=dvi:${dvimode} " \
+             "omapfb.debug=y " \
+             "omapdss.def_disp=${defaultdisplay} " \
Quoted 6 lines

From vram to omapdss.def_disp are common for nand and mmc.
These should be changed to something like

"videoargs= .... "

Similar for beagle.

I'm not sure exactly what you are suggesting. The current setup is tailored to make user support easier.

If someone wants to use the 4.3" LCD display option, you tell them to simply type:

Quoted 6 lines
Quoted 3 lines

setenv defaultdisplay=lcd43
saveenv

Yes I see how just a single video_args= would not give you this flexiblity. A lesser way to do this would be to that you may want to do is video_args="${defaultdisplay} ${dvimode} .. "

Quoted 8 lines

I agree that would be nice, and in fact that is the way I did it initially. But for some reason it didn't work. I didn't spend a lot of time investigating, but it seemed that there was a limit to how many "layers" of variable definitions you could have. I won't rule out operator error though!

Steve

Sounds like you have thought this stuff through.
The video_args is just a nice-to-have.

Ack

Tom

#7 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

Quoted 102 lines · Tom
Quoted 101 lines · Steve Sakoman
Quoted 48 lines · Tom
Quoted 46 lines · Steve Sakoman
Quoted 43 lines · Tom
Quoted 28 lines · Dirk Behme

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes.

---
?include/configs/omap3_beagle.h | ? 27 +++++++++++++++++++-------- ?include/configs/omap3_overo.h ?| ? 27 +++++++++++++++++++-------- ?2 files changed, 38 insertions(+), 16 deletions(-)

Index: u-boot-ti/include/configs/omap3_overo.h
===================================================================

include/configs/omap3_overo.h +4 -2
@@ -155,16 +155,27 @@
 ?#define CONFIG_EXTRA_ENV_SETTINGS \
 ? ? "loadaddr=0x82000000\0" \
 ? ? "console=ttyS2,115200n8\0" \
- ? ? "videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
- ? ? "videospec=omapfb:vram:2M,vram:4M\0" \
+ ? ? "vram=12M\0" \
+ ? ? "dvimode=1024x768MR-16 at 60\0" \
+ ? ? "defaultdisplay=dvi\0" \
+ ? ? "mmcroot=/dev/mmcblk0p2 rw\0" \

include/configs/omap3_overo.h line 168

Quoted 10 lines
include/configs/omap3_overo.h +6 -3
+ ? ? "mmcrootfstype=ext3 rootwait\0" \
+ ? ? "nandroot=/dev/mtdblock4 rw\0" \
+ ? ? "nandrootfstype=jffs2\0" \
 ? ? "mmcargs=setenv bootargs console=${console} " \
- ? ? ? ? ? ? "video=${videospec},mode:${videomode} " \
- ? ? ? ? ? ? "root=/dev/mmcblk0p2 rw " \
- ? ? ? ? ? ? "rootfstype=ext3 rootwait\0" \
+ ? ? ? ? ? ? "vram=${vram} " \
+ ? ? ? ? ? ? "omapfb.mode=dvi:${dvimode} " \
+ ? ? ? ? ? ? "omapfb.debug=y " \

Is setting the debug option needed ?
This would seem useful (from the name) only to developers

Quoted 7 lines
Quoted 3 lines

DSS2 is still under active development. ?This setting makes user support easier since boot logs contain needed debug info.

Or it turns them all into beta-testers.
It is a toss up if this is a good thing
I will go with it.
OK.

Heh, like it or not we are all beta testing DSS2! ?It is so much better than the old DSS code that I want to do everything possible to help Tomi get it accepted upstream as quickly as possible :-)

Quoted 25 lines
Quoted 25 lines
Quoted 12 lines

include/configs/omap3_overo.h line 176

Quoted 11 lines
include/configs/omap3_overo.h +7 -3
+ ? ? ? ? ? ? "omapdss.def_disp=${defaultdisplay} " \
+ ? ? ? ? ? ? "root=${mmcroot} " \
+ ? ? ? ? ? ? "rootfstype=${mmcrootfstype}\0" \
 ? ? "nandargs=setenv bootargs console=${console} " \
- ? ? ? ? ? ? "video=${videospec},mode:${videomode} " \
- ? ? ? ? ? ? "root=/dev/mtdblock4 rw " \
- ? ? ? ? ? ? "rootfstype=jffs2\0" \
+ ? ? ? ? ? ? "vram=${vram} " \
+ ? ? ? ? ? ? "omapfb.mode=dvi:${dvimode} " \
+ ? ? ? ? ? ? "omapfb.debug=y " \
+ ? ? ? ? ? ? "omapdss.def_disp=${defaultdisplay} " \
Quoted 6 lines

?From vram to omapdss.def_disp are common for nand and mmc. These should be changed to something like

"videoargs= .... "

Similar for beagle.

I'm not sure exactly what you are suggesting. ?The current setup is tailored to make user support easier.

If someone wants to use the 4.3" LCD display option, you tell them to simply type:

Quoted 7 lines
Quoted 3 lines

setenv defaultdisplay=lcd43
saveenv

Yes I see how just a single video_args= would not give you this flexiblity.
A lesser way to do this would be to that you may want to do is video_args="${defaultdisplay} ${dvimode} ?.. ?"

I agree that would be nice, and in fact that is the way I did it initially. ?But for some reason it didn't work. ?I didn't spend a lot of time investigating, but it seemed that there was a limit to how many "layers" of variable definitions you could have. ?I won't rule out operator error though!

Quoted 7 lines
Quoted 2 lines

Steve

Sounds like you have thought this stuff through.
The video_args is just a nice-to-have.

Ack

I'm a bit confused!

This patch made it into the u-boot-ti tree and then disappeared during one of the rebasings.

Does this mean it is rejected, or perhaps just lost in the shuffle?

Steve

author
#8 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

Quoted 97 lines · Steve Sakoman
Quoted 96 lines · Tom
Quoted 84 lines · Steve Sakoman
Quoted 42 lines · Tom
Quoted 41 lines · Steve Sakoman
Quoted 40 lines · Tom
Quoted 27 lines · Dirk Behme

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes.

---
 include/configs/omap3_beagle.h |   27 +++++++++++++++++++--------
 include/configs/omap3_overo.h  |   27 +++++++++++++++++++--------
 2 files changed, 38 insertions(+), 16 deletions(-)

Index: u-boot-ti/include/configs/omap3_overo.h
===================================================================

include/configs/omap3_overo.h +4 -2
@@ -155,16 +155,27 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
    "loadaddr=0x82000000\0" \
    "console=ttyS2,115200n8\0" \
-     "videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
-     "videospec=omapfb:vram:2M,vram:4M\0" \
+     "vram=12M\0" \
+     "dvimode=1024x768MR-16 at 60\0" \
+     "defaultdisplay=dvi\0" \
+     "mmcroot=/dev/mmcblk0p2 rw\0" \

include/configs/omap3_overo.h line 168

Quoted 10 lines
include/configs/omap3_overo.h +6 -3
+     "mmcrootfstype=ext3 rootwait\0" \
+     "nandroot=/dev/mtdblock4 rw\0" \
+     "nandrootfstype=jffs2\0" \
    "mmcargs=setenv bootargs console=${console} " \
-             "video=${videospec},mode:${videomode} " \
-             "root=/dev/mmcblk0p2 rw " \
-             "rootfstype=ext3 rootwait\0" \
+             "vram=${vram} " \
+             "omapfb.mode=dvi:${dvimode} " \
+             "omapfb.debug=y " \

Is setting the debug option needed ?
This would seem useful (from the name) only to developers

Quoted 7 lines
Quoted 3 lines

DSS2 is still under active development. This setting makes user support easier since boot logs contain needed debug info.

Or it turns them all into beta-testers.
It is a toss up if this is a good thing
I will go with it.
OK.

Heh, like it or not we are all beta testing DSS2! It is so much better than the old DSS code that I want to do everything possible to help Tomi get it accepted upstream as quickly as possible :-)

Quoted 23 lines
Quoted 23 lines
Quoted 11 lines

include/configs/omap3_overo.h line 176

Quoted 11 lines
include/configs/omap3_overo.h +7 -3
+             "omapdss.def_disp=${defaultdisplay} " \
+             "root=${mmcroot} " \
+             "rootfstype=${mmcrootfstype}\0" \
    "nandargs=setenv bootargs console=${console} " \
-             "video=${videospec},mode:${videomode} " \
-             "root=/dev/mtdblock4 rw " \
-             "rootfstype=jffs2\0" \
+             "vram=${vram} " \
+             "omapfb.mode=dvi:${dvimode} " \
+             "omapfb.debug=y " \
+             "omapdss.def_disp=${defaultdisplay} " \
Quoted 6 lines

From vram to omapdss.def_disp are common for nand and mmc.
These should be changed to something like

"videoargs= .... "

Similar for beagle.

I'm not sure exactly what you are suggesting. The current setup is tailored to make user support easier.

If someone wants to use the 4.3" LCD display option, you tell them to simply type:

Quoted 7 lines
Quoted 3 lines

setenv defaultdisplay=lcd43
saveenv

Yes I see how just a single video_args= would not give you this flexiblity.
A lesser way to do this would be to that you may want to do is video_args="${defaultdisplay} ${dvimode} .. "

Quoted 8 lines

I agree that would be nice, and in fact that is the way I did it initially. But for some reason it didn't work. I didn't spend a lot of time investigating, but it seemed that there was a limit to how many "layers" of variable definitions you could have. I won't rule out operator error though!

Steve

Sounds like you have thought this stuff through.
The video_args is just a nice-to-have.

Quoted 8 lines
Quoted 1 line

Ack

I'm a bit confused!

This patch made it into the u-boot-ti tree and then disappeared during one of the rebasings.

Does this mean it is rejected,

I don't think so.

Quoted 1 line

or perhaps just lost in the shuffle?

Hopefully yes.

Sandeep: Could you check what happened with

http://lists.denx.de/pipermail/u-boot/2009-September/061564.html

?

Thanks and best regards

Dirk

#9 lore raw

PATCH 1/1 OMAP3: Update Overo and Beagle environment

Quoted 123 lines

-----Original Message-----
From: Dirk Behme [mailto:dirk.behme at googlemail.com]
Sent: Saturday, October 10, 2009 2:13 PM
To: Paulraj, Sandeep
Cc: Steve Sakoman; u-boot at lists.denx.de; Tom
Subject: Re: [U-Boot] [PATCH] OMAP3: Update Overo and Beagle environment

Quoted 9 lines · Steve Sakoman
Quoted 8 lines · Tom
Quoted 7 lines · Steve Sakoman
Quoted 6 lines · Tom
Quoted 5 lines · Steve Sakoman
Quoted 4 lines · Tom
Quoted 3 lines · Dirk Behme

From: Steve Sakoman <[email protected]>

Update default environment to support new kernel DSS2 subsystem

and

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

simplify rootfs type and location changes.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
---
 include/configs/omap3_beagle.h |   27 +++++++++++++++++++--------
 include/configs/omap3_overo.h  |   27 +++++++++++++++++++--------
 2 files changed, 38 insertions(+), 16 deletions(-)

Index: u-boot-ti/include/configs/omap3_overo.h

===================================================================

Quoted 49 lines
Quoted 49 lines
Quoted 49 lines
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 12 lines
include/configs/omap3_overo.h +4 -2
@@ -155,16 +155,27 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
    "loadaddr=0x82000000\0" \
    "console=ttyS2,115200n8\0" \
-     "videomode=1024x768 at 60,vxres=1024,vyres=768\0" \
-     "videospec=omapfb:vram:2M,vram:4M\0" \
+     "vram=12M\0" \
+     "dvimode=1024x768MR-16 at 60\0" \
+     "defaultdisplay=dvi\0" \
+     "mmcroot=/dev/mmcblk0p2 rw\0" \

include/configs/omap3_overo.h line 168

Quoted 10 lines
include/configs/omap3_overo.h +6 -3
+     "mmcrootfstype=ext3 rootwait\0" \
+     "nandroot=/dev/mtdblock4 rw\0" \
+     "nandrootfstype=jffs2\0" \
    "mmcargs=setenv bootargs console=${console} " \
-             "video=${videospec},mode:${videomode} " \
-             "root=/dev/mmcblk0p2 rw " \
-             "rootfstype=ext3 rootwait\0" \
+             "vram=${vram} " \
+             "omapfb.mode=dvi:${dvimode} " \
+             "omapfb.debug=y " \

Is setting the debug option needed ?
This would seem useful (from the name) only to developers

Quoted 7 lines
Quoted 3 lines

DSS2 is still under active development. This setting makes user support easier since boot logs contain needed debug info.

Or it turns them all into beta-testers.
It is a toss up if this is a good thing
I will go with it.
OK.

Heh, like it or not we are all beta testing DSS2! It is so much better than the old DSS code that I want to do everything possible to help Tomi get it accepted upstream as quickly as possible :-)

Quoted 14 lines
Quoted 14 lines
Quoted 14 lines

include/configs/omap3_overo.h line 176

Quoted 11 lines
include/configs/omap3_overo.h +7 -3
+             "omapdss.def_disp=${defaultdisplay} " \
+             "root=${mmcroot} " \
+             "rootfstype=${mmcrootfstype}\0" \
    "nandargs=setenv bootargs console=${console} " \
-             "video=${videospec},mode:${videomode} " \
-             "root=/dev/mtdblock4 rw " \
-             "rootfstype=jffs2\0" \
+             "vram=${vram} " \
+             "omapfb.mode=dvi:${dvimode} " \
+             "omapfb.debug=y " \
+             "omapdss.def_disp=${defaultdisplay} " \

From vram to omapdss.def_disp are common for nand and mmc.
These should be changed to something like

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

"videoargs= .... "

Similar for beagle.

I'm not sure exactly what you are suggesting. The current setup is tailored to make user support easier.

If someone wants to use the 4.3" LCD display option, you tell them

to

Quoted 20 lines
Quoted 20 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines

simply type:

setenv defaultdisplay=lcd43
saveenv

Yes I see how just a single video_args= would not give you this flexiblity.
A lesser way to do this would be to that you may want to do is video_args="${defaultdisplay} ${dvimode} .. "

Quoted 8 lines

I agree that would be nice, and in fact that is the way I did it initially. But for some reason it didn't work. I didn't spend a lot of time investigating, but it seemed that there was a limit to how many "layers" of variable definitions you could have. I won't rule out operator error though!

Steve

Sounds like you have thought this stuff through.
The video_args is just a nice-to-have.

Quoted 8 lines
Quoted 1 line

Ack

I'm a bit confused!

This patch made it into the u-boot-ti tree and then disappeared during one of the rebasings.

Does this mean it is rejected,

I don't think so.

Quoted 1 line

or perhaps just lost in the shuffle?

Quoted 7 lines

Hopefully yes.

Sandeep: Could you check what happened with

http://lists.denx.de/pipermail/u-boot/2009-September/061564.html

?

There were a few e-mails exchanges on this but this finally culminated in ACK from TOM which I missed and thus I failed to apply.

Quoted 6 lines

Thanks and best regards

Dirk

Pushed to u-boot-ti next

http://git.denx.de/?p=u-boot/u-boot-ti.git;a=commit;h=83fb7d7bb237cc7adae37e0e3328c203fd1b9ad1

Thanks,
Sandeep