Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 3E822E0095C; Sun, 31 May 2015 14:01:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (picmaster[at]mail.bg) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [193.201.172.118 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mx2.mail.bg (mx2.mail.bg [193.201.172.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A70C2E00945 for ; Sun, 31 May 2015 14:01:43 -0700 (PDT) Received: from localhost.localdomain (unknown [93.152.143.60]) by mx2.mail.bg (Postfix) with ESMTPA id 068E46003BD0; Mon, 1 Jun 2015 00:01:40 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1433106100; bh=uG3vVKrubPQUL2O03KX1t4T/C7bclBBpVY7+FaI3XdU=; h=From:To:Cc:Subject:Date:Message-Id; b=U7yB0+PmoiRQtrrBjTIrlDB0mTI7eHerWt9WEgJRxVYbu3tzKB6CuseBh1Q73rKjy alJAQY0VQVFGhhptdMChl2i9w71DAwFBItimgYxN5FT6M9HX6b2ju7NpD93oHErbxV hXfEK4zdeSfXdA1djmuMtnUJO8v2E/q347lAPta4= From: Nikolay Dimitrov To: meta-freescale@yoctoproject.org Date: Mon, 1 Jun 2015 00:01:38 +0300 Message-Id: <1433106098-7683-1-git-send-email-picmaster@mail.bg> X-Mailer: git-send-email 1.7.10.4 Cc: fabio.estevam@freescale.com Subject: [meta-fsl-arm][PATCH] u-boot-fslc: mx6sabresd: Enable HDMI video in bootargs X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2015 21:01:48 -0000 Signed-off-by: Nikolay Dimitrov --- ...-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 +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 +--- + 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