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>
This commit is contained in:
Ezequiel García
2016-04-16 12:23:23 -03:00
committed by Peter Korsgaard
parent 2fbd5b1f04
commit e25c603211
4 changed files with 86 additions and 0 deletions

View File

@@ -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

View File

@@ -0,0 +1 @@
exec /usr/bin/openbox-session

View File

@@ -0,0 +1,6 @@
#!/bin/sh
# Simplified custom startx script, which starts
# the X server on vt7.
xinit -- vt7