From 5c41b9b6a245664543e6ddd440d10a0696caaf7b Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Wed, 17 Aug 2011 11:30:10 -0700 Subject: n450: decouple from meta-yocto atom-pc machine config Fixes [YOCTO 1353] The meta-yocto atom-pc is a more generic BSP than is needed for the Intel n450. Decouple the n450.conf from the meta-yocto atom-pc.conf. Add a linux-yocto_3.0.bbappend recipe. In the process: o remove MACHINE_FEATURES wifi and add serial o specify linux-yocto version 3.0 o specify linux-libc-headers-yocto Signed-off-by: Darren Hart --- meta-n450/conf/machine/n450.conf | 32 +++++++++++++++++++--- .../recipes-kernel/linux/linux-yocto_3.0.bbappend | 9 ++++++ 2 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 meta-n450/recipes-kernel/linux/linux-yocto_3.0.bbappend (limited to 'meta-n450') diff --git a/meta-n450/conf/machine/n450.conf b/meta-n450/conf/machine/n450.conf index f9cf4f2a..888c5d2e 100644 --- a/meta-n450/conf/machine/n450.conf +++ b/meta-n450/conf/machine/n450.conf @@ -3,13 +3,37 @@ #@DESCRIPTION: Machine configuration for Intel 1-N450 based systems -require conf/machine/atom-pc.conf +include conf/machine/include/tune-atom.inc + +MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 \ + acpi serial" + +KERNEL_IMAGETYPE = "bzImage" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto = "3.0+git%" +PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" +PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" +PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" +PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite" +XSERVER ?= "xserver-xf86-dri-lite \ + xf86-input-mouse \ + xf86-input-keyboard \ + xf86-input-evdev \ + xf86-input-synaptics \ + xf86-video-intel \ + mesa-dri-driver-i915" SYSLINUX_OPTS = "serial 0 115200" SERIAL_CONSOLE = "115200 ttyS0" APPEND += "console=ttyS0,115200 console=tty0" -PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts n450-audio" + +IMAGE_FSTYPES ?= "ext3 cpio.gz live" + +GLIBC_ADDONS = "nptl" +GLIBC_EXTRA_OECONF = "--with-tls" -# Ensure the bsp packages are installed -MACHINE_EXTRA_RRECOMMENDS += " n450-audio " +ROOTLESS_X = "1" diff --git a/meta-n450/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-n450/recipes-kernel/linux/linux-yocto_3.0.bbappend new file mode 100644 index 00000000..c1b69aab --- /dev/null +++ b/meta-n450/recipes-kernel/linux/linux-yocto_3.0.bbappend @@ -0,0 +1,9 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +COMPATIBLE_MACHINE_n450 = "n450" +KMACHINE_n450 = "yocto/standard/common-pc/atom-pc" + +# The n450 is a single core hypterthreaded CPU +KERNEL_FEATURES_append_n450 += " cfg/smp.scc" + +SRCREV_machine_pn-linux-yocto_n450 = "c54453332efbd86c2ea3caa64e908b39cfac1e76" +#SRCREV_meta_pn-linux-yocto_n450 ?= XXXX -- cgit v1.2.3-54-g00ecf