From 920212bf51233a7f67e5482640f96b032aec25c7 Mon Sep 17 00:00:00 2001 From: Kishore Bodke Date: Mon, 25 Feb 2013 16:05:30 -0800 Subject: romley: add Ivy Bridge support Create a new machine to support the romley Ivy Bridge CPU variant. Signed-off-by: Kishore Bodke Signed-off-by: Tom Zanussi --- meta-romley/README | 22 +++++++++++++----- meta-romley/conf/machine/romley-ivb.conf | 20 +++++++++++++++++ .../formfactor/formfactor/romley-ivb/machconfig | 3 +++ .../xserver-xf86-config/romley-ivb/xorg.conf | 26 ++++++++++++++++++++++ .../recipes-kernel/linux/linux-yocto_3.4.bbappend | 7 ++++++ 5 files changed, 73 insertions(+), 5 deletions(-) create mode 100644 meta-romley/conf/machine/romley-ivb.conf create mode 100644 meta-romley/recipes-bsp/formfactor/formfactor/romley-ivb/machconfig create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config/romley-ivb/xorg.conf (limited to 'meta-romley') diff --git a/meta-romley/README b/meta-romley/README index f1a9bb0a..ffad2971 100644 --- a/meta-romley/README +++ b/meta-romley/README @@ -2,10 +2,18 @@ This README file contains information on building the meta-romley BSP layer, and booting the images contained in the /binary directory. Please see the corresponding sections below for details. -The 'romley' platform consists of the Intel Xeon E5-2600 and E5-2400 -Series Processors, plus the Intel C604/C602-J Chipset +The romley platform consists of two versions: +1. romley - Sandy Bridge +2. romley - Ivy Bridge + +The romley - Sandy Bridge platform consists of the Intel Xeon E5-2600 +and E5-2400 Series processors, plus the Intel C604/C602-J chipset (Sandy Bridge-EP/EN + Patsburg). +The romley - Ivy Bridge platform consists of the Intel Xeon E5-2600 +and E5-2400 v2 Series processors with the Intel C604/C602-J chipset +(Ivy Bridge-EP/EN + Patsburg). + This BSP assumes Matrox graphics is being used. Further information about the platforms supported by this BSP can be @@ -25,6 +33,7 @@ listed here: https://www.yoctoproject.org/webform/yocto-project-compatible-registration + Dependencies ============ @@ -76,10 +85,14 @@ common metadata shared between BSPs) e.g.: yocto/meta-intel \ yocto/meta-intel/meta-romley \ -To enable the romley layer, add the romley MACHINE to local.conf: +To enable the romley Sandy Bridge layer, add the romley MACHINE to local.conf: MACHINE ?= "romley" +To enable the romley Ivy Bridge layer, add the romley-ivb MACHINE to local.conf: + + MACHINE ?= "romley-ivb" + You should then be able to build a romley image as such: $ source oe-init-build-env @@ -127,6 +140,7 @@ ifconfig the IP address and use that to ssh in. The root password is empty, so to log in type 'root' for the user name and hit 'Enter' at the Password prompt: and you should be in. + III. Enabling Intel DPDK Technology =================================== @@ -142,5 +156,3 @@ the syslinux boot: prompt, or the boot: prompt contains strange characters), try doing this first: # dd if=/dev/zero of=/dev/sdf bs=1M count=512 - - diff --git a/meta-romley/conf/machine/romley-ivb.conf b/meta-romley/conf/machine/romley-ivb.conf new file mode 100644 index 00000000..bf9dd9f0 --- /dev/null +++ b/meta-romley/conf/machine/romley-ivb.conf @@ -0,0 +1,20 @@ +#@TYPE: Machine +#@NAME: romley-ivb + +#@WEBTITLE: Intel Xeon E5-2600 and E5-2400 v2 Series (Formerly Ivy Bridge-EP/EN) +#Processors with Intel C604/C602-J Chipset (Romley-EP/EN Platform) + +#@DESCRIPTION: Machine configuration for Romley systems +# i.e. Xeon E5-2600 and E5-2400 + Intel CC604/C602-J + + +PREFERRED_VERSION_linux-yocto ?= "3.4%" + +require conf/machine/include/tune-x86_64.inc +require conf/machine/include/ia32-base.inc +require conf/machine/include/meta-intel.inc + +XSERVER ?= "${XSERVER_IA32_BASE} \ + ${XSERVER_IA32_EXT} \ + ${XSERVER_IA32_MATROX_MGA} \ + " diff --git a/meta-romley/recipes-bsp/formfactor/formfactor/romley-ivb/machconfig b/meta-romley/recipes-bsp/formfactor/formfactor/romley-ivb/machconfig new file mode 100644 index 00000000..ffce0122 --- /dev/null +++ b/meta-romley/recipes-bsp/formfactor/formfactor/romley-ivb/machconfig @@ -0,0 +1,3 @@ +# Assume a USB mouse and keyboard are connected +HAVE_TOUCHSCREEN=0 +HAVE_KEYBOARD=1 diff --git a/meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config/romley-ivb/xorg.conf b/meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config/romley-ivb/xorg.conf new file mode 100644 index 00000000..28ad0bf7 --- /dev/null +++ b/meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config/romley-ivb/xorg.conf @@ -0,0 +1,26 @@ +Section "Device" + Identifier "Matrox MGA" + Driver "mga" +EndSection + +Section "Monitor" + Identifier "Generic Monitor" + Option "DPMS" +EndSection + +Section "Screen" + Identifier "Default Screen" + Device "Matrox MGA" + Monitor "Generic Monitor" + DefaultDepth 24 +EndSection + +Section "ServerLayout" + Identifier "Default Layout" + Screen "Default Screen" +EndSection + +Section "ServerFlags" + Option "DontZap" "0" + Option "AutoAddDevices" "False" +EndSection diff --git a/meta-romley/recipes-kernel/linux/linux-yocto_3.4.bbappend b/meta-romley/recipes-kernel/linux/linux-yocto_3.4.bbappend index 44a485b2..fc2c3037 100644 --- a/meta-romley/recipes-kernel/linux/linux-yocto_3.4.bbappend +++ b/meta-romley/recipes-kernel/linux/linux-yocto_3.4.bbappend @@ -8,6 +8,13 @@ KBRANCH_romley = "standard/common-pc-64/romley" SRCREV_machine_pn-linux-yocto_romley ?= "13809f2cfd9be0ce86bd486e1643f9b90bed6f4f" SRCREV_meta_pn-linux-yocto_romley ?= "f697e099bc76d5df3a307a5bc0cc25021dd6dfe0" +COMPATIBLE_MACHINE_romley-ivb = "romley-ivb" +KMACHINE_romley-ivb = "romley" +KBRANCH_romley-ivb = "standard/common-pc-64/romley" + +SRCREV_machine_pn-linux-yocto_romley-ivb ?= "13809f2cfd9be0ce86bd486e1643f9b90bed6f4f" +SRCREV_meta_pn-linux-yocto_romley-ivb ?= "f697e099bc76d5df3a307a5bc0cc25021dd6dfe0" + module_autoload_uio = "uio" LINUX_VERSION = "3.4.28" -- cgit v1.2.3-54-g00ecf