diff options
Diffstat (limited to 'libre/linux-libre-pck')
12 files changed, 78 insertions, 47 deletions
diff --git a/libre/linux-libre-pck/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch b/libre/linux-libre-pck/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch index d8af5cd53..9581d071b 100644 --- a/libre/linux-libre-pck/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch +++ b/libre/linux-libre-pck/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch @@ -1,7 +1,7 @@ -From b9f6d275e5af76eb4e32beb66480e8f53a7d1685 Mon Sep 17 00:00:00 2001 +From 2a2ab2b8ed60e043da32ddac674d7c58a63c1c8f Mon Sep 17 00:00:00 2001 From: Willy Tarreau <w@xxxxxx> 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. @@ -47,5 +47,5 @@ index 979ff4016404..d1d0c1950fa4 100644 }; -- -2.11.0 +2.11.1 diff --git a/libre/linux-libre-pck/0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch b/libre/linux-libre-pck/0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch index ac44398c6..9f31aa580 100644 --- a/libre/linux-libre-pck/0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch +++ b/libre/linux-libre-pck/0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch @@ -1,8 +1,8 @@ -From 3573189a2857cd66d248fb79e48a45ae70399c0b Mon Sep 17 00:00:00 2001 +From 2890deaac9ce485f0b20211872784b0071d82717 Mon Sep 17 00:00:00 2001 From: Willy Tarreau <w@xxxxxx> 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 @@ -43,5 +43,5 @@ index 9448aa0c6686..ac7b6ae6c00f 100644 } -- -2.11.0 +2.11.1 diff --git a/libre/linux-libre-pck/0003-SMILE-Plug-device-tree-file.patch b/libre/linux-libre-pck/0003-SMILE-Plug-device-tree-file.patch index 931c95877..9ad4ac228 100644 --- a/libre/linux-libre-pck/0003-SMILE-Plug-device-tree-file.patch +++ b/libre/linux-libre-pck/0003-SMILE-Plug-device-tree-file.patch @@ -1,7 +1,7 @@ -From 94679e069c9def09906a6b5f85c58ebd981ff615 Mon Sep 17 00:00:00 2001 +From fcd4be4707777620a01f1b1097fdb8f93e4c1077 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich <kevin@archlinuxarm.org> 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. @@ -14,7 +14,7 @@ Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org> 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 -index f10fe8526239..f00e858de082 100644 +index 01d178a2009f..85f6d6661443 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -935,6 +935,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \ @@ -205,5 +205,5 @@ index 000000000000..d01308ab848b + }; +}; -- -2.11.0 +2.11.1 diff --git a/libre/linux-libre-pck/0004-fix-mvsdio-eMMC-timing.patch b/libre/linux-libre-pck/0004-fix-mvsdio-eMMC-timing.patch index bd053eb6b..189d73b44 100644 --- a/libre/linux-libre-pck/0004-fix-mvsdio-eMMC-timing.patch +++ b/libre/linux-libre-pck/0004-fix-mvsdio-eMMC-timing.patch @@ -1,7 +1,7 @@ -From 4831d1d37e42c17f97ae238d6bbcfda7c8dac028 Mon Sep 17 00:00:00 2001 +From 14c522e0476341f7684cef8b1ad0c03a3e4509e6 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich <kevin@archlinuxarm.org> 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. @@ -34,5 +34,5 @@ index 42296e55b9de..e5ce6d27ec82 100644 host->clock = ios->clock; host->ns_per_clk = 1000000000 / (host->base_clock / (m+1)); -- -2.11.0 +2.11.1 diff --git a/libre/linux-libre-pck/0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch b/libre/linux-libre-pck/0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch index 0434d0794..eb5f11b8b 100644 --- a/libre/linux-libre-pck/0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch +++ b/libre/linux-libre-pck/0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch @@ -1,7 +1,8 @@ -From 079ecb4f368b983d08e7c19daaf64311b8814ee3 Mon Sep 17 00:00:00 2001 +From 92ba4f4447bc5ed008f449e2d44ed339df3f4d0f Mon Sep 17 00:00:00 2001 From: popcornmix <popcornmix@gmail.com> 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 ++++++++++++++++++++++++++++++++++++++++++++++ @@ -91,5 +92,5 @@ index 831aa33d078a..03625547d794 100644 /* maybe the boot loader passed the MAC address in devicetree */ -- -2.11.0 +2.11.1 diff --git a/libre/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch b/libre/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch index 28e4ad8e8..ebf56d216 100644 --- a/libre/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch +++ b/libre/linux-libre-pck/0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch @@ -1,7 +1,7 @@ -From f8ed0685d6606fe27a3e8fc8aa3744f17f9e1956 Mon Sep 17 00:00:00 2001 +From 73eeb8c53d5402e318c7414ca89197faacc82a7d Mon Sep 17 00:00:00 2001 From: dobatog <dobatog@gmail.com> 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: @@ -45,5 +45,5 @@ index 410cae0f2060..0bb8e2602d8e 100644 /* input mux */ {"Capture Source", "Line", "Line Input"}, -- -2.11.0 +2.11.1 diff --git a/libre/linux-libre-pck/0007-set-default-cubietruck-led-triggers.patch b/libre/linux-libre-pck/0007-set-default-cubietruck-led-triggers.patch index a13f2e1f8..e4b8868be 100644 --- a/libre/linux-libre-pck/0007-set-default-cubietruck-led-triggers.patch +++ b/libre/linux-libre-pck/0007-set-default-cubietruck-led-triggers.patch @@ -1,7 +1,7 @@ -From 6a7d1d2fab44c1830903b7af1a8a844ce4925763 Mon Sep 17 00:00:00 2001 +From ab716cec125455302c0e09ce6709033933b618df Mon Sep 17 00:00:00 2001 From: Kevin Mihelich <kevin@archlinuxarm.org> 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 <kevin@archlinuxarm.org> --- @@ -29,5 +29,5 @@ index 83f39b0362cb..15e9626ea81b 100644 }; -- -2.11.0 +2.11.1 diff --git a/libre/linux-libre-pck/0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch b/libre/linux-libre-pck/0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch index 840572234..824c0b390 100644 --- a/libre/linux-libre-pck/0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch +++ b/libre/linux-libre-pck/0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch @@ -1,7 +1,7 @@ -From 5bd43bf12a2258976be01fe1211de9ad4d8e9145 Mon Sep 17 00:00:00 2001 +From 357aaf663585092fc717d6bb8397b6ef8764a660 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich <kevin@archlinuxarm.org> 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. @@ -26,5 +26,5 @@ index 8aa19ba14436..8e2d94e3af72 100644 regulator-always-on; regulator-boot-on; -- -2.11.0 +2.11.1 diff --git a/libre/linux-libre-pck/0009-drm-armada-tracing-fix.patch b/libre/linux-libre-pck/0009-drm-armada-tracing-fix.patch index 1b2a16069..c9e4e7958 100644 --- a/libre/linux-libre-pck/0009-drm-armada-tracing-fix.patch +++ b/libre/linux-libre-pck/0009-drm-armada-tracing-fix.patch @@ -1,7 +1,7 @@ -From 24b08faa09d097e432fe36817dce69335c63d412 Mon Sep 17 00:00:00 2001 +From a5f7ae6a9dc41c26bcc0d4e66f18c352435ba4eb Mon Sep 17 00:00:00 2001 From: Kevin Mihelich <kevin@archlinuxarm.org> Date: Mon, 26 Dec 2016 12:56:09 -0700 -Subject: [PATCH 9/9] drm/armada tracing fix +Subject: [PATCH 09/10] drm/armada tracing fix https://lists.freedesktop.org/archives/dri-devel/2016-December/126212.html --- @@ -19,5 +19,5 @@ index a18f156c8b66..64c0b4546fb2 100644 + +CFLAGS_armada_trace.o := -I$(src) -- -2.11.0 +2.11.1 diff --git a/libre/linux-libre-pck/0010-disable-USB3-port-on-ODROID-XU.patch b/libre/linux-libre-pck/0010-disable-USB3-port-on-ODROID-XU.patch new file mode 100644 index 000000000..bb2be4c5d --- /dev/null +++ b/libre/linux-libre-pck/0010-disable-USB3-port-on-ODROID-XU.patch @@ -0,0 +1,27 @@ +From 891345676e0af18d5d809b8a810db56a363aaf3b Mon Sep 17 00:00:00 2001 +From: Kevin Mihelich <kevin@archlinuxarm.org> +Date: Sat, 25 Feb 2017 19:39:51 -0700 +Subject: [PATCH 10/10] disable USB3 port on ODROID-XU + +Ports report over-current condition and are non-operable. + +Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org> +--- + arch/arm/boot/dts/exynos5410-odroidxu.dts | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/arch/arm/boot/dts/exynos5410-odroidxu.dts b/arch/arm/boot/dts/exynos5410-odroidxu.dts +index c4de1353e5df..f80fa58995c5 100644 +--- a/arch/arm/boot/dts/exynos5410-odroidxu.dts ++++ b/arch/arm/boot/dts/exynos5410-odroidxu.dts +@@ -630,6 +630,7 @@ + + &usbdrd_dwc3_0 { + dr_mode = "host"; ++ status = "disabled"; + }; + + &usbdrd_dwc3_1 { +-- +2.11.1 + diff --git a/libre/linux-libre-pck/PKGBUILD b/libre/linux-libre-pck/PKGBUILD index 6c4c7dfad..3e8357a3f 100644 --- a/libre/linux-libre-pck/PKGBUILD +++ b/libre/linux-libre-pck/PKGBUILD @@ -10,7 +10,7 @@ pkgbase=linux-libre-pck _pkgbasever=4.10-gnu -_pkgver=4.10.1-gnu +_pkgver=4.10.2-gnu _pckpatchver=pck1 _replacesarchkernel=('linux-zen') @@ -57,12 +57,13 @@ source=("https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/l '0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch' '0007-set-default-cubietruck-led-triggers.patch' '0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch' - '0009-drm-armada-tracing-fix.patch') + '0009-drm-armada-tracing-fix.patch' + '0010-disable-USB3-port-on-ODROID-XU.patch') sha512sums=('44d1774a1d43a15322297d351737fbcbf92c6f433266ce2b17587437d433562cf5811fdae48fafd5a8e00d18ed9ac2e1ad4b12a657f322eb234384316ad131e0' 'SKIP' - '03669d17c68d1a845db36dcc953fd98450c692d97c4273c91ae17ad5e4ec395834f6320e4862ffe5fff7eecbe2ea5888cbe3c9c9093dd16fad8603db756b8053' + '02e518e8192f7b71dcb3724d1b9f4bc502d210387548a77a8edf6900281ccd13de55986382c9be00afacf0dc0ca2f13a70327be9230b1c93d95bc917cfd17643' 'SKIP' - 'e6fc124a51aa2be9ec8cc224fb879322e4677087b8723a1529c6a7dd10756f12d22bf015f3176bf0533243a20f0c2da24bdb3a4eaa5e1898e0f0cd09d6c9f7b2' + '354754ced5661d5891b0addb079956c8b6aa00a770870f3be41e4ec0bc0008df20415a08b326269720ab4e12e80d3a875b3a86813369f87c9ee5a1f2088f0c56' 'SKIP' '13cb5bc42542e7b8bb104d5f68253f6609e463b6799800418af33eb0272cc269aaa36163c3e6f0aacbdaaa1d05e2827a4a7c4a08a029238439ed08b89c564bb3' 'SKIP' @@ -72,20 +73,21 @@ sha512sums=('44d1774a1d43a15322297d351737fbcbf92c6f433266ce2b17587437d433562cf58 'SKIP' 'cedff1dc1b48da35353477a155fd4c636a5bb0bceb7abfda253b592da27233cf782b716a439d33ef5c94b39fc342067ed3e7b55179c8bdf5f42ab8e3954504a8' '3ea4933bcd00b44418c199bb903c9b1cb84c2f751bd1ed192da6bb7bb2a2a99b0a8392758bd6ee3217f91d0c38783ea781a47cc9a084d3080317602116f735f0' - 'c43516e3718d83c0d6002f11e718345a162d92e24ca37ee5c888ed32df3f4bfb6a55ed8711f29ad597d65cc09680ce39ecb777c4acd7210e6eb4b573fefd9104' + '9554a9b8c543ab5724fd2bf857553017e1366a6aa768c651d4e0c20c7b6bf3328675e46e37c7d63d090a26ccf2a174358b522c861833e1499a7780e00a742fac' 'd6faa67f3ef40052152254ae43fee031365d0b1524aa0718b659eb75afc21a3f79ea8d62d66ea311a800109bed545bc8f79e8752319cd378eef2cbd3a09aba22' '2dc6b0ba8f7dbf19d2446c5c5f1823587de89f4e28e9595937dd51a87755099656f2acec50e3e2546ea633ad1bfd1c722e0c2b91eef1d609103d8abdc0a7cbaf' - '85983a22bf5aae49504523062bf73cd278862823df24b7f176915c4fbf5854d9bc3f512cce402accff04793f86f855c45a3264d77c5025af253a56a26eca267b' + '08f47087aa71d1aca8dc4d5b7bb28cff3a7bb99f5bd64fc47664d3927ef470e256d22018da0726c186d9f9d19711c91ae4f3333aa161a0b18c082b5b60e5d74d' 'SKIP' - 'de2caaf68d817582f70b7382566108cdfd54557675172d88c0aef45a9bad9c2c4c2cbae4b4cd393a083f1f78563a05f7280dc8553f8f91cb214f88f0c4c3790c' - '7815bb6eded4f0fd3cb6eac3849d6f69728d4e9f5ae83064d6c1f319a5771f49d5fafad3b62c68f5d5c1f8643202e8968866005c50d069904ff57ee6dd4ce39d' - 'cb767339d5ad2844da971dd1c8f0eed26a2aee3c08747f7d116965872cba44abb73a393408fbec420933b1d4f4b9837d12100522c1b89a376a2defc6b470d971' - '764d174fde06916986a46b274b63f8978ad2229eced9502a46cdb95bfe70e5e4e172b37002e19c44d1cf0b573a8c9f35b806b3f3c4d00aed6a64e41216d5a00f' - '1e6682960231c653c8dbcc632620adbb3bb8aa6647a58b9d1f98446ae8829c216960732e71e24561ba4dffa24cd2f868bb59ed2c367ddf5f2b8b503fc20e56ba' - '97cb0a576375bb4eed5f1328d1e61e912c3f7eed5f7c45e2d41a59f7f3429d23b267b3f37506dc52efa3a7f9de62fe59b629970bcc1e1a8b1ef74bf6e7e3196e' - '7ce4d348c3cdf218dd9ded4884d7e5712b0d18bd17d897a2fc1a6507e776b66c8ead0018437c735e1080f2d4a114abb15bcf24a0d404937ada231d7c04a2814f' - 'a62714d52cd7f7979e69d7f26974dec7dd5f133ed6fab3d56aa0b7b232ce7dbab0f6a0dbd69b2c424313a19a218d0e96433968709104be0796549c582090ec1a' - 'cfb61d1e09aba91c956f187828219ef0e86cf29455e1d2fa905a2a68ba4619b16acc529a721cbd55efcd8dbf548da0df0d7afb705081b41bcebf7c2398505f2b') + 'dd4e2482d6e3d91d00e37e665933515a4fa876d39c036d639f21c48a09f03202f3dec0dbe04b7c60c4b7e1f49617b5f94ace688afacbe33dc6d6818c0c797031' + 'cf0a3061cef91c04fa5e6d50c4ee235f817cb97f6b7a77f42d42ada707e71bd9731dfafdfcf396e767362998acd8b98ad9942a989c2dd8457e57177c354ec7d2' + '6866b84fac93df7eb669f71ed0041270a5f7254bddf6e4f3de7820dbf5696f09eb3051843f7f48d9ae418487ed765b203eccf4bf399d0ca95061ba0399043839' + 'f41af76bbb6727fa415bb4e7e5da1896a5f01316354d5f34bc55b3f4451e571f2302c4e66c2b949bb330241d4187d507faba83b1584907d1b66a82a60a1c8923' + 'ddf31c7db4c873c258763ddff4419315af3d06dc28f14f8d48b0d99e35ecd953d02a992da414c8dd1b9fd9f2bb12580393a541a3064051ece1fa6e173fc52ba2' + 'df749d4d4f71b4514f526941af592cc11eec13214375e7c0088b84558b56508bf444ea70fb93a0c114a03cd4efd559ea816deb670064fa91f02c7b7f7483d57d' + 'd1c6d28d22724f9d3700f5d8350164ddba7e6f64980a8d25ebb7cbcffa83250125f337e91510a925deb10bc1e30ac999cb18f3427e051e00d82f5bbaf8a848ec' + 'd14cedaf275ea1337b18a75d72b7610cb96f982896542edc0a59306c10888d62594b8a36197e33d079e6d5a9b5d20f46892b96a2d3aab5258013f0e5991e3f9b' + '0a806db7df7761f5dc64b8a3b3860c6c9216cecfe135778f3019e51e1245bcc34980c6124a11447285b18e284547ffc57a4b2c1290b4dd91a55b0237a7007cc9' + 'c02d0e1d6b399c84323937a81b702fd3ac7c6f9e08254d1697858f829fd045ee33d5952d42eb22558c290efe7fd5d8fdd7695d8ef3526742a67052fb9e303ebe') validpgpkeys=( '474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva 'C92BAA713B8D53D3CAE63FC9E6974752F9704456' # André Silva @@ -127,6 +129,7 @@ prepare() { patch -p1 -i "${srcdir}/0007-set-default-cubietruck-led-triggers.patch" patch -p1 -i "${srcdir}/0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch" patch -p1 -i "${srcdir}/0009-drm-armada-tracing-fix.patch" + patch -p1 -i "${srcdir}/0010-disable-USB3-port-on-ODROID-XU.patch" fi # add freedo as boot logo @@ -353,7 +356,7 @@ _package-headers() { # add objtool for external module building and enabled VALIDATION_STACK option if [ -f tools/objtool/objtool ]; then mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool" - cp -a tools/objtool/objtool ${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool/ + cp -a tools/objtool/objtool ${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool/ fi chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build" diff --git a/libre/linux-libre-pck/config.armv7h b/libre/linux-libre-pck/config.armv7h index f9174e131..ff583862a 100644 --- a/libre/linux-libre-pck/config.armv7h +++ b/libre/linux-libre-pck/config.armv7h @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.10.0-gnu-1-pck Kernel Configuration +# Linux/arm 4.10.2-gnu-1-pck Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y @@ -3853,7 +3853,7 @@ CONFIG_GPIOLIB=y CONFIG_OF_GPIO=y CONFIG_GPIOLIB_IRQCHIP=y # CONFIG_DEBUG_GPIO is not set -# CONFIG_GPIO_SYSFS is not set +CONFIG_GPIO_SYSFS=y # CONFIG_GPIO_OF_HELPER is not set CONFIG_GPIO_GENERIC=y CONFIG_GPIO_MAX730X=m |