From d24768d9e4a3a150daeff869ad5b96e585c17795 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 23 May 2013 13:40:02 +0300 Subject: u-boot: change beagleboard's default resolution to 800x600 Also increase VRAM for omapfb so that we can run EGL in flip mode. Change-Id: I452cc6512706d373e196d76e8e9a30fa3e738235 Reviewed-by: Kalle Viironen --- ...ge-default-resolution-and-increase-VRAM-f.patch | 49 ++++++++++++++++++++++ recipes/u-boot/u-boot-beagleboard_2011.09.bbappend | 4 ++ 2 files changed, 53 insertions(+) create mode 100644 recipes/u-boot/u-boot-beagleboard/0001-beagle-change-default-resolution-and-increase-VRAM-f.patch create mode 100644 recipes/u-boot/u-boot-beagleboard_2011.09.bbappend diff --git a/recipes/u-boot/u-boot-beagleboard/0001-beagle-change-default-resolution-and-increase-VRAM-f.patch b/recipes/u-boot/u-boot-beagleboard/0001-beagle-change-default-resolution-and-increase-VRAM-f.patch new file mode 100644 index 0000000..c4d5658 --- /dev/null +++ b/recipes/u-boot/u-boot-beagleboard/0001-beagle-change-default-resolution-and-increase-VRAM-f.patch @@ -0,0 +1,49 @@ +From 8c84c554583c516918ce9185bd03bc1d984bf49c Mon Sep 17 00:00:00 2001 +From: Samuli Piippo +Date: Thu, 23 May 2013 14:37:10 +0300 +Subject: [PATCH] beagle: change default resolution and increase VRAM for fb0 + +--- + include/configs/omap3_beagle.h | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h +index 1cc46dc..6a812ba 100644 +--- a/include/configs/omap3_beagle.h ++++ b/include/configs/omap3_beagle.h +@@ -224,7 +224,7 @@ + "optargs=\0" \ + "camera=none\0" \ + "vram=12M\0" \ +- "dvimode=640x480MR-16@60\0" \ ++ "dvimode=800x600MR-16@60\0" \ + "defaultdisplay=dvi\0" \ + "mmcdev=0\0" \ + "mmcroot=/dev/mmcblk0p2 ro\0" \ +@@ -240,6 +240,7 @@ + "buddy2=${buddy2} "\ + "camera=${camera} "\ + "vram=${vram} " \ ++ "omapfb.vram=0:${vram} " \ + "omapfb.mode=dvi:${dvimode} " \ + "omapdss.def_disp=${defaultdisplay} " \ + "root=${mmcroot} " \ +@@ -250,6 +251,7 @@ + "buddy=${buddy} "\ + "camera=${camera} "\ + "vram=${vram} " \ ++ "omapfb.vram=0:${vram} " \ + "omapfb.mode=dvi:${dvimode} " \ + "omapdss.def_disp=${defaultdisplay} " \ + "root=${nandroot} " \ +@@ -263,6 +265,7 @@ + "mpurate=${mpurate} " \ + "buddy=${buddy} "\ + "vram=${vram} " \ ++ "omapfb.vram=0:${vram} " \ + "omapfb.mode=dvi:${dvimode} " \ + "omapdss.def_disp=${defaultdisplay} " \ + "root=${ramroot} " \ +-- +1.7.10.4 + diff --git a/recipes/u-boot/u-boot-beagleboard_2011.09.bbappend b/recipes/u-boot/u-boot-beagleboard_2011.09.bbappend new file mode 100644 index 0000000..28c08bc --- /dev/null +++ b/recipes/u-boot/u-boot-beagleboard_2011.09.bbappend @@ -0,0 +1,4 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +SRC_URI += " \ + file://0001-beagle-change-default-resolution-and-increase-VRAM-f.patch \ + " -- cgit v1.2.3-54-g00ecf