]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Merge branch 'kernel-update' of ssh://git.ipfire.org/pub/git/ipfire-2.x into kernel...
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 28 Aug 2012 12:30:12 +0000 (08:30 -0400)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 28 Aug 2012 12:30:12 +0000 (08:30 -0400)
config/kernel/kernel.config.armv5tel-ipfire-rpi
config/rootfiles/common/armv5tel/rpi-firmware
lfs/linux
lfs/rpi-firmware
src/patches/linux-3.2-bcm2835-alsamixer.patch [deleted file]
src/patches/linux-3.2-bcm2835-limit_volume.patch [deleted file]
src/patches/linux-3.2.27-rpi_fix_dwc_common_build.patch [new file with mode: 0644]

index 4d434e01a7fc1ceb52206754ac6dd24c362e9f76..45bd74212fa3e6a9ed40e4850d8547448b637e58 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/arm 3.2.21 Kernel Configuration
+# Linux/arm 3.2.28 Kernel Configuration
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -122,10 +122,9 @@ CONFIG_PERF_USE_VMALLOC=y
 # CONFIG_PERF_EVENTS is not set
 # CONFIG_PERF_COUNTERS is not set
 CONFIG_VM_EVENT_COUNTERS=y
-CONFIG_SLUB_DEBUG=y
 # CONFIG_COMPAT_BRK is not set
-# CONFIG_SLAB is not set
-CONFIG_SLUB=y
+CONFIG_SLAB=y
+# CONFIG_SLUB is not set
 # CONFIG_SLOB is not set
 # CONFIG_PROFILING is not set
 CONFIG_HAVE_OPROFILE=y
@@ -3183,8 +3182,7 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_SCHEDSTATS is not set
 CONFIG_TIMER_STATS=y
 # CONFIG_DEBUG_OBJECTS is not set
-# CONFIG_SLUB_DEBUG_ON is not set
-# CONFIG_SLUB_STATS is not set
+# CONFIG_DEBUG_SLAB is not set
 # CONFIG_DEBUG_KMEMLEAK is not set
 # CONFIG_DEBUG_RT_MUTEXES is not set
 # CONFIG_RT_MUTEX_TESTER is not set
index e8b99d7b12bd3e315e44bdb98d4c98bca63e77de..4d5d27006af4e5a85be405934cfd8b8c42f3ef8a 100644 (file)
@@ -2,6 +2,7 @@
 boot/arm128_start.elf
 boot/arm192_start.elf
 boot/arm224_start.elf
+boot/arm240_start.elf
 boot/bootcode.bin
 boot/cmdline.txt
 #boot/first32k.bin
index 4161ae0a666a4d6cd50220e5ec833a98230c364c..d51c6df608c06d0e229c0ee415e15b7968ee0866 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -26,7 +26,7 @@ include Config
 
 VER           = 3.2.28
 
-RPI_PATCHES = linux-3.2-bootc-f23da7f
+RPI_PATCHES = linux-3.2.27-091073b
 
 THISAPP    = linux-$(VER)
 DL_FILE    = linux-$(VER).tar.bz2
@@ -76,7 +76,7 @@ $(DL_FILE)                            = $(URL_IPFIRE)/$(DL_FILE)
 rpi-patches-$(RPI_PATCHES).patch.xz    = $(URL_IPFIRE)/rpi-patches-$(RPI_PATCHES).patch.xz
 
 $(DL_FILE)_MD5                         = d387130f084f48fae7b2d1756f6c9257
-rpi-patches-$(RPI_PATCHES).patch.xz_MD5        = 5651c6411bb1cbdbfe4b2908c117aaf3
+rpi-patches-$(RPI_PATCHES).patch.xz_MD5        = 9daec752fba403a488818df6dd57a714
 
 install : $(TARGET)
 
@@ -152,8 +152,7 @@ endif
 ifeq "$(KCFG)" "-rpi"
        # Apply Raspberry Pi kernel patches.
        cd $(DIR_APP) && xzcat $(DIR_DL)/rpi-patches-$(RPI_PATCHES).patch.xz | patch -Np1
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.2-bcm2835-alsamixer.patch
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.2-bcm2835-limit_volume.patch
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.2.27-rpi_fix_dwc_common_build.patch
 endif
 
 ifeq "$(HEADERS)" "1"
index 4daec2f7a43e23d1e3f694a3c52728b9e8037904..b2afde2511ffa10ecb537d81639187f33a3a3c71 100644 (file)
@@ -24,8 +24,7 @@
 
 include Config
 
-VER        = 1309b3d
-
+VER        = b2200cd
 THISAPP    = rpi-firmware-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
@@ -41,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 90978c567f9bcd2aad2c1c138acb3518
+$(DL_FILE)_MD5 = d4b0a5b5fe8cdbe5df17aadd5ec60ff0
 
 install : $(TARGET)
 
