aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Ezequiel GarcĂ­a <ezequiel@vanguardiasur.com.ar>2016-04-16 12:23:23 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-04-18 23:19:25 +0200
commite25c603211806e5c43415dabd713c68ff11f22fe (patch)
tree9e08131882432c4aeaf33ea53a8d71a159875339 /board
parent2fbd5b1f04b5e55690a39491e3fd1f4a3466729a (diff)
downloadbuildroot-e25c603211806e5c43415dabd713c68ff11f22fe.tar.gz
buildroot-e25c603211806e5c43415dabd713c68ff11f22fe.tar.bz2
board/minnowboard-max: Add a X-based graphical defconfig
This commit adds a new defconfig to build a X-based graphical system for the Minnowboard MAX board. * The 'openbox' windows manager is chosen because it's simple and lightweigth. * Basic X apps are enabled (such as xrandr, xterm), so we can at least get a console and change video mode. * ALSA default configuration is provided, so HDMI audio works out-of-the-box. * OpenGL is supported. Tested on Minnoboard Turot (which is Minnowboard Max compatible). [Peter: drop unneeded/specific toolchain config options] Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board')
-rw-r--r--board/minnowboard/fs-overlay-graphical/etc/asound.conf4
-rw-r--r--board/minnowboard/fs-overlay-graphical/root/.xinitrc1
-rwxr-xr-xboard/minnowboard/fs-overlay-graphical/usr/bin/startx6
3 files changed, 11 insertions, 0 deletions
diff --git a/board/minnowboard/fs-overlay-graphical/etc/asound.conf b/board/minnowboard/fs-overlay-graphical/etc/asound.conf
new file mode 100644
index 0000000000..b75b238364
--- /dev/null
+++ b/board/minnowboard/fs-overlay-graphical/etc/asound.conf
@@ -0,0 +1,4 @@
+# Customize ALSA:
+# the HDMI PCM is at card=0, device=3 (i.e. hw:0,3)
+defaults.pcm.card 0
+defaults.pcm.device 3
diff --git a/board/minnowboard/fs-overlay-graphical/root/.xinitrc b/board/minnowboard/fs-overlay-graphical/root/.xinitrc
new file mode 100644
index 0000000000..4274b24df1
--- /dev/null
+++ b/board/minnowboard/fs-overlay-graphical/root/.xinitrc
@@ -0,0 +1 @@
+exec /usr/bin/openbox-session
diff --git a/board/minnowboard/fs-overlay-graphical/usr/bin/startx b/board/minnowboard/fs-overlay-graphical/usr/bin/startx
new file mode 100755
index 0000000000..6f2c949d46
--- /dev/null
+++ b/board/minnowboard/fs-overlay-graphical/usr/bin/startx
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Simplified custom startx script, which starts
+# the X server on vt7.
+
+xinit -- vt7