Browse Source

kernel bump, add hifiberry device drivers

Waldemar Brodkorb 11 years ago
parent
commit
5ab921af63
31 changed files with 297 additions and 254 deletions
  1. 3 3
      Config.in
  2. 3 3
      mk/kernel-ver.mk
  3. 19 2
      mk/modules.mk
  4. 28 5
      target/linux/config/Config.in.audio
  5. 7 4
      target/linux/config/Config.in.netfilter.ip4
  6. 0 0
      target/linux/patches/3.13.6/bsd-compatibility.patch
  7. 0 0
      target/linux/patches/3.13.6/defaults.patch
  8. 0 0
      target/linux/patches/3.13.6/disable-netfilter.patch
  9. 0 0
      target/linux/patches/3.13.6/export-symbol-for-exmap.patch
  10. 0 0
      target/linux/patches/3.13.6/gemalto.patch
  11. 0 0
      target/linux/patches/3.13.6/lemote-rfkill.patch
  12. 0 0
      target/linux/patches/3.13.6/microblaze-axi.patch
  13. 0 0
      target/linux/patches/3.13.6/microblaze-ethernet.patch
  14. 0 0
      target/linux/patches/3.13.6/microblaze-setup.patch
  15. 0 0
      target/linux/patches/3.13.6/mtd-rootfs.patch
  16. 0 0
      target/linux/patches/3.13.6/non-static.patch
  17. 0 0
      target/linux/patches/3.13.6/ppc64-missing-zlib.patch
  18. 0 0
      target/linux/patches/3.13.6/ppc64-missing_arch_random.patch
  19. 237 237
      target/linux/patches/3.13.6/raspberry.patch
  20. 0 0
      target/linux/patches/3.13.6/startup.patch
  21. 0 0
      target/linux/patches/3.13.6/uuid.patch
  22. 0 0
      target/linux/patches/3.13.6/vga-cons-default-off.patch
  23. 0 0
      target/linux/patches/3.13.6/wlan-cf.patch
  24. 0 0
      target/linux/patches/3.13.6/xargs.patch
  25. 0 0
      target/linux/patches/3.13.6/zlib-inflate.patch
  26. 0 0
      toolchain/kernel-headers/patches/3.13.6/cleankernel.patch
  27. 0 0
      toolchain/kernel-headers/patches/3.13.6/microperl.patch
  28. 0 0
      toolchain/kernel-headers/patches/3.13.6/mkpiggy.patch
  29. 0 0
      toolchain/kernel-headers/patches/3.13.6/relocs.patch
  30. 0 0
      toolchain/kernel-headers/patches/3.13.6/sgidefs.patch
  31. 0 0
      toolchain/kernel-headers/patches/3.13.6/sortext.patch

+ 3 - 3
Config.in

@@ -109,8 +109,8 @@ depends on !ADK_TOOLCHAIN_ONLY && !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_
 choice
 choice
 prompt "Kernel Version"
 prompt "Kernel Version"
 
 
-config ADK_KERNEL_VERSION_3_13_5
-	prompt "3.13.5"
+config ADK_KERNEL_VERSION_3_13_6
+	prompt "3.13.6"
 	boolean
 	boolean
 
 
 config ADK_KERNEL_VERSION_3_12_13
 config ADK_KERNEL_VERSION_3_12_13
@@ -133,7 +133,7 @@ endchoice
 
 
 config ADK_KERNEL_VERSION
 config ADK_KERNEL_VERSION
 	string
 	string
-	default "3.13.5" if ADK_KERNEL_VERSION_3_13_5
+	default "3.13.6" if ADK_KERNEL_VERSION_3_13_6
 	default "3.12.13" if ADK_KERNEL_VERSION_3_12_13
 	default "3.12.13" if ADK_KERNEL_VERSION_3_12_13
 	default "3.11.10" if ADK_KERNEL_VERSION_3_11_10
 	default "3.11.10" if ADK_KERNEL_VERSION_3_11_10
 	default "3.10.30" if ADK_KERNEL_VERSION_3_10_30
 	default "3.10.30" if ADK_KERNEL_VERSION_3_10_30

+ 3 - 3
mk/kernel-ver.mk

@@ -4,11 +4,11 @@ KERNEL_MOD_VERSION:=	$(KERNEL_VERSION)
 KERNEL_RELEASE:=	1
 KERNEL_RELEASE:=	1
 KERNEL_MD5SUM:=		345f5883cfb906dac4aef87e303d3a2d
 KERNEL_MD5SUM:=		345f5883cfb906dac4aef87e303d3a2d
 endif
 endif