diff --git a/src/patches/linux-3.2-bcm2835-alsamixer.patch b/src/patches/linux-3.2-bcm2835-alsamixer.patch
deleted file mode 100644 (file)
index bfe3d02..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -Naur linux-3.2.19.org/sound/arm/bcm2835-ctl.c linux-3.2.19/sound/arm/bcm2835-ctl.c
---- linux-3.2.19.org/sound/arm/bcm2835-ctl.c   2012-06-04 21:11:15.000000000 +0200
-+++ linux-3.2.19/sound/arm/bcm2835-ctl.c       2012-06-04 21:32:37.969298501 +0200
-@@ -33,6 +33,19 @@
- #include "bcm2835.h"
-+
-+/* functions to convert alsa to chip volume and back. */
-+int alsa2chip(int vol)
-+{
-+      return -((vol << 8) / 100);
-+}
-+
-+int chip2alsa(int vol)
-+{
-+      return -((vol * 100) >> 8);
-+}
-+
-+
- static int snd_bcm2835_ctl_info(struct snd_kcontrol *kcontrol,
-                               struct snd_ctl_elem_info *uinfo)
- {
-@@ -64,7 +77,7 @@
-       BUG_ON(!chip && !(chip->avail_substreams & AVAIL_SUBSTREAMS_MASK));
-       if (kcontrol->private_value == PCM_PLAYBACK_VOLUME)
--              ucontrol->value.integer.value[0] = chip->volume;
-+              ucontrol->value.integer.value[0] = chip2alsa(chip->volume);
-       else if (kcontrol->private_value == PCM_PLAYBACK_MUTE)
-               ucontrol->value.integer.value[0] = chip->mute;
-       else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE)
-@@ -85,13 +98,10 @@
-                       changed = 1;
-               }
-               if (changed
--                  || (ucontrol->value.integer.value[0] != chip->volume)) {
--                      int atten;
-+                  || (ucontrol->value.integer.value[0] != chip2alsa(chip->volume))) {
--                      chip->volume = ucontrol->value.integer.value[0];
-+                      chip->volume = alsa2chip(ucontrol->value.integer.value[0]);
-                       changed = 1;
--                      atten = -((chip->volume << 8) / 100);
--                      chip->volume = atten;
-               }
-       } else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) {
diff --git a/src/patches/linux-3.2-bcm2835-limit_volume.patch b/src/patches/linux-3.2-bcm2835-limit_volume.patch
deleted file mode 100644 (file)
index 930033b..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur linux-3.2.19.org/sound/arm/bcm2835-ctl.c linux-3.2.19/sound/arm/bcm2835-ctl.c
---- linux-3.2.19.org/sound/arm/bcm2835-ctl.c   2012-06-04 22:38:54.000000000 +0200
-+++ linux-3.2.19/sound/arm/bcm2835-ctl.c       2012-06-05 22:37:46.343725845 +0200
-@@ -53,7 +53,7 @@
-               uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
-               uinfo->count = 1;
-               uinfo->value.integer.min = -10240;
--              uinfo->value.integer.max = 2303;
-+              uinfo->value.integer.max = 400;      /* 2303 */
-       } else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) {
-               uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
-               uinfo->count = 1;
diff --git a/src/patches/linux-3.2.27-rpi_fix_dwc_common_build.patch b/src/patches/linux-3.2.27-rpi_fix_dwc_common_build.patch
new file mode 100644 (file)
index 0000000..f46c57c
--- /dev/null
@@ -0,0 +1,38 @@
+diff -Naur linux-3.2.27.org/drivers/usb/host/dwc_common_port/Makefile linux-3.2.27/drivers/usb/host/dwc_common_port/Makefile
+--- linux-3.2.27.org/drivers/usb/host/dwc_common_port/Makefile 2012-08-21 05:05:46.000000000 -0400
++++ linux-3.2.27/drivers/usb/host/dwc_common_port/Makefile     2012-08-21 06:32:23.501695852 -0400
+@@ -30,15 +30,6 @@
+ else
+-ifeq ($(KDIR),)
+-$(error Must give "KDIR=/path/to/kernel/source" on command line or in environment)
+-endif
+-
+-ifeq ($(ARCH),)
+-$(error Must give "ARCH=<arch>" on command line or in environment. Also, if \
+- cross-compiling, must give "CROSS_COMPILE=/path/to/compiler/plus/tool-prefix-")
+-endif
+-
+ ifeq ($(DOXYGEN),)
+ DOXYGEN               := doxygen
+ endif
+diff -Naur linux-3.2.27.org/drivers/usb/host/dwc_common_port/Makefile.linux linux-3.2.27/drivers/usb/host/dwc_common_port/Makefile.linux
+--- linux-3.2.27.org/drivers/usb/host/dwc_common_port/Makefile.linux   2012-08-21 05:05:46.000000000 -0400
++++ linux-3.2.27/drivers/usb/host/dwc_common_port/Makefile.linux       2012-08-21 05:22:35.964969680 -0400
+@@ -21,15 +21,6 @@
+ else
+-ifeq ($(KDIR),)
+-$(error Must give "KDIR=/path/to/kernel/source" on command line or in environment)
+-endif
+-
+-ifeq ($(ARCH),)
+-$(error Must give "ARCH=<arch>" on command line or in environment. Also, if \
+- cross-compiling, must give "CROSS_COMPILE=/path/to/compiler/plus/tool-prefix-")
+-endif
+-
+ ifeq ($(DOXYGEN),)
+ DOXYGEN               := doxygen
+ endif