mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
core/linux-armv7 to 4.5.0-1
This commit is contained in:
parent
56e6ee6528
commit
9fbe118ec6
11 changed files with 398 additions and 315 deletions
|
@ -1,7 +1,7 @@
|
||||||
From ababfcd0229b6d53ac9d3195bc04eb43aaccded5 Mon Sep 17 00:00:00 2001
|
From 7a5c6503ca3622ce2586526e73053d841e4f6586 Mon Sep 17 00:00:00 2001
|
||||||
From: Willy Tarreau <w@xxxxxx>
|
From: Willy Tarreau <w@xxxxxx>
|
||||||
Date: Sun, 2 Dec 2012 19:59:28 +0100
|
Date: Sun, 2 Dec 2012 19:59:28 +0100
|
||||||
Subject: [PATCH 1/9] ARM: atags: add support for Marvell's u-boot
|
Subject: [PATCH 1/8] ARM: atags: add support for Marvell's u-boot
|
||||||
|
|
||||||
Marvell uses a specific atag in its u-boot which includes among other
|
Marvell uses a specific atag in its u-boot which includes among other
|
||||||
information the MAC addresses for up to 4 network interfaces.
|
information the MAC addresses for up to 4 network interfaces.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 47254a5411f1185a8c3fa6447586f5ee3361537f Mon Sep 17 00:00:00 2001
|
From 040d668336081568cd29c4d70955bb90827e382a Mon Sep 17 00:00:00 2001
|
||||||
From: Willy Tarreau <w@xxxxxx>
|
From: Willy Tarreau <w@xxxxxx>
|
||||||
Date: Sun, 2 Dec 2012 19:56:58 +0100
|
Date: Sun, 2 Dec 2012 19:56:58 +0100
|
||||||
Subject: [PATCH 2/9] ARM: atags/fdt: retrieve MAC addresses from Marvell boot
|
Subject: [PATCH 2/8] ARM: atags/fdt: retrieve MAC addresses from Marvell boot
|
||||||
loader
|
loader
|
||||||
|
|
||||||
The atags are parsed and if a Marvell atag is found, up to 4 MAC
|
The atags are parsed and if a Marvell atag is found, up to 4 MAC
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 01720ccc90f4d69ef888bf1d0f324ae0879dd2f8 Mon Sep 17 00:00:00 2001
|
From 19dd2897d9d753a42e9610ff7ebc4370e995474e Mon Sep 17 00:00:00 2001
|
||||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
Date: Fri, 5 Sep 2014 15:41:19 -0600
|
Date: Fri, 5 Sep 2014 15:41:19 -0600
|
||||||
Subject: [PATCH 3/9] SMILE Plug device tree file
|
Subject: [PATCH 3/8] SMILE Plug device tree file
|
||||||
|
|
||||||
This adds a dts file for the SMILE Plug, which only differs from the Mirabox
|
This adds a dts file for the SMILE Plug, which only differs from the Mirabox
|
||||||
dts with the LED definitions.
|
dts with the LED definitions.
|
||||||
|
@ -14,10 +14,10 @@ Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
create mode 100644 arch/arm/boot/dts/armada-370-smileplug.dts
|
create mode 100644 arch/arm/boot/dts/armada-370-smileplug.dts
|
||||||
|
|
||||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||||
index 30bbc37..b969c1c 100644
|
index a4a6d70..c710c30 100644
|
||||||
--- a/arch/arm/boot/dts/Makefile
|
--- a/arch/arm/boot/dts/Makefile
|
||||||
+++ b/arch/arm/boot/dts/Makefile
|
+++ b/arch/arm/boot/dts/Makefile
|
||||||
@@ -734,6 +734,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \
|
@@ -767,6 +767,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \
|
||||||
armada-370-db.dtb \
|
armada-370-db.dtb \
|
||||||
armada-370-dlink-dns327l.dtb \
|
armada-370-dlink-dns327l.dtb \
|
||||||
armada-370-mirabox.dtb \
|
armada-370-mirabox.dtb \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 8baa106b7454971f0294cd77402aca0b940aa422 Mon Sep 17 00:00:00 2001
|
From 011e108826ecd2d14f714543171e32e74ec52878 Mon Sep 17 00:00:00 2001
|
||||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
Date: Fri, 5 Sep 2014 15:43:56 -0600
|
Date: Fri, 5 Sep 2014 15:43:56 -0600
|
||||||
Subject: [PATCH 4/9] fix mvsdio eMMC timing
|
Subject: [PATCH 4/8] fix mvsdio eMMC timing
|
||||||
|
|
||||||
These changes from Globalscale change the MMC timing to allow the eMMC versions
|
These changes from Globalscale change the MMC timing to allow the eMMC versions
|
||||||
of the Mirabox and SMILE Plug to work.
|
of the Mirabox and SMILE Plug to work.
|
||||||
|
@ -12,10 +12,10 @@ Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
|
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
|
||||||
index a448498..14441a6 100644
|
index 42296e5..e5ce6d2 100644
|
||||||
--- a/drivers/mmc/host/mvsdio.c
|
--- a/drivers/mmc/host/mvsdio.c
|
||||||
+++ b/drivers/mmc/host/mvsdio.c
|
+++ b/drivers/mmc/host/mvsdio.c
|
||||||
@@ -96,7 +96,7 @@ static int mvsd_setup_data(struct mvsd_host *host, struct mmc_data *data)
|
@@ -93,7 +93,7 @@ static int mvsd_setup_data(struct mvsd_host *host, struct mmc_data *data)
|
||||||
tmout_index = fls(tmout - 1) - 12;
|
tmout_index = fls(tmout - 1) - 12;
|
||||||
if (tmout_index < 0)
|
if (tmout_index < 0)
|
||||||
tmout_index = 0;
|
tmout_index = 0;
|
||||||
|
@ -24,7 +24,7 @@ index a448498..14441a6 100644
|
||||||
tmout_index = MVSD_HOST_CTRL_TMOUT_MAX;
|
tmout_index = MVSD_HOST_CTRL_TMOUT_MAX;
|
||||||
|
|
||||||
dev_dbg(host->dev, "data %s at 0x%08x: blocks=%d blksz=%d tmout=%u (%d)\n",
|
dev_dbg(host->dev, "data %s at 0x%08x: blocks=%d blksz=%d tmout=%u (%d)\n",
|
||||||
@@ -618,6 +618,8 @@ static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
|
@@ -615,6 +615,8 @@ static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
|
||||||
u32 m = DIV_ROUND_UP(host->base_clock, ios->clock) - 1;
|
u32 m = DIV_ROUND_UP(host->base_clock, ios->clock) - 1;
|
||||||
if (m > MVSD_BASE_DIV_MAX)
|
if (m > MVSD_BASE_DIV_MAX)
|
||||||
m = MVSD_BASE_DIV_MAX;
|
m = MVSD_BASE_DIV_MAX;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 596c7a5991c929b3e7f099a7eb90abf692f8ee8d Mon Sep 17 00:00:00 2001
|
From 3fc16f5db6a177bb5277962c808c45c74f75ae9e Mon Sep 17 00:00:00 2001
|
||||||
From: popcornmix <popcornmix@gmail.com>
|
From: popcornmix <popcornmix@gmail.com>
|
||||||
Date: Tue, 18 Feb 2014 01:43:50 -0300
|
Date: Tue, 18 Feb 2014 01:43:50 -0300
|
||||||
Subject: [PATCH 5/9] net/smsc95xx: Allow mac address to be set as a parameter
|
Subject: [PATCH 5/8] net/smsc95xx: Allow mac address to be set as a parameter
|
||||||
|
|
||||||
---
|
---
|
||||||
drivers/net/usb/smsc95xx.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++
|
drivers/net/usb/smsc95xx.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From ea3b966351da3035f44d6344d7f8cdcfc502629d Mon Sep 17 00:00:00 2001
|
From c7df0a759a4e82d1fd4ea24a63a8f0a2c8b3821e Mon Sep 17 00:00:00 2001
|
||||||
From: dobatog <dobatog@gmail.com>
|
From: dobatog <dobatog@gmail.com>
|
||||||
Date: Thu, 26 Feb 2015 12:32:27 +0100
|
Date: Thu, 26 Feb 2015 12:32:27 +0100
|
||||||
Subject: [PATCH 6/9] ARM: TLV320AIC23 SoC Audio Codec: Fix errors reported
|
Subject: [PATCH 6/8] ARM: TLV320AIC23 SoC Audio Codec: Fix errors reported
|
||||||
related to input routing signals.
|
related to input routing signals.
|
||||||
|
|
||||||
The following patch, based on stable v3.19, corrects the errors that are reported in the boot trace in reference to the Input Signals of the audio codec TLV320AIC23:
|
The following patch, based on stable v3.19, corrects the errors that are reported in the boot trace in reference to the Input Signals of the audio codec TLV320AIC23:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From c47e242bb5cab3d6b03847eb3b703295041d1a69 Mon Sep 17 00:00:00 2001
|
From 2cc0b133d9bb620d3b48651b95d60d2c3d1ae37e Mon Sep 17 00:00:00 2001
|
||||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
Date: Sat, 14 Feb 2015 12:32:27 +0100
|
Date: Sat, 14 Feb 2015 12:32:27 +0100
|
||||||
Subject: [PATCH 7/9] set default cubietruck led triggers
|
Subject: [PATCH 7/8] set default cubietruck led triggers
|
||||||
|
|
||||||
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
|
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f06f59dd84e0be0969d05cbf458feb769607a73e Mon Sep 17 00:00:00 2001
|
From 19ca41a82a2fde0e6cd80b70ab1deb2b793edb86 Mon Sep 17 00:00:00 2001
|
||||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
Date: Sat, 7 Feb 2015 12:32:27 +0100
|
Date: Sat, 7 Feb 2015 12:32:27 +0100
|
||||||
Subject: [PATCH 8/9] USB armory support
|
Subject: [PATCH 8/8] USB armory support
|
||||||
|
|
||||||
---
|
---
|
||||||
arch/arm/boot/dts/Makefile | 5 +
|
arch/arm/boot/dts/Makefile | 5 +
|
||||||
|
@ -20,10 +20,10 @@ Subject: [PATCH 8/9] USB armory support
|
||||||
create mode 100644 arch/arm/boot/dts/imx53-usbarmory.dts
|
create mode 100644 arch/arm/boot/dts/imx53-usbarmory.dts
|
||||||
|
|
||||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||||
index b969c1c..1fd4683 100644
|
index c710c30..e9a95ef 100644
|
||||||
--- a/arch/arm/boot/dts/Makefile
|
--- a/arch/arm/boot/dts/Makefile
|
||||||
+++ b/arch/arm/boot/dts/Makefile
|
+++ b/arch/arm/boot/dts/Makefile
|
||||||
@@ -278,6 +278,11 @@ dtb-$(CONFIG_SOC_IMX53) += \
|
@@ -287,6 +287,11 @@ dtb-$(CONFIG_SOC_IMX53) += \
|
||||||
imx53-smd.dtb \
|
imx53-smd.dtb \
|
||||||
imx53-tx53-x03x.dtb \
|
imx53-tx53-x03x.dtb \
|
||||||
imx53-tx53-x13x.dtb \
|
imx53-tx53-x13x.dtb \
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
From 87a43bca9ada4040446fbadedacc0a41b5fc2dab Mon Sep 17 00:00:00 2001
|
|
||||||
From: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
||||||
Date: Sun, 6 Dec 2015 23:28:37 +0000
|
|
||||||
Subject: [PATCH 9/9] ARM: dts: dove: add Dove divider clocks
|
|
||||||
|
|
||||||
Add the Dove divider clocks to the Dove dtsi file.
|
|
||||||
|
|
||||||
Acked-by: Andrew Lunn <andrew@lunn.ch>
|
|
||||||
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
||||||
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
|
|
||||||
---
|
|
||||||
arch/arm/boot/dts/dove.dtsi | 6 ++++++
|
|
||||||
1 file changed, 6 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
|
|
||||||
index cd58c2e..9e109aa 100644
|
|
||||||
--- a/arch/arm/boot/dts/dove.dtsi
|
|
||||||
+++ b/arch/arm/boot/dts/dove.dtsi
|
|
||||||
@@ -460,6 +460,12 @@
|
|
||||||
#clock-cells = <1>;
|
|
||||||
};
|
|
||||||
|
|
||||||
+ divider_clk: core-clock@0064 {
|
|
||||||
+ compatible = "marvell,dove-divider-clock";
|
|
||||||
+ reg = <0x0064 0x8>;
|
|
||||||
+ #clock-cells = <1>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
pinctrl: pin-ctrl@0200 {
|
|
||||||
compatible = "marvell,dove-pinctrl";
|
|
||||||
reg = <0x0200 0x14>,
|
|
||||||
--
|
|
||||||
2.7.0
|
|
||||||
|
|
|
@ -4,19 +4,19 @@
|
||||||
buildarch=4
|
buildarch=4
|
||||||
|
|
||||||
pkgbase=linux-armv7
|
pkgbase=linux-armv7
|
||||||
_srcname=linux-4.4
|
_srcname=linux-4.5
|
||||||
_kernelname=${pkgbase#linux}
|
_kernelname=${pkgbase#linux}
|
||||||
_desc="ARMv7 multi-platform"
|
_desc="ARMv7 multi-platform"
|
||||||
pkgver=4.4.4
|
pkgver=4.5.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
rcnrel=armv7-x5
|
rcnrel=armv7-x2
|
||||||
arch=('armv7h')
|
arch=('armv7h')
|
||||||
url="http://www.kernel.org/"
|
url="http://www.kernel.org/"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'uboot-tools' 'vboot-utils' 'dtc')
|
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'uboot-tools' 'vboot-utils' 'dtc')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
||||||
"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
#"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
||||||
"http://rcn-ee.com/deb/sid-armhf/v${pkgver}-${rcnrel}/patch-${pkgver%.0}-${rcnrel}.diff.gz"
|
"http://rcn-ee.com/deb/sid-armhf/v${pkgver}-${rcnrel}/patch-${pkgver%.0}-${rcnrel}.diff.gz"
|
||||||
'0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch'
|
'0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch'
|
||||||
'0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch'
|
'0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch'
|
||||||
|
@ -26,25 +26,22 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
||||||
'0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch'
|
'0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch'
|
||||||
'0007-set-default-cubietruck-led-triggers.patch'
|
'0007-set-default-cubietruck-led-triggers.patch'
|
||||||
'0008-USB-armory-support.patch'
|
'0008-USB-armory-support.patch'
|
||||||
'0009-ARM-dts-dove-add-Dove-divider-clocks.patch'
|
|
||||||
'config'
|
'config'
|
||||||
'cmdline'
|
'cmdline'
|
||||||
'kernel.its'
|
'kernel.its'
|
||||||
'kernel.keyblock'
|
'kernel.keyblock'
|
||||||
'kernel_data_key.vbprivk')
|
'kernel_data_key.vbprivk')
|
||||||
md5sums=('9a78fa2eb6c68ca5a40ed5af08142599'
|
md5sums=('a60d48eee08ec0536d5efb17ca819aef'
|
||||||
'07e9b2c5d0daf7fc2a1ee26a52adcbc0'
|
'aa07b49abd5726fe81d797b91e476367'
|
||||||
'bd933f48a5472dc10ee356df7322f71c'
|
'9cdde35f0612e461f658f5679322cf05'
|
||||||
'1c15d2b852e5fec4e62d50cdfac0a82d'
|
'42b8dc1ac8f7366498f3d1bec4708f57'
|
||||||
'728cfad84b2a72db44398a6b4094fa51'
|
'734c3a326deae7783aab2a2b9c2496c5'
|
||||||
'bf44533aa442d2cf5939819d8728bd7d'
|
'9d419858c9e0b50ef082b501514ae7b5'
|
||||||
'b0f9ef2955aa76466d591f64dc7ce860'
|
'afa863eec444bc60cb5d3c4216bb4dd8'
|
||||||
'db3e7aa0831ead6e7b389c35d1100160'
|
'5222447ca6733a635f0014e4286497fd'
|
||||||
'dc96971fab19f4c2828807784255e116'
|
'd65428fd325c67b540f86c59ae29bcff'
|
||||||
'cf1976fdb3600f239bbda3397066a94e'
|
'911c1d70d8659d42bde1844569149233'
|
||||||
'39f37903f57e56f2042f96ea966342b0'
|
'e60e34600957fb7c9d837511eeb4f641'
|
||||||
'16d768208fd7877dc3f8575301c2371f'
|
|
||||||
'3d9f33f88be51e946e78a2faba21c06d'
|
|
||||||
'1813b39074d01af6548951764a0f6444'
|
'1813b39074d01af6548951764a0f6444'
|
||||||
'cb2cdd34d6ea18a1411045413d8d18ef'
|
'cb2cdd34d6ea18a1411045413d8d18ef'
|
||||||
'61c5ff73c136ed07a7aadbf58db3d96a'
|
'61c5ff73c136ed07a7aadbf58db3d96a'
|
||||||
|
@ -54,7 +51,7 @@ prepare() {
|
||||||
cd "${srcdir}/${_srcname}"
|
cd "${srcdir}/${_srcname}"
|
||||||
|
|
||||||
# add upstream patch
|
# add upstream patch
|
||||||
git apply --whitespace=nowarn ../patch-${pkgver}
|
#git apply --whitespace=nowarn ../patch-${pkgver}
|
||||||
|
|
||||||
# RCN patch
|
# RCN patch
|
||||||
git apply ../patch-${pkgver%.0}-${rcnrel}.diff
|
git apply ../patch-${pkgver%.0}-${rcnrel}.diff
|
||||||
|
@ -68,7 +65,6 @@ prepare() {
|
||||||
git apply ../0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch
|
git apply ../0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch
|
||||||
git apply ../0007-set-default-cubietruck-led-triggers.patch
|
git apply ../0007-set-default-cubietruck-led-triggers.patch
|
||||||
git apply ../0008-USB-armory-support.patch
|
git apply ../0008-USB-armory-support.patch
|
||||||
git apply ../0009-ARM-dts-dove-add-Dove-divider-clocks.patch
|
|
||||||
|
|
||||||
cat "${srcdir}/config" > ./.config
|
cat "${srcdir}/config" > ./.config
|
||||||
|
|
||||||
|
@ -184,7 +180,7 @@ _package-headers() {
|
||||||
# copy arch includes for external modules
|
# copy arch includes for external modules
|
||||||
mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH
|
mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH
|
||||||
cp -a arch/$KARCH/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/
|
cp -a arch/$KARCH/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/
|
||||||
for i in dove exynos mvebu omap2 versatile; do
|
for i in dove exynos omap2 versatile; do
|
||||||
mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/mach-${i}
|
mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/mach-${i}
|
||||||
cp -a arch/$KARCH/mach-${i}/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/mach-${i}/
|
cp -a arch/$KARCH/mach-${i}/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/mach-${i}/
|
||||||
done
|
done
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue