All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH] u-boot-fslc: mx6sabresd: Enable HDMI video in bootargs
@ 2015-05-31 21:01 Nikolay Dimitrov
  2015-06-01 13:46 ` Otavio Salvador
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Nikolay Dimitrov @ 2015-05-31 21:01 UTC (permalink / raw)
  To: meta-freescale; +Cc: fabio.estevam

Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
---
 ...-mx6sabresd-Enable-HDMI-video-in-bootargs.patch |   60 ++++++++++++++++++++
 recipes-bsp/u-boot/u-boot-fslc_2015.04.bb          |    2 +
 2 files changed, 62 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-fslc/0001-mx6sabresd-Enable-HDMI-video-in-bootargs.patch

diff --git a/recipes-bsp/u-boot/u-boot-fslc/0001-mx6sabresd-Enable-HDMI-video-in-bootargs.patch b/recipes-bsp/u-boot/u-boot-fslc/0001-mx6sabresd-Enable-HDMI-video-in-bootargs.patch
new file mode 100644
index 0000000..bce93d2
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-fslc/0001-mx6sabresd-Enable-HDMI-video-in-bootargs.patch
@@ -0,0 +1,60 @@
+From 36b480be4cbe134adb91097b4a1d0b0750553cc4 Mon Sep 17 00:00:00 2001
+From: Nikolay Dimitrov <picmaster@mail.bg>
+Date: Fri, 22 May 2015 22:15:06 +0300
+Subject: [PATCH] mx6sabresd: Enable HDMI video in bootargs
+
+Upstream-Status: Inappropriate [FSL kernel specific]
+
+Link: http://lists.denx.de/pipermail/u-boot/2015-May/215014.html
+
+Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
+---
+ include/configs/mx6sabre_common.h |    7 ++++++-
+ include/configs/mx6sabresd.h      |    6 ++++++
+ 2 files changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
+index b72522b..86745ac 100644
+--- a/include/configs/mx6sabre_common.h
++++ b/include/configs/mx6sabre_common.h
+@@ -121,6 +121,10 @@
+ #define EMMC_ENV ""
+ #endif
+ 
++#ifndef VIDEO_ARGS
++#define VIDEO_ARGS ""
++#endif
++
+ #define CONFIG_EXTRA_ENV_SETTINGS \
+ 	"script=boot.scr\0" \
+ 	"image=zImage\0" \
+@@ -149,7 +153,8 @@
+ 		"fi\0" \
+ 	EMMC_ENV	  \
+ 	"mmcargs=setenv bootargs console=${console},${baudrate} " \
+-		"root=${mmcroot}\0" \
++		"root=${mmcroot} " \
++		VIDEO_ARGS "\0" \
+ 	"loadbootscript=" \
+ 		"fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
+ 	"bootscript=echo Running bootscript from mmc ...; " \
+diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
+index dab2fd2..1bd4912 100644
+--- a/include/configs/mx6sabresd.h
++++ b/include/configs/mx6sabresd.h
+@@ -31,6 +31,12 @@
+ 
+ #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
+ 
++#define VIDEO_ARGS	"video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 " \
++				"video=mxcfb1:off " \
++				"video=mxcfb2:off " \
++				"video=mxcfb3:off " \
++				"fbmem=28M"
++
+ #include "mx6sabre_common.h"
+ 
+ #define CONFIG_SYS_FSL_USDHC_NUM	3
+-- 
+1.7.10.4
+
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2015.04.bb b/recipes-bsp/u-boot/u-boot-fslc_2015.04.bb
index 726d442..e5cec59 100644
--- a/recipes-bsp/u-boot/u-boot-fslc_2015.04.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc_2015.04.bb
@@ -4,3 +4,5 @@ PV = "v2015.04+git${SRCPV}"
 
 SRCREV = "b16ec2de8ddd3ce3bca7566e045dc085755550f6"
 SRCBRANCH = "patches-2015.04"
+
+SRC_URI += "file://0001-mx6sabresd-Enable-HDMI-video-in-bootargs.patch"
-- 
1.7.10.4



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

end of thread, other threads:[~2015-07-04  1:57 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-31 21:01 [meta-fsl-arm][PATCH] u-boot-fslc: mx6sabresd: Enable HDMI video in bootargs Nikolay Dimitrov
2015-06-01 13:46 ` Otavio Salvador
2015-06-01 14:57   ` Nikolay Dimitrov
2015-06-01 14:01 ` Fabio Estevam
2015-06-01 14:55   ` Nikolay Dimitrov
2015-06-01 15:04     ` Gary Thomas
2015-06-01 19:46   ` Nikolay Dimitrov
2015-06-02 16:06     ` Nikolay Dimitrov
2015-06-02 16:09       ` Otavio Salvador
2015-06-03 18:29         ` Nikolay Dimitrov
2015-06-11 12:07           ` Nikolay Dimitrov
2015-06-11 12:47 ` Fabio Estevam
2015-06-11 14:16   ` Nikolay Dimitrov
2015-06-11 17:02     ` Fabio Estevam
2015-06-11 17:04       ` Nikolay Dimitrov
2015-06-11 17:06       ` Nikolay Dimitrov
2015-06-11 17:08         ` Fabio Estevam
2015-06-11 17:14           ` Nikolay Dimitrov
2015-06-24  2:47             ` Nikolay Dimitrov
2015-07-02 21:31               ` Otavio Salvador
2015-07-03 17:43                 ` Otavio Salvador
2015-07-03 21:23                   ` Nikolay Dimitrov
2015-07-03 21:26                     ` Otavio Salvador
2015-07-04  1:57                       ` Fabio Estevam

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.