From: Nitin A Kamble <nitin.a.kam...@intel.com> Add machine configuration for the eMenlow platform in the intel-core2-32 BSP image.
Signed-off-by: Nitin A Kamble <nitin.a.kam...@intel.com> --- .../intel-core2-32/emenlow-noemgd-alsa.conf | 1 + .../intel-core2-32/emenlow-noemgd-alsa.state | 143 +++++++++++++++++++++ .../emenlow-noemgd-formfactor.machconfig | 3 + .../emenlow-noemgd-network.interfaces | 31 +++++ .../intel-core2-32/emenlow-noemgd-xorg.conf | 22 ++++ .../intel-core2-32/emenlow-noemgd.vars | 14 ++ .../machinesetuptool/machinesetuptool_git.bbappend | 16 +++ 7 files changed, 230 insertions(+) create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.state create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-formfactor.machconfig create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-network.interfaces create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-xorg.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd.vars diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.conf b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.conf new file mode 100644 index 0000000..03653cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.conf @@ -0,0 +1 @@ +# Global alsa-lib configuration diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.state b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.state new file mode 100644 index 0000000..5614cff --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-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-noemgd-formfactor.machconfig b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-formfactor.machconfig new file mode 100644 index 0000000..ffce012 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-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-noemgd-network.interfaces b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-network.interfaces new file mode 100644 index 0000000..0acf4cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-network.interfaces @@ -0,0 +1,31 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + +# Wireless interfaces +iface wlan0 inet dhcp + wireless_mode managed + wireless_essid any + wpa-driver wext + wpa-conf /etc/wpa_supplicant.conf + +iface atml0 inet dhcp + +# Wired or wireless interfaces +auto eth0 +iface eth0 inet dhcp +iface eth1 inet dhcp + +# Ethernet/RNDIS gadget (g_ether) +# ... or on host side, usbnet and random hwaddr +iface usb0 inet static + address 192.168.7.2 + netmask 255.255.255.0 + network 192.168.7.0 + gateway 192.168.7.1 + +# Bluetooth networking +iface bnep0 inet dhcp + diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-xorg.conf b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-xorg.conf new file mode 100644 index 0000000..3316e54 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-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-noemgd.vars b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd.vars new file mode 100644 index 0000000..c09d6e3 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd.vars @@ -0,0 +1,14 @@ +FORMFACTOR_FILE="emenlow-noemgd-formfactor.machconfig" +ALSA_CONFIG_FILE="emenlow-noemgd-alsa.conf" +ALSA_STATE_FILE="emenlow-noemgd-alsa.state" +XORG_CONFIG_FILE="emenlow-noemgd-xorg.conf" +NETWORK_INTERFACES_FILE="emenlow-noemgd-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..7fc1147 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-noemgd" + +SUPPORTED_MACHINES_intel-core2-32 = "emenlow-noemgd" + +MACHINE_CONFIG_FILES_intel-core2-32 = " \ + ${EMENLOW-NOEMGD_MACHINE_CONFIG_FILES} \ + " + NUC_MACHINE_CONFIG_FILES = " \ nuc.vars \ nuc-formfactor.machconfig \ @@ -34,3 +42,11 @@ SUGARBAY_MACHINE_CONFIG_FILES = " \ sugarbay-network.interfaces \ " +EMENLOW-NOEMGD_MACHINE_CONFIG_FILES = " \ + emenlow-noemgd.vars \ + emenlow-noemgd-formfactor.machconfig \ + emenlow-noemgd-alsa.conf \ + emenlow-noemgd-alsa.state \ + emenlow-noemgd-network.interfaces \ + emenlow-noemgd-xorg.conf \ + " -- 1.8.1.4 -- _______________________________________________ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel