From 7a9871b623ade5e6339a716c5e15e5359b5a23a4 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 20 Jul 2011 08:04:13 +0200 Subject: [PATCH 1/3] linux: add patch to silence acpi warnings Signed-off-by: Stephan Raue --- .../patches/linux-3.0-rc7-072-silence_acpi-0.1.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/linux/patches/linux-3.0-rc7-072-silence_acpi-0.1.patch diff --git a/packages/linux/patches/linux-3.0-rc7-072-silence_acpi-0.1.patch b/packages/linux/patches/linux-3.0-rc7-072-silence_acpi-0.1.patch new file mode 100644 index 0000000000..155ff70ebf --- /dev/null +++ b/packages/linux/patches/linux-3.0-rc7-072-silence_acpi-0.1.patch @@ -0,0 +1,12 @@ +diff -Naur linux-3.0-rc7/arch/x86/pci/acpi.c linux-3.0-rc7.patch/arch/x86/pci/acpi.c +--- linux-3.0-rc7/arch/x86/pci/acpi.c 2011-07-12 01:51:52.000000000 +0200 ++++ linux-3.0-rc7.patch/arch/x86/pci/acpi.c 2011-07-20 07:46:08.959060136 +0200 +@@ -246,7 +246,7 @@ + + conflict = insert_resource_conflict(root, res); + if (conflict) +- dev_err(&info->bridge->dev, ++ dev_info(&info->bridge->dev, + "address space collision: host bridge window %pR " + "conflicts with %s %pR\n", + res, conflict->name, conflict); From f8e2c87a61c83d970e3f64eedc13693bd1f5632a Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 20 Jul 2011 09:00:15 +0200 Subject: [PATCH 2/3] new package: add package 'misc-firmware' Signed-off-by: Stephan Raue --- packages/linux-firmware/misc-firmware/build | 27 ++++++++++++++ packages/linux-firmware/misc-firmware/install | 26 ++++++++++++++ packages/linux-firmware/misc-firmware/meta | 36 +++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100755 packages/linux-firmware/misc-firmware/build create mode 100755 packages/linux-firmware/misc-firmware/install create mode 100644 packages/linux-firmware/misc-firmware/meta diff --git a/packages/linux-firmware/misc-firmware/build b/packages/linux-firmware/misc-firmware/build new file mode 100755 index 0000000000..16f37ff021 --- /dev/null +++ b/packages/linux-firmware/misc-firmware/build @@ -0,0 +1,27 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +cd $PKG_BUILD + +DESTDIR=.install ./install \ No newline at end of file diff --git a/packages/linux-firmware/misc-firmware/install b/packages/linux-firmware/misc-firmware/install new file mode 100755 index 0000000000..e15be287d7 --- /dev/null +++ b/packages/linux-firmware/misc-firmware/install @@ -0,0 +1,26 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +mkdir -p $INSTALL + cp -PR $PKG_BUILD/.install/* $INSTALL diff --git a/packages/linux-firmware/misc-firmware/meta b/packages/linux-firmware/misc-firmware/meta new file mode 100644 index 0000000000..1a4806079e --- /dev/null +++ b/packages/linux-firmware/misc-firmware/meta @@ -0,0 +1,36 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="misc-firmware" +PKG_VERSION="0.0.1" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="Free-to-use" +PKG_SITE="https://github.com/OpenELEC/misc-firmware" +PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="firmware" +PKG_SHORTDESC="misc-firmware: firmwares for various drivers" +PKG_LONGDESC="misc-firmware: firmwares for various drivers" +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no" From 6ad516fd3a64a57b06fe1732c0a9534b58d13506 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 20 Jul 2011 09:00:51 +0200 Subject: [PATCH 3/3] projects/*/options: enable build of misc-firmware Signed-off-by: Stephan Raue --- projects/ATV/options | 4 ++-- projects/Fusion/options | 6 +++--- projects/Generic/options | 6 +++--- projects/ION/options | 6 +++--- projects/Intel/options | 6 +++--- projects/Ultra/options | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/projects/ATV/options b/projects/ATV/options index ae2d2d3fd1..8356e52453 100644 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -215,9 +215,9 @@ # "none" for disable LCD support LCD_DRIVER="none" -# additional Firmware to use (dvb-firmware, wlan-firmware) +# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware) # Space separated list is supported, -# e.g. FIRMWARE="dvb-firmware, wlan-firmware" +# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware" FIRMWARE="dvb-firmware wlan-firmware" # build with lm_sensors hardware monitoring support (yes / no) diff --git a/projects/Fusion/options b/projects/Fusion/options index 1dda82ad16..8726f1ccf6 100644 --- a/projects/Fusion/options +++ b/projects/Fusion/options @@ -215,10 +215,10 @@ # "none" for disable LCD support LCD_DRIVER="irtrans,imon,imonlcd,mdm166a" -# additional Firmware to use (dvb-firmware, wlan-firmware) +# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware) # Space separated list is supported, -# e.g. FIRMWARE="dvb-firmware, wlan-firmware" - FIRMWARE="dvb-firmware wlan-firmware" +# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware" + FIRMWARE="dvb-firmware misc-firmware wlan-firmware" # build with lm_sensors hardware monitoring support (yes / no) SENSOR_SUPPORT="yes" diff --git a/projects/Generic/options b/projects/Generic/options index 625745abe8..ba5f1b57f5 100644 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -215,10 +215,10 @@ # "none" for disable LCD support LCD_DRIVER="irtrans,imon,imonlcd,mdm166a" -# additional Firmware to use (dvb-firmware, wlan-firmware) +# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware) # Space separated list is supported, -# e.g. FIRMWARE="dvb-firmware, wlan-firmware" - FIRMWARE="dvb-firmware wlan-firmware" +# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware" + FIRMWARE="dvb-firmware misc-firmware wlan-firmware" # build with lm_sensors hardware monitoring support (yes / no) SENSOR_SUPPORT="yes" diff --git a/projects/ION/options b/projects/ION/options index 9661063dc7..6bcad69027 100644 --- a/projects/ION/options +++ b/projects/ION/options @@ -215,10 +215,10 @@ # "none" for disable LCD support LCD_DRIVER="irtrans,imon,imonlcd,mdm166a" -# additional Firmware to use (dvb-firmware, wlan-firmware) +# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware) # Space separated list is supported, -# e.g. FIRMWARE="dvb-firmware, wlan-firmware" - FIRMWARE="dvb-firmware wlan-firmware" +# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware" + FIRMWARE="dvb-firmware misc-firmware wlan-firmware" # build with lm_sensors hardware monitoring support (yes / no) SENSOR_SUPPORT="yes" diff --git a/projects/Intel/options b/projects/Intel/options index 7e49c43972..ee9c45ab7a 100644 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -215,10 +215,10 @@ # "none" for disable LCD support LCD_DRIVER="irtrans,imon,imonlcd,mdm166a" -# additional Firmware to use (dvb-firmware, wlan-firmware) +# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware) # Space separated list is supported, -# e.g. FIRMWARE="dvb-firmware, wlan-firmware" - FIRMWARE="dvb-firmware wlan-firmware" +# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware" + FIRMWARE="dvb-firmware misc-firmware wlan-firmware" # build with lm_sensors hardware monitoring support (yes / no) SENSOR_SUPPORT="yes" diff --git a/projects/Ultra/options b/projects/Ultra/options index 306b2dd3c1..e92006b018 100644 --- a/projects/Ultra/options +++ b/projects/Ultra/options @@ -215,10 +215,10 @@ # "none" for disable LCD support LCD_DRIVER="imon,imonlcd" -# additional Firmware to use (dvb-firmware, wlan-firmware) +# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware) # Space separated list is supported, -# e.g. FIRMWARE="dvb-firmware, wlan-firmware" - FIRMWARE="dvb-firmware wlan-firmware" +# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware" + FIRMWARE="dvb-firmware misc-firmware wlan-firmware" # build with lm_sensors hardware monitoring support (yes / no) SENSOR_SUPPORT="yes"