From: Nitin A Kamble <[email protected]> Add machine configuration for the Jasperforest platform in the intel-corei7-64 BSP image.
Signed-off-by: Nitin A Kamble <[email protected]> --- .../intel-corei7-64/jasperforest-alsa.conf | 1 + .../jasperforest-formfactor.machconfig | 3 +++ .../jasperforest-network.interfaces | 31 ++++++++++++++++++++++ .../intel-corei7-64/jasperforest.vars | 14 ++++++++++ .../machinesetuptool/machinesetuptool_git.bbappend | 10 ++++++- 5 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-alsa.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-formfactor.machconfig create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-network.interfaces create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest.vars diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-alsa.conf b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-alsa.conf new file mode 100644 index 0000000..03653cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-alsa.conf @@ -0,0 +1 @@ +# Global alsa-lib configuration diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-formfactor.machconfig b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-formfactor.machconfig new file mode 100644 index 0000000..ffce012 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-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-corei7-64/jasperforest-network.interfaces b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-network.interfaces new file mode 100644 index 0000000..0acf4cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-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-corei7-64/jasperforest.vars b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest.vars new file mode 100644 index 0000000..503531a --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest.vars @@ -0,0 +1,14 @@ +FORMFACTOR_FILE="jasperforest-formfactor.machconfig" +ALSA_CONFIG_FILE="jasperforest-alsa.conf" +ALSA_STATE_FILE="jasperforest-alsa.state" +XORG_CONFIG_FILE="" +NETWORK_INTERFACES_FILE="jasperforest-network.interfaces" +AUTOLOAD_KERNEL_MODULES="" +PROHIBIT_KERNEL_MODULES="" +EXTRA_KERNEL_PARAMETERS="console=ttyS0,115200 console=tty0 video=vesafb vga=0x318" +SYSLINUX_SERIAL_CONFIG="SERIAL 0 115200" +GRUB_SERIAL_CONFIG="" +GETTY_SERIAL_CONSOLES="115200;ttyS0" +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 46894c2..2fc7ee9 100644 --- a/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend @@ -2,10 +2,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" DEFAULT_MACHINE_SELECTION_intel-corei7-64 = "nuc" -SUPPORTED_MACHINES_intel-corei7-64 = "nuc" +SUPPORTED_MACHINES_intel-corei7-64 = "nuc jasperforest" MACHINE_CONFIG_FILES_intel-corei7-64 = " \ ${NUC_MACHINE_CONFIG_FILES} \ + ${JASPERFOREST_MACHINE_CONFIG_FILES} \ " NUC_MACHINE_CONFIG_FILES = " \ @@ -16,3 +17,10 @@ NUC_MACHINE_CONFIG_FILES = " \ nuc-network.interfaces \ nuc-bootscript-hdmi_port_audio.sh \ " + +JASPERFOREST_MACHINE_CONFIG_FILES = " \ + jasperforest.vars \ + jasperforest-formfactor.machconfig \ + jasperforest-alsa.conf \ + jasperforest-network.interfaces \ + " -- 1.8.1.4 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