-ifeq ($(ADK_KERNEL_VERSION_3_13_5),y)
-KERNEL_VERSION:=	3.13.5
+ifeq ($(ADK_KERNEL_VERSION_3_13_6),y)
+KERNEL_VERSION:=	3.13.6
 KERNEL_MOD_VERSION:=	$(KERNEL_VERSION)
 KERNEL_MOD_VERSION:=	$(KERNEL_VERSION)
 KERNEL_RELEASE:=	1
 KERNEL_RELEASE:=	1
-KERNEL_MD5SUM:=		b9fa20262a7ecbbc3277aa2ee10412da
+KERNEL_MD5SUM:=		445aa27da818617409982f42902a6e41
 endif
 endif
 ifeq ($(ADK_KERNEL_VERSION_3_12_13),y)
 ifeq ($(ADK_KERNEL_VERSION_3_12_13),y)
 KERNEL_VERSION:=	3.12.13
 KERNEL_VERSION:=	3.12.13

+ 19 - 2
mk/modules.mk

@@ -1198,8 +1198,11 @@ $(eval $(call KMOD_template,SND_CS5535AUDIO,snd-cs5535audio,\
 	$(MODULES_DIR)/kernel/sound/pci/cs5535audio/snd-cs5535audio \
 	$(MODULES_DIR)/kernel/sound/pci/cs5535audio/snd-cs5535audio \
 ,55))
 ,55))
 
 
-$(eval $(call KMOD_template,SND_PXA2XX_SOC_SPITZ,snd-pxa2xx-soc-spitz,\
+$(eval $(call KMOD_template,SND_SOC,snd-soc,\
 	$(MODULES_DIR)/kernel/sound/soc/snd-soc-core \
 	$(MODULES_DIR)/kernel/sound/soc/snd-soc-core \
+,54))
+
+$(eval $(call KMOD_template,SND_PXA2XX_SOC_SPITZ,snd-pxa2xx-soc-spitz,\
 	$(MODULES_DIR)/kernel/sound/arm/snd-pxa2xx-lib \
 	$(MODULES_DIR)/kernel/sound/arm/snd-pxa2xx-lib \
 	$(MODULES_DIR)/kernel/sound/arm/snd-pxa2xx-pcm \
 	$(MODULES_DIR)/kernel/sound/arm/snd-pxa2xx-pcm \
 	$(MODULES_DIR)/kernel/sound/arm/snd-pxa2xx-ac97 \
 	$(MODULES_DIR)/kernel/sound/arm/snd-pxa2xx-ac97 \
@@ -1207,12 +1210,26 @@ $(eval $(call KMOD_template,SND_PXA2XX_SOC_SPITZ,snd-pxa2xx-soc-spitz,\
 	$(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-pxa2xx-i2s \
 	$(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-pxa2xx-i2s \
 	$(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-pxa2xx \
 	$(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-pxa2xx \
 	$(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-spitz \
 	$(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-spitz \
-,55))
+,55, kmod-snd-soc))
 
 
 $(eval $(call KMOD_template,SND_BCM2835,snd-bcm2835,\
 $(eval $(call KMOD_template,SND_BCM2835,snd-bcm2835,\
 	$(MODULES_DIR)/kernel/sound/arm/snd-bcm2835 \
 	$(MODULES_DIR)/kernel/sound/arm/snd-bcm2835 \
 ,55))
 ,55))
 
 
+$(eval $(call KMOD_template,SND_BCM2708_SOC_I2S,snd-bcm2709-soc-i2s,\
+	$(MODULES_DIR)/kernel/sound/soc/codecs/snd-soc-pcm5102a \
+	$(MODULES_DIR)/kernel/sound/soc/codecs/snd-soc-wm8804 \
+	$(MODULES_DIR)/kernel/sound/soc/bcm/snd-soc-bcm2708-i2s \
+,55, kmod-snd-soc))
+
+$(eval $(call KMOD_template,SND_BCM2708_SOC_HIFIBERRY_DAC,snd-bcm2709-soc-hifiberry-dac,\
+	$(MODULES_DIR)/kernel/sound/soc/bcm/snd-soc-hifiberry-dac \
+,56, kmod-snd-bcm2709-soc-i2s))
+
+$(eval $(call KMOD_template,SND_BCM2708_SOC_HIFIBERRY_DAC,snd-bcm2709-soc-hifiberry-dac,\
+	$(MODULES_DIR)/kernel/sound/soc/bcm/snd-soc-hifiberry-digi \
+,56, kmod-snd-bcm2709-soc-i2s))
+
 #ifeq ($(ADK_LINUX_64),y)
 #ifeq ($(ADK_LINUX_64),y)
 #V4L_COMPAT:=drivers/media/video/v4l2-compat-ioctl32
 #V4L_COMPAT:=drivers/media/video/v4l2-compat-ioctl32
 #endif
 #endif

+ 28 - 5
target/linux/config/Config.in.audio

@@ -7,9 +7,6 @@ config ADK_KERNEL_SND_ARM
 config ADK_KERNEL_SND_USB
 config ADK_KERNEL_SND_USB
 	boolean
 	boolean
 
 
-config ADK_KERNEL_SND_SOC
-	boolean
-
 config ADK_KERNEL_SND_PXA2XX_AC97
 config ADK_KERNEL_SND_PXA2XX_AC97
 	boolean
 	boolean
 
 
@@ -105,6 +102,10 @@ config ADK_KPACKAGE_KMOD_SND_CS5535AUDIO
 	help
 	help
 	 ALSA AMD CS5535 driver
 	 ALSA AMD CS5535 driver
 
 
+config ADK_KPACKAGE_KMOD_SND_SOC
+	tristate
+	default n
+
 config ADK_KERNEL_SND_PXA2XX_SOC
 config ADK_KERNEL_SND_PXA2XX_SOC
 	tristate
 	tristate
 	default n
 	default n
@@ -113,10 +114,10 @@ config ADK_KPACKAGE_KMOD_SND_PXA2XX_SOC_SPITZ
 	prompt "kmod-snd-pxa2xx-soc-spitz..... ALSA SOC Sharp Zaurus"
 	prompt "kmod-snd-pxa2xx-soc-spitz..... ALSA SOC Sharp Zaurus"
 	tristate
 	tristate
 	select ADK_KERNEL_SND_ARM
 	select ADK_KERNEL_SND_ARM
-	select ADK_KERNEL_SND_SOC
 	select ADK_KERNEL_SND_PXA2XX_AC97
 	select ADK_KERNEL_SND_PXA2XX_AC97
-	select ADK_KPACKAGE_KMOD_SND_AC97_CODEC
 	select ADK_KPACKAGE_KMOD_SND
 	select ADK_KPACKAGE_KMOD_SND
+	select ADK_KPACKAGE_KMOD_SND_AC97_CODEC
+	select ADK_KPACKAGE_KMOD_SND_SOC
 	select ADK_KERNEL_SND_PXA2XX_SOC
 	select ADK_KERNEL_SND_PXA2XX_SOC
 	depends on ADK_TARGET_SYSTEM_SHARP_ZAURUS
 	depends on ADK_TARGET_SYSTEM_SHARP_ZAURUS
 	default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
 	default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
@@ -131,4 +132,26 @@ config ADK_KPACKAGE_KMOD_SND_BCM2835
 	default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
 	default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
 	default n
 	default n
 
 
+config ADK_KPACKAGE_KMOD_SND_BCM2708_SOC_I2S
+	prompt "kmod-snd-bcm2708-soc-i2s........ ALSA SOC I2S Raspberry PI"
+	select ADK_KPACKAGE_KMOD_SND
+	select ADK_KERNEL_SND_ARM
+	select ADK_KPACKAGE_KMOD_SND_SOC
+	boolean
+	default n
+
+config ADK_KPACKAGE_KMOD_SND_BCM2708_SOC_HIFIBERRY_DAC
+	prompt "kmod-snd-bcm2708-hifiberry-dac.... ALSA for Raspberry PI with hifiberry DAC"
+	tristate
+	select ADK_KPACKAGE_KMOD_SND_BCM2708_SOC_I2S
+	depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
+	default n
+
+config ADK_KPACKAGE_KMOD_SND_BCM2708_SOC_HIFIBERRY_DIGI
+	prompt "kmod-snd-bcm2708-hifiberry-digi... ALSA for Raspberry PI with hifiberry DIGI"
+	tristate
+	select ADK_KPACKAGE_KMOD_SND_BCM2708_SOC_I2S
+	depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
+	default n
+
 endmenu
 endmenu

+ 7 - 4
target/linux/config/Config.in.netfilter.ip4

@@ -37,9 +37,10 @@ config ADK_KPACKAGE_KMOD_IP_NF_FILTER
 config ADK_KPACKAGE_KMOD_FULL_NAT
 config ADK_KPACKAGE_KMOD_FULL_NAT
 	tristate "Meta package for Full NAT"
 	tristate "Meta package for Full NAT"
 	select ADK_KPACKAGE_KMOD_NF_NAT if ADK_KERNEL_VERSION_3_4_82
 	select ADK_KPACKAGE_KMOD_NF_NAT if ADK_KERNEL_VERSION_3_4_82
+	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_10_30
 	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_11_10
 	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_11_10
-	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_12_11
-	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_13_5
+	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_12_13
+	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_13_6
 
 
 config ADK_KPACKAGE_KMOD_NF_NAT
 config ADK_KPACKAGE_KMOD_NF_NAT
 	tristate 'Full NAT'
 	tristate 'Full NAT'
@@ -53,8 +54,10 @@ config ADK_KPACKAGE_KMOD_NF_NAT
 config ADK_KPACKAGE_KMOD_NF_NAT_IPV4
 config ADK_KPACKAGE_KMOD_NF_NAT_IPV4
 	tristate 'Full NAT'
 	tristate 'Full NAT'
 	depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
 	depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
-	depends on ADK_KERNEL_VERSION_3_11_10 || ADK_KERNEL_VERSION_3_12_11 \
-		|| ADK_KERNEL_VERSION_3_13_5
+	depends on ADK_KERNEL_VERSION_3_10_30 \
+		|| ADK_KERNEL_VERSION_3_11_10 \
+		|| ADK_KERNEL_VERSION_3_12_13 \
+		|| ADK_KERNEL_VERSION_3_13_6
 	help
 	help
 	  The Full NAT option allows masquerading, port forwarding and other
 	  The Full NAT option allows masquerading, port forwarding and other
 	  forms of full Network Address Port Translation.  It is controlled by
 	  forms of full Network Address Port Translation.  It is controlled by

+ 0 - 0
target/linux/patches/3.13.5/bsd-compatibility.patch → target/linux/patches/3.13.6/bsd-compatibility.patch


+ 0 - 0
target/linux/patches/3.13.5/defaults.patch → target/linux/patches/3.13.6/defaults.patch


+ 0 - 0
target/linux/patches/3.13.5/disable-netfilter.patch → target/linux/patches/3.13.6/disable-netfilter.patch


+ 0 - 0
target/linux/patches/3.13.5/export-symbol-for-exmap.patch → target/linux/patches/3.13.6/export-symbol-for-exmap.patch


+ 0 - 0
target/linux/patches/3.13.5/gemalto.patch → target/linux/patches/3.13.6/gemalto.patch


+ 0 - 0
target/linux/patches/3.13.5/lemote-rfkill.patch → target/linux/patches/3.13.6/lemote-rfkill.patch


+ 0 - 0
target/linux/patches/3.13.5/microblaze-axi.patch → target/linux/patches/3.13.6/microblaze-axi.patch


+ 0 - 0
target/linux/patches/3.13.5/microblaze-ethernet.patch → target/linux/patches/3.13.6/microblaze-ethernet.patch


+ 0 - 0
target/linux/patches/3.13.5/microblaze-setup.patch → target/linux/patches/3.13.6/microblaze-setup.patch


+ 0 - 0
target/linux/patches/3.13.5/mtd-rootfs.patch → target/linux/patches/3.13.6/mtd-rootfs.patch


+ 0 - 0
target/linux/patches/3.13.5/non-static.patch → target/linux/patches/3.13.6/non-static.patch


+ 0 - 0
target/linux/patches/3.13.5/ppc64-missing-zlib.patch → target/linux/patches/3.13.6/ppc64-missing-zlib.patch


+ 0 - 0
target/linux/patches/3.13.5/ppc64-missing_arch_random.patch → target/linux/patches/3.13.6/ppc64-missing_arch_random.patch


File diff suppressed because it is too large
+ 237 - 237
target/linux/patches/3.13.6/raspberry.patch


+ 0 - 0
target/linux/patches/3.13.5/startup.patch → target/linux/patches/3.13.6/startup.patch


+ 0 - 0
target/linux/patches/3.13.5/uuid.patch → target/linux/patches/3.13.6/uuid.patch


+ 0 - 0
target/linux/patches/3.13.5/vga-cons-default-off.patch → target/linux/patches/3.13.6/vga-cons-default-off.patch


+ 0 - 0
target/linux/patches/3.13.5/wlan-cf.patch → target/linux/patches/3.13.6/wlan-cf.patch


+ 0 - 0
target/linux/patches/3.13.5/xargs.patch → target/linux/patches/3.13.6/xargs.patch


+ 0 - 0
target/linux/patches/3.13.5/zlib-inflate.patch → target/linux/patches/3.13.6/zlib-inflate.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.5/cleankernel.patch → toolchain/kernel-headers/patches/3.13.6/cleankernel.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.5/microperl.patch → toolchain/kernel-headers/patches/3.13.6/microperl.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.5/mkpiggy.patch → toolchain/kernel-headers/patches/3.13.6/mkpiggy.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.5/relocs.patch → toolchain/kernel-headers/patches/3.13.6/relocs.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.5/sgidefs.patch → toolchain/kernel-headers/patches/3.13.6/sgidefs.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.5/sortext.patch → toolchain/kernel-headers/patches/3.13.6/sortext.patch


Some files were not shown because too many files changed in this diff