update to 3.12.34.20141207git [release 3.12.34.20141207git-1mamba;Sun Dec 07 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 01:27:45 +01:00
parent 81643d4d45
commit 1d3743d776
4 changed files with 1411 additions and 464 deletions

View File

@ -0,0 +1,13 @@
--- linux-3.14.6.20140831git/drivers/usb/core/otg_whitelist.h.orig 2014-09-05 12:02:52.815853952 +0200
+++ linux-3.14.6.20140831git/drivers/usb/core/otg_whitelist.h 2014-09-05 12:04:00.539621786 +0200
@@ -107,8 +107,10 @@
if (dev->descriptor.idVendor == 0x1a0a &&
dev->descriptor.idProduct == 0xbadd) {
return 0;
+#ifndef CONFIG_USB_OTG_WHITELIST
} else if (!enable_whitelist) {
return 1;
+#endif
} else {
#ifdef DEBUG

View File

@ -0,0 +1,25 @@
--- linux-3.14.6.20140831git/sound/soc/codecs/pcm512x.c.orig 2014-09-08 15:20:08.871270123 +0200
+++ linux-3.14.6.20140831git/sound/soc/codecs/pcm512x.c 2014-09-08 15:56:55.506471261 +0200
@@ -490,7 +490,6 @@
pcm512x->supplies);
}
-/* TODO
static int pcm512x_suspend(struct device *dev)
{
struct pcm512x_priv *pcm512x = dev_get_drvdata(dev);
@@ -553,13 +552,11 @@
return 0;
}
-// END OF PCM512x_suspend and resume calls TODO
-*/
-
static const struct dev_pm_ops pcm512x_pm_ops = {
SET_RUNTIME_PM_OPS(pcm512x_suspend, pcm512x_resume, NULL)
};
+
#if IS_ENABLED(CONFIG_I2C)
static int pcm512x_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)

View File

@ -1,5 +1,5 @@
# openmamba kernel specfile for embedded kernels # openmamba kernel specfile for embedded kernels
# Copyright (C) 2011-2013 by Silvan Calarco # Copyright (C) 2011-2014 by Silvan Calarco
# #
# To build a specific target: # To build a specific target:
# #
@ -14,6 +14,7 @@
# #
%define kernel_ver %(echo %version | cut -d. -f1-3) %define kernel_ver %(echo %version | cut -d. -f1-3)
%define gitdirver %(echo %version | cut -d. -f1-2)
%define KERNEL_TARGET rpi %define KERNEL_TARGET rpi
@ -60,7 +61,7 @@
%define _use_internal_dependency_generator 1 %define _use_internal_dependency_generator 1
Name: kernel-rpi Name: kernel-rpi
Version: 3.6.11.20130909git Version: 3.12.34.20141207git
Release: 1mamba Release: 1mamba
Summary: The Linux Kernel, the operating system core itself for the RaspberryPI Summary: The Linux Kernel, the operating system core itself for the RaspberryPI
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
@ -68,15 +69,23 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/raspberrypi/linux URL: https://github.com/raspberrypi/linux
Source0: git://github.com/raspberrypi/linux.git/rpi-3.6.y/linux-%{version}.tar.bz2 Source0: git://github.com/raspberrypi/linux.git/rpi-%{gitdirver}.y/linux-%{version}.tar.bz2
Source20: %{name}-logo.png Source20: %{name}-logo.png
Source100: %{name}-%{version}-arm-config Source100: %{name}-%{version}-arm-config
Patch0: kernel-rpi-3.14.6.20140831git-buildfix-otg_whitelist.patch
Patch1: kernel-rpi-3.14.6.20140831git-buildfix-pcm512x.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libperl
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: /bin/bash /bin/sh /usr/bin/perl BuildRequires: /bin/bash /bin/sh /usr/bin/perl
BuildRequires: kmod BuildRequires: kmod
BuildRequires: mkbootimg BuildRequires: mkbootimg
Provides: kernel Provides: kernel
Requires(post): dracut Requires(post): dracut
Requires: linux_firmware
BuildRoot: %{_tmppath}/%{name}-build BuildRoot: %{_tmppath}/%{name}-build
%description %description
@ -135,6 +144,16 @@ Provides: kernelmodulesextra
%description modules-extra %description modules-extra
The kernel-modules-extra package contains extra modules not normally used by the device. The kernel-modules-extra package contains extra modules not normally used by the device.
%package firmware
Group: System/Kernel and Hardware
Summary: Firmware files used by %{name}
Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
Provides: kernelfirmware = %{version}
Provides: linux_firmware
%description firmware
Firmware files used by the Linux Kernel.
%prep %prep
%setup -q -n linux-%{version} %setup -q -n linux-%{version}
#-D -T #-D -T
@ -149,7 +168,8 @@ The kernel-modules-extra package contains extra modules not normally used by the
# #
# patch and configure STANDARD kernel # patch and configure STANDARD kernel
# #
#% patch0 -p1
#% patch1 -p1
make mrproper make mrproper
# create build dirs for each kernel # create build dirs for each kernel
@ -368,9 +388,24 @@ exit 0
/lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/modules.order /lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/modules.order
%dir /lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel %dir /lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel
/lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel/* /lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel/*
%files firmware
%defattr (-, root, root)
%dir /lib/firmware %dir /lib/firmware
/lib/firmware /lib/firmware/*
%changelog %changelog
* Sun Dec 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.34.20141207git-1mamba
- update to 3.12.34.20141207git
* Sat Dec 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.6.20140831git-3mamba
- rebuilt with newer gcc to see if it works
* Sat Sep 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.6.20140831git-2mamba
- update configuration, sync with arch/arm/configs/bcmrpi_defconfig
* Sun Aug 31 2014 Automatic Build System <autodist@mambasoft.it> 3.14.6.20140831git-1mamba
- update to 3.14.6.20140831git
* Mon Sep 09 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.11.20130909git-1mamba * Mon Sep 09 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.11.20130909git-1mamba
- package created from kernel-hannspad template - package created from kernel-hannspad template