Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dagg Stompler <daggs@gmx.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] odroidc2: update boot.ini
Date: Sat, 23 Jul 2016 21:55:01 +0300	[thread overview]
Message-ID: <20160723185501.12148-3-daggs@gmx.com> (raw)
In-Reply-To: <20160723185501.12148-1-daggs@gmx.com>

Signed-off-by: Dagg Stompler <daggs@gmx.com>
---
 board/hardkernel/odroidc2/boot.ini | 32 ++++++++++++++++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)

diff --git a/board/hardkernel/odroidc2/boot.ini b/board/hardkernel/odroidc2/boot.ini
index 8b67b5e..ba90bb4 100644
--- a/board/hardkernel/odroidc2/boot.ini
+++ b/board/hardkernel/odroidc2/boot.ini
@@ -1,16 +1,36 @@
 ODROIDC2-UBOOT-CONFIG
 
 # HDMI mode
-setenv m "720p60hz" # Progressive 60Hz
+setenv m "1080p60hz" # Progressive 60Hz
 
 # HDMI BPP Mode
 setenv m_bpp "32"
 
+# HDMI HotPlug Detection control
+# Allows you to force HDMI thinking that the cable is connected.
+# true = HDMI will believe that cable is always connected
+# false = will let board/monitor negotiate the connection status
+setenv hpd "true"
+
 # Default Console Device Setting
 setenv condev "console=ttyS0,115200n8"	# Serial Console
 
+# Meson Timer
+# 1 - Meson Timer
+# 0 - Arch Timer 
+# Using meson_timer improves the video playback whoever it breaks KVM (virtualization).
+# Using arch timer allows KVM/Virtualization to work however you'll experience poor video
+setenv mesontimer "1"
+
+# Server Mode (aka. No Graphics)
+# Setting nographics to 1 will disable all video subsystem
+# This mode is ideal of server type usage. (Saves ~300Mb of RAM)
+setenv nographics "0"
+
+###########################################
+
 # Boot Arguments
-setenv bootargs "root=/dev/mmcblk0p2 rootwait ro ${condev} no_console_suspend hdmimode=${m} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop"
+setenv bootargs "root=/dev/mmcblk0p2 rootwait ro ${condev} no_console_suspend hdmimode=${m} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop =${hpd}"
 
 # Load Images
 setenv loadaddr "0x11000000"
@@ -18,5 +38,13 @@ setenv dtb_loadaddr "0x10000000"
 fatload mmc 0:1 ${loadaddr} Image
 fatload mmc 0:1 ${dtb_loadaddr} meson64_odroidc2.dtb
 
+if test "${mesontimer}" = "0"; then fdt rm /meson_timer; fdt rm /cpus/cpu at 0/timer; fdt rm /cpus/cpu at 1/timer; fdt rm /cpus/cpu at 2/timer; fdt rm /cpus/cpu at 3/timer; fi
+if test "${mesontimer}" = "1"; then fdt rm /timer; fi
+
+if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi
+if test "${nographics}" = "1"; then fdt rm /meson-fb; fdt rm /amhdmitx; fdt rm /picdec; fdt rm /ppmgr; fi
+if test "${nographics}" = "1"; then fdt rm /meson-vout; fdt rm /mesonstream; fdt rm /meson-fb; fi
+if test "${nographics}" = "1"; then fdt rm /deinterlace; fdt rm /codec_mm; fi
+
 # Booting
 booti ${loadaddr} - ${dtb_loadaddr}
-- 
2.9.2

  parent reply	other threads:[~2016-07-23 18:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-23 18:54 [Buildroot] [PATCH 1/3] odroidc2: bump uboot to rev 1ec799cec97574a9838bc25b286484e579a41652 Dagg Stompler
2016-07-23 18:55 ` [Buildroot] [PATCH 2/3] odroidc2: bump kernel to rev 1cb48cebb9d525e524de0ede46710bb29f54d4a6 Dagg Stompler
2016-07-23 21:27   ` Thomas Petazzoni
2016-07-23 18:55 ` Dagg Stompler [this message]
2016-07-23 21:28   ` [Buildroot] [PATCH 3/3] odroidc2: update boot.ini Thomas Petazzoni
2016-07-24  4:54     ` daggs
2016-07-24  7:25       ` Thomas Petazzoni
2016-07-24  7:47         ` daggs
2016-07-23 21:27 ` [Buildroot] [PATCH 1/3] odroidc2: bump uboot to rev 1ec799cec97574a9838bc25b286484e579a41652 Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160723185501.12148-3-daggs@gmx.com \
    --to=daggs@gmx.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox