* [U-Boot] [PATCH v2] board: ge: bx50v3: Pass video bootargs for b850v3
@ 2016-10-07 14:26 Akshay Bhat
2016-10-10 9:15 ` [U-Boot] EXT: " Martin Donnelly
0 siblings, 1 reply; 2+ messages in thread
From: Akshay Bhat @ 2016-10-07 14:26 UTC (permalink / raw)
To: u-boot
From: Ken Lin <ken.lin@advantech.com.tw>
Due to clock source restrictions on i.MX6, certain pixel clock rates can
not be supported. Hence default the resolution/frame rate during boot to a
supported value by passing video bootargs 1024x768 at 60 for
HDMI (Display Port1) and LVDS (Display Port2) on B850v3.
Signed-off-by: Ken Lin <ken.lin@advantech.com.tw>
Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
---
v1 -> v2:
Rename CONFIG_BOOTARGS_EXTRA to BX50V3_BOOTARGS_EXTRA since CONFIG_* is
reserved for defines added via Kconfig
include/configs/ge_bx50v3.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index 52f096e..c77fef6 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -15,6 +15,7 @@
#include <asm/arch/imx-regs.h>
#include <asm/imx-common/gpio.h>
+#define BX50V3_BOOTARGS_EXTRA
#if defined(CONFIG_TARGET_GE_B450V3)
#define CONFIG_BOARD_NAME "General Electric B450v3"
#define CONFIG_DEFAULT_FDT_FILE "/boot/imx6q-b450v3.dtb"
@@ -24,6 +25,9 @@
#elif defined(CONFIG_TARGET_GE_B850V3)
#define CONFIG_BOARD_NAME "General Electric B850v3"
#define CONFIG_DEFAULT_FDT_FILE "/boot/imx6q-b850v3.dtb"
+#undef BX50V3_BOOTARGS_EXTRA
+#define BX50V3_BOOTARGS_EXTRA "video=DP-1:1024x768 at 60 " \
+ "video=HDMI-A-1:1024x768 at 60 "
#else
#define CONFIG_BOARD_NAME "General Electric BA16 Generic"
#define CONFIG_DEFAULT_FDT_FILE "/boot/imx6q-ba16.dtb"
@@ -166,7 +170,8 @@
"echo 'U-Boot upgraded. Please reset'; " \
"fi\0" \
"setargs=setenv bootargs console=${console},${baudrate} " \
- "root=/dev/${rootdev} rw rootwait cma=128M\0" \
+ "root=/dev/${rootdev} rw rootwait cma=128M " \
+ BX50V3_BOOTARGS_EXTRA "\0" \
"loadbootscript=" \
"ext2load ${dev} ${devnum}:${partnum} ${loadaddr} ${script};\0" \
"bootscript=echo Running bootscript from ${dev}:${devnum}:${partnum};" \
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] EXT: [PATCH v2] board: ge: bx50v3: Pass video bootargs for b850v3
2016-10-07 14:26 [U-Boot] [PATCH v2] board: ge: bx50v3: Pass video bootargs for b850v3 Akshay Bhat
@ 2016-10-10 9:15 ` Martin Donnelly
0 siblings, 0 replies; 2+ messages in thread
From: Martin Donnelly @ 2016-10-10 9:15 UTC (permalink / raw)
To: u-boot
On 10/07/16 17:26, Akshay Bhat wrote:
> From: Ken Lin <ken.lin@advantech.com.tw>
>
> Due to clock source restrictions on i.MX6, certain pixel clock rates can
> not be supported. Hence default the resolution/frame rate during boot to a
> supported value by passing video bootargs 1024x768 at 60 for
> HDMI (Display Port1) and LVDS (Display Port2) on B850v3.
>
> Signed-off-by: Ken Lin <ken.lin@advantech.com.tw>
> Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Acked-by: Martin Donnelly <martin.donnelly@ge.com>
Thanks,
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-10 9:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-07 14:26 [U-Boot] [PATCH v2] board: ge: bx50v3: Pass video bootargs for b850v3 Akshay Bhat
2016-10-10 9:15 ` [U-Boot] EXT: " Martin Donnelly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox