diff --git a/core/linux-armv7/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch b/core/linux-armv7/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch index 83c1079b4..9e1a037b6 100644 --- a/core/linux-armv7/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch +++ b/core/linux-armv7/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch @@ -1,7 +1,7 @@ -From e043ee82e371ded84d2940af53f0f3b0e549236d Mon Sep 17 00:00:00 2001 +From 9113c0187d68d3d6bb1f6069ba86a37a4e4f97de Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 2 Dec 2012 19:59:28 +0100 -Subject: [PATCH 1/9] ARM: atags: add support for Marvell's u-boot +Subject: [PATCH 01/10] ARM: atags: add support for Marvell's u-boot Marvell uses a specific atag in its u-boot which includes among other information the MAC addresses for up to 4 network interfaces. diff --git a/core/linux-armv7/0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch b/core/linux-armv7/0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch index f358e8b2f..dcf365444 100644 --- a/core/linux-armv7/0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch +++ b/core/linux-armv7/0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch @@ -1,8 +1,8 @@ -From 9192225b0bee8ed45131f4c311ee2eb41d3f5327 Mon Sep 17 00:00:00 2001 +From 6271ea4f21b8b175cfa3a64b18501bb7e8d140d6 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 2 Dec 2012 19:56:58 +0100 -Subject: [PATCH 2/9] ARM: atags/fdt: retrieve MAC addresses from Marvell boot - loader +Subject: [PATCH 02/10] ARM: atags/fdt: retrieve MAC addresses from Marvell + boot loader The atags are parsed and if a Marvell atag is found, up to 4 MAC addresses are extracted there and assigned to node aliases eth0..3 diff --git a/core/linux-armv7/0003-SMILE-Plug-device-tree-file.patch b/core/linux-armv7/0003-SMILE-Plug-device-tree-file.patch index ae8565868..f918ed912 100644 --- a/core/linux-armv7/0003-SMILE-Plug-device-tree-file.patch +++ b/core/linux-armv7/0003-SMILE-Plug-device-tree-file.patch @@ -1,7 +1,7 @@ -From e028a068903ac27bff5161f13deca6012e8ee885 Mon Sep 17 00:00:00 2001 +From 58251af3f3bcc92521fc65ca9448dda679f371f0 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 5 Sep 2014 15:41:19 -0600 -Subject: [PATCH 3/9] SMILE Plug device tree file +Subject: [PATCH 03/10] SMILE Plug device tree file This adds a dts file for the SMILE Plug, which only differs from the Mirabox dts with the LED definitions. diff --git a/core/linux-armv7/0004-fix-mvsdio-eMMC-timing.patch b/core/linux-armv7/0004-fix-mvsdio-eMMC-timing.patch index ef8112e51..4d7e4c4ca 100644 --- a/core/linux-armv7/0004-fix-mvsdio-eMMC-timing.patch +++ b/core/linux-armv7/0004-fix-mvsdio-eMMC-timing.patch @@ -1,7 +1,7 @@ -From 0a8ba03a102df867bb031e84c7fcf531f240cc96 Mon Sep 17 00:00:00 2001 +From 26bad4f64f00a5b4a197a1cf6d0cde1a02f9cb0b Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 5 Sep 2014 15:43:56 -0600 -Subject: [PATCH 4/9] fix mvsdio eMMC timing +Subject: [PATCH 04/10] fix mvsdio eMMC timing These changes from Globalscale change the MMC timing to allow the eMMC versions of the Mirabox and SMILE Plug to work. diff --git a/core/linux-armv7/0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch b/core/linux-armv7/0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch index e23b5a24b..046c75315 100644 --- a/core/linux-armv7/0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch +++ b/core/linux-armv7/0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch @@ -1,7 +1,8 @@ -From 7c54d4049580474d6860f2f9d8cd53513ec48289 Mon Sep 17 00:00:00 2001 +From fad9500067807862b0984973e3ec3182f585c4a7 Mon Sep 17 00:00:00 2001 From: popcornmix 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 05/10] net/smsc95xx: Allow mac address to be set as a + parameter --- drivers/net/usb/smsc95xx.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++ diff --git a/core/linux-armv7/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch b/core/linux-armv7/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch index 9f7d19a40..885307149 100644 --- a/core/linux-armv7/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch +++ b/core/linux-armv7/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch @@ -1,7 +1,7 @@ -From 7b10094b018ea22ae0e933098a961987b326252a Mon Sep 17 00:00:00 2001 +From 863b1ec078f908fdfab6f9b9900e54973754fbad Mon Sep 17 00:00:00 2001 From: dobatog Date: Thu, 26 Feb 2015 12:32:27 +0100 -Subject: [PATCH 6/9] ARM: TLV320AIC23 SoC Audio Codec: Fix errors reported +Subject: [PATCH 06/10] ARM: TLV320AIC23 SoC Audio Codec: Fix errors reported 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: diff --git a/core/linux-armv7/0007-set-default-cubietruck-led-triggers.patch b/core/linux-armv7/0007-set-default-cubietruck-led-triggers.patch index 05bed9afb..fc8a71623 100644 --- a/core/linux-armv7/0007-set-default-cubietruck-led-triggers.patch +++ b/core/linux-armv7/0007-set-default-cubietruck-led-triggers.patch @@ -1,7 +1,7 @@ -From c9e324cee27e70fac2dd77adffd33445eae9ced5 Mon Sep 17 00:00:00 2001 +From 14f39f3c5fef7502486827ff68d649e0f47cbbd3 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 14 Feb 2015 12:32:27 +0100 -Subject: [PATCH 7/9] set default cubietruck led triggers +Subject: [PATCH 07/10] set default cubietruck led triggers Signed-off-by: Kevin Mihelich --- diff --git a/core/linux-armv7/0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch b/core/linux-armv7/0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch index b7fb6ae8d..fceb7e04e 100644 --- a/core/linux-armv7/0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch +++ b/core/linux-armv7/0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch @@ -1,7 +1,7 @@ -From 45353496c9a480c745fda93f552e6e0ffb417d51 Mon Sep 17 00:00:00 2001 +From f51a9920e9836ae341787d4524bb9790547ef921 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 11 Aug 2016 00:42:37 -0600 -Subject: [PATCH 8/9] exynos4412-odroid: set higher minimum buck2 regulator +Subject: [PATCH 08/10] exynos4412-odroid: set higher minimum buck2 regulator voltage Set a higher minimum voltage to help reboot issue. diff --git a/core/linux-armv7/0009-disable-USB3-port-on-ODROID-XU.patch b/core/linux-armv7/0009-disable-USB3-port-on-ODROID-XU.patch index 2b72119bd..530c5d3e4 100644 --- a/core/linux-armv7/0009-disable-USB3-port-on-ODROID-XU.patch +++ b/core/linux-armv7/0009-disable-USB3-port-on-ODROID-XU.patch @@ -1,7 +1,7 @@ -From f0527d9a7d142e36dedeea473c996bd53eef00a1 Mon Sep 17 00:00:00 2001 +From f667bdbe066d7c8ec99e0f52cc9fd1eae0f5b6bb Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 25 Feb 2017 19:39:51 -0700 -Subject: [PATCH 9/9] disable USB3 port on ODROID-XU +Subject: [PATCH 09/10] disable USB3 port on ODROID-XU Ports report over-current condition and are non-operable. diff --git a/core/linux-armv7/0010-ARM-dove-enable-ethernet-on-D3Plug.patch b/core/linux-armv7/0010-ARM-dove-enable-ethernet-on-D3Plug.patch new file mode 100644 index 000000000..ef40ac3bc --- /dev/null +++ b/core/linux-armv7/0010-ARM-dove-enable-ethernet-on-D3Plug.patch @@ -0,0 +1,31 @@ +From a986bc8d10b57b3261f712327fd477c6f09ff414 Mon Sep 17 00:00:00 2001 +From: Kevin Mihelich +Date: Sun, 7 May 2017 13:32:25 -0600 +Subject: [PATCH 10/10] ARM: dove: enable ethernet on D3Plug + +Signed-off-by: Kevin Mihelich +--- + arch/arm/boot/dts/dove-d3plug.dts | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/arch/arm/boot/dts/dove-d3plug.dts b/arch/arm/boot/dts/dove-d3plug.dts +index f5f59bb5a534..b0ad0bbf6818 100644 +--- a/arch/arm/boot/dts/dove-d3plug.dts ++++ b/arch/arm/boot/dts/dove-d3plug.dts +@@ -60,6 +60,13 @@ + &uart0 { status = "okay"; }; + &sata0 { status = "okay"; }; + &i2c0 { status = "okay"; }; ++&mdio { status = "okay"; }; ++ð { status = "okay"; }; ++ ++ðphy { ++ compatible = "marvell,88e1310"; ++ reg = <1>; ++}; + + /* Samsung M8G2F eMMC */ + &sdio0 { +-- +2.12.2 + diff --git a/core/linux-armv7/PKGBUILD b/core/linux-armv7/PKGBUILD index c86c7f9b3..f910eb0b8 100644 --- a/core/linux-armv7/PKGBUILD +++ b/core/linux-armv7/PKGBUILD @@ -8,7 +8,7 @@ _srcname=linux-4.11 _kernelname=${pkgbase#linux} _desc="ARMv7 multi-platform" pkgver=4.11.0 -pkgrel=1 +pkgrel=2 rcnrel=armv7-x0 arch=('armv7h') url="http://www.kernel.org/" @@ -27,6 +27,7 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" '0007-set-default-cubietruck-led-triggers.patch' '0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch' '0009-disable-USB3-port-on-ODROID-XU.patch' + '0010-ARM-dove-enable-ethernet-on-D3Plug.patch' 'config' 'kernel.its' 'kernel.keyblock' @@ -35,15 +36,16 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" '99-linux.hook') md5sums=('251a5deee0fa6daf3f356b1bbda9eab8' '57eddb3aee93070a2be1a735f35e6770' - '35050d4086083976228b1aad40eb9685' - 'b1f82c5ab2c1f49839a55f3bfd79e3b4' - '7d2eb3a79013bbcc9eac8aae14ec95ed' - '887172b2dbca6a024d2fc7dd2865ca17' - 'cc15319d42d3dac4225523ee319f0b4e' - '5be4c09f985310ec1c157621a1e0bb8e' - '7902ffb9e4e48cd3426777d6fb3f2e9b' - '3cd8942f980b0e85eb832168d086988b' - '9f62b9c953a01b64b7dcf2e90aac6e37' + 'e3025634513b4e76f280768a20bc8e16' + 'bc7ced14bd4dcc9e5ebfb39791a696d8' + '8e4187645e1abc78798e4b58960f7f8f' + '4f1909990d16def2693876d62e370c51' + 'c27816e523f1bd6432ec1966c89d3f8e' + '4cb1abc196fcd4bcf20128f893978849' + '6f2a72c08edc24191001d3ce77e238a9' + '9a6ca27f3a4035a0e1c0cd0a93f63ce4' + '1d69d4bb563bbd9b12cf23371b1d1419' + 'eef6e37ace0d9bb9dd8e23459f0eb3e9' '87f000b1f2c75c21aee754f49927e4ad' '4f2379ed84258050edb858ee8d281678' '61c5ff73c136ed07a7aadbf58db3d96a' @@ -70,6 +72,7 @@ prepare() { git apply ../0007-set-default-cubietruck-led-triggers.patch git apply ../0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch git apply ../0009-disable-USB3-port-on-ODROID-XU.patch + git apply ../0010-ARM-dove-enable-ethernet-on-D3Plug.patch cat "${srcdir}/config" > ./.config @@ -338,7 +341,7 @@ _package-d3plug() { depends=('linux-armv7') provides=('linux-armv7-uimage') conflicts=('linux-armv7-uimage') - #replaces=('linux-d3plug') + replaces=('linux-d3plug') cd "${srcdir}/${_srcname}"