From: Nitin A Kamble <[email protected]> Add machine configuration for the eMenlow platform in the intel-core2-32 BSP image.
Signed-off-by: Nitin A Kamble <[email protected]> --- .../intel-core2-32/emenlow-alsa.conf | 1 + .../intel-core2-32/emenlow-alsa.state | 143 +++++++++++++++++++++ .../intel-core2-32/emenlow-formfactor.machconfig | 3 + .../intel-core2-32/emenlow-network.interfaces | 9 ++ .../intel-core2-32/emenlow-xorg.conf | 22 ++++ .../machinesetuptool/intel-core2-32/emenlow.vars | 14 ++ .../machinesetuptool/machinesetuptool_git.bbappend | 16 +++ 7 files changed, 208 insertions(+) create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-alsa.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-alsa.state create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-formfactor.machconfig create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-network.interfaces create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-xorg.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow.vars diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-alsa.conf b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-alsa.conf new file mode 100644 index 0000000..03653cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-alsa.conf @@ -0,0 +1 @@ +# Global alsa-lib configuration diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-alsa.state b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-alsa.state new file mode 100644 index 0000000..5614cff --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-alsa.state @@ -0,0 +1,143 @@ +state.MID { + control.1 { + iface MIXER + name 'Master Playback Volume' + value.0 17 + value.1 17 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -4650 + dbmax 0 + dbvalue.0 -2100 + dbvalue.1 -2100 + } + } + control.2 { + iface MIXER + name 'Master Playback Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.3 { + iface MIXER + name 'Mic Playback Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -3450 + dbmax 1200 + dbvalue.0 -3450 + dbvalue.1 -3450 + } + } + control.4 { + iface MIXER + name 'Mic Playback Switch' + value.0 false + value.1 false + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.5 { + iface MIXER + name 'Capture Volume' + value.0 16 + value.1 16 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -1200 + dbmax 3450 + dbvalue.0 1200 + dbvalue.1 1200 + } + } + control.6 { + iface MIXER + name 'Capture Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.7 { + iface MIXER + name 'Mic Boost Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 3' + dbmin 0 + dbmax 3000 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.8 { + iface CARD + name 'Mic Jack' + value false + comment { + access read + type BOOLEAN + count 1 + } + } + control.9 { + iface CARD + name 'Line Out Jack' + value true + comment { + access read + type BOOLEAN + count 1 + } + } + control.10 { + iface PCM + name 'Playback Channel Map' + value.0 0 + value.1 0 + comment { + access read + type INTEGER + count 2 + range '0 - 36' + } + } + control.11 { + iface PCM + name 'Capture Channel Map' + value.0 0 + value.1 0 + comment { + access read + type INTEGER + count 2 + range '0 - 36' + } + } +} diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-formfactor.machconfig b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-formfactor.machconfig new file mode 100644 index 0000000..ffce012 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-formfactor.machconfig @@ -0,0 +1,3 @@ +# Assume a USB mouse and keyboard are connected +HAVE_TOUCHSCREEN=0 +HAVE_KEYBOARD=1 diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-network.interfaces b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-network.interfaces new file mode 100644 index 0000000..f5bb946 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-network.interfaces @@ -0,0 +1,9 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + +# Wired or wireless interfaces +auto eth0 +iface eth0 inet dhcp diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-xorg.conf b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-xorg.conf new file mode 100644 index 0000000..3316e54 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-xorg.conf @@ -0,0 +1,22 @@ +Section "Device" + Identifier "gma500" + Driver "modesetting" + Option "SWCursor" "ON" +EndSection + +Section "Monitor" + Identifier "Generic Monitor" + Option "DPMS" +EndSection + +Section "Screen" + Identifier "Default Screen" + Device "gma500" + Monitor "Generic Monitor" + DefaultDepth 24 +EndSection + +Section "ServerLayout" + Identifier "Default Layout" + Screen "Default Screen" +EndSection diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow.vars b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow.vars new file mode 100644 index 0000000..8a3fde3 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow.vars @@ -0,0 +1,14 @@ +FORMFACTOR_FILE="emenlow-formfactor.machconfig" +ALSA_CONFIG_FILE="emenlow-alsa.conf" +ALSA_STATE_FILE="emenlow-alsa.state" +XORG_CONFIG_FILE="emenlow-xorg.conf" +NETWORK_INTERFACES_FILE="emenlow-network.interfaces" +AUTOLOAD_KERNEL_MODULES="" +PROHIBIT_KERNEL_MODULES="" +EXTRA_KERNEL_PARAMETERS="console=ttyS3,115200 console=tty0 reboot=pci" +SYSLINUX_SERIAL_CONFIG="SERIAL 0 115200" +GRUB_SERIAL_CONFIG="" +GETTY_SERIAL_CONSOLES="115200;ttyS3" +SETUP_SCRIPTS="" +BOOT_SCRIPTS="" +REBOOT_AFTER_SETUP="no" diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend b/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend index 7cd70cd..25b60b8 100644 --- a/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend @@ -10,6 +10,14 @@ MACHINE_CONFIG_FILES_intel-corei7-64 = " \ ${SUGARBAY_MACHINE_CONFIG_FILES} \ " +DEFAULT_MACHINE_SELECTION_intel-core2-32 = "emenlow" + +SUPPORTED_MACHINES_intel-core2-32 = "emenlow" + +MACHINE_CONFIG_FILES_intel-core2-32 = " \ + ${EMENLOW_MACHINE_CONFIG_FILES} \ + " + NUC_MACHINE_CONFIG_FILES = " \ nuc.vars \ nuc-formfactor.machconfig \ @@ -34,3 +42,11 @@ SUGARBAY_MACHINE_CONFIG_FILES = " \ sugarbay-network.interfaces \ " +EMENLOW_MACHINE_CONFIG_FILES = " \ + emenlow.vars \ + emenlow-formfactor.machconfig \ + emenlow-alsa.conf \ + emenlow-alsa.state \ + emenlow-network.interfaces \ + emenlow-xorg.conf \ + " -- 1.8.1.4 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
