summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-rt
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-26 20:28:40 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-26 20:28:40 -0300
commit99de8e69f4dcb24a2381ae54571ebc70efeecfe1 (patch)
tree5df70557b5a364294e0bebbeff732e3fd71ac268 /kernels/linux-libre-rt
parent76ffc01c197543cfe28735a39f2b58dfdd632714 (diff)
downloadabslibre-99de8e69f4dcb24a2381ae54571ebc70efeecfe1.tar.gz
abslibre-99de8e69f4dcb24a2381ae54571ebc70efeecfe1.tar.bz2
abslibre-99de8e69f4dcb24a2381ae54571ebc70efeecfe1.zip
linux-libre-rt-4.1.15_gnu.rt17-1: updating version
* add CONFIG_DISPLAY_PANEL_TPO_TD028TTEC1=m - #857 -> https://labs.parabola.nu/issues/857 * add CONFIG_USB_G_DBGP=m - #858 -> https://labs.parabola.nu/issues/858
Diffstat (limited to 'kernels/linux-libre-rt')
-rw-r--r--kernels/linux-libre-rt/0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch39
-rw-r--r--kernels/linux-libre-rt/PKGBUILD24
-rw-r--r--kernels/linux-libre-rt/config.armv7h6
3 files changed, 58 insertions, 11 deletions
diff --git a/kernels/linux-libre-rt/0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch b/kernels/linux-libre-rt/0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch
new file mode 100644
index 000000000..adf5a48ff
--- /dev/null
+++ b/kernels/linux-libre-rt/0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch
@@ -0,0 +1,39 @@
+From d2702eb8157f845c81b1a6049139f342f12db494 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= <kyosti.malkki@gmail.com>
+Date: Mon, 26 Aug 2013 19:19:44 +0300
+Subject: [PATCH 2/2] usb serial gadget: no TTY hangup on USB disconnect [WIP]
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+We may want to maintain the TTY over USB disconnects.
+
+This is useful when we have a terminal console to a host which
+power-cycles or for other reasons resets the USB host controller.
+
+Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
+---
+ drivers/usb/gadget/function/u_serial.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/drivers/usb/gadget/function/u_serial.c b/drivers/usb/gadget/function/u_serial.c
+index b369292..d156a28 100644
+--- a/drivers/usb/gadget/function/u_serial.c
++++ b/drivers/usb/gadget/function/u_serial.c
+@@ -1258,8 +1258,13 @@ void gserial_disconnect(struct gserial *gser)
+ gser->ioport = NULL;
+ if (port->port.count > 0 || port->openclose) {
+ wake_up_interruptible(&port->drain_wait);
++#if 0
+ if (port->port.tty)
+ tty_hangup(port->port.tty);
++#else
++ if (port->port.tty)
++ stop_tty(port->port.tty);
++#endif
+ }
+ spin_unlock_irqrestore(&port->port_lock, flags);
+
+--
+1.8.1.1
+
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD
index 6ee4c752b..c792ea821 100644
--- a/kernels/linux-libre-rt/PKGBUILD
+++ b/kernels/linux-libre-rt/PKGBUILD
@@ -10,9 +10,9 @@
pkgbase=linux-libre-rt
_pkgbasever=4.1-gnu
-_pkgver=4.1.13-gnu
+_pkgver=4.1.15-gnu
_rtbasever=4.1
-_rtpatchver=rt15
+_rtpatchver=rt17
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
_replacesoldkernels=() # '%' gets replaced with _kernelname
@@ -35,8 +35,8 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/linux-libre-${_pkgbasever}.tar.xz.sign"
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz"
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz.sign"
- "http://www.kernel.org/pub/linux/kernel/projects/rt/${_rtbasever}/patch-${_pkgver%-*}-${_rtpatchver}.patch.xz"
- "http://www.kernel.org/pub/linux/kernel/projects/rt/${_rtbasever}/patch-${_pkgver%-*}-${_rtpatchver}.patch.sign"
+ "http://www.kernel.org/pub/linux/kernel/projects/rt/${_rtbasever}/older/patch-${_pkgver%-*}-${_rtpatchver}.patch.xz"
+ "http://www.kernel.org/pub/linux/kernel/projects/rt/${_rtbasever}/older/patch-${_pkgver%-*}-${_rtpatchver}.patch.sign"
"https://repo.parabola.nu/other/linux-libre/logos/logo_linux_clut224.ppm"
"https://repo.parabola.nu/other/linux-libre/logos/logo_linux_clut224.ppm.sig"
"https://repo.parabola.nu/other/linux-libre/logos/logo_linux_mono.pbm"
@@ -49,6 +49,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
'linux.preset'
'change-default-console-loglevel.patch'
'0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch'
+ '0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch'
# armv7h patches
"https://repo.parabola.nu/other/rcn-libre/patches/${_pkgver%-*}/rcn-libre-${_pkgver%-*}-${rcnrel}.patch"
"https://repo.parabola.nu/other/rcn-libre/patches/${_pkgver%-*}/rcn-libre-${_pkgver%-*}-${rcnrel}.patch.sig"
@@ -62,9 +63,9 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
'0008-USB-armory-support.patch')
sha256sums=('48b2e5ea077d0a0bdcb205e67178e8eb5b2867db3b2364b701dbc801d9755324'
'SKIP'
- '74b6b3e854a01c09d9c27fbf047deab699c9feddc22a42d156bed48369f0cac4'
+ 'c7ae216251d4f2557ad39a498b8b393403cbe673962e2d4ad533bb2bf49d6875'
'SKIP'
- '7c6754d822bb104bb3bbc002d56b5676eda8f68a5c573f7a0c70376e3214e171'
+ '5113ad6af15bf2db1031038acdec96f924a3d34f37541360cf1aa04208346b9d'
'SKIP'
'bfd4a7f61febe63c880534dcb7c31c5b932dde6acf991810b41a939a93535494'
'SKIP'
@@ -74,11 +75,12 @@ sha256sums=('48b2e5ea077d0a0bdcb205e67178e8eb5b2867db3b2364b701dbc801d9755324'
'SKIP'
'8ace26ce32289263670854955ef979f7e74a48b747aade9086f81f50944c8ac1'
'e08e7c9da8beb7551c3cf9741581df3bcd2483608756d69d82bc7be929f5047f'
- 'b1373f9f952f654df2fe858b65ff1ca1e81d7320f61a38aa58d0af9b67143817'
+ 'ded625b4711e1390c36e581965cf4149cc6971657040c048a9f83ca9c9a0d11c'
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
'61370b766e0c60b407c29d2c44b3f55fc352e9049c448bc8fcddb0efc53e42fc'
- 'cee2eea33a034e7dc2a6d2d907f20f77eae8fb32bf8281e6b2634e054ebf2173'
+ '3d3266bd082321dccf429cc2200d1a4d870d2031546f9f591b6dfbb698294808'
+ 'b485e9da38a70cb2a878714384ce4ddb36b0c3524b90d80cbff8a9a18c519e0b'
'SKIP'
'2654680bc8f677f647bca6e2b367693bf73ffb2edc21e3757a329375355a335d'
'842e4f483fa36c0e7dbe18ad46d78223008989cce097e5bef1e14450280f5dfe'
@@ -146,12 +148,16 @@ prepare() {
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
- # Make the radeon driver load without the firmwares
+ # make the radeon driver load without the firmwares
# http://www.fsfla.org/pipermail/linux-libre/2015-August/003098.html
if [ "${CARCH}" = "x86_64" ] || [ "${CARCH}" = "i686" ]; then ## This patch is only needed for x86 computers, so we disable it for others
patch -p1 -i "${srcdir}/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch"
fi
+ # maintain the TTY over USB disconnects
+ # http://www.coreboot.org/EHCI_Gadget_Debug
+ patch -p1 -i "${srcdir}/0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch"
+
cat "${srcdir}/config.${CARCH}" > ./.config
# append pkgrel to extraversion
diff --git a/kernels/linux-libre-rt/config.armv7h b/kernels/linux-libre-rt/config.armv7h
index 85695fc4e..821544e26 100644
--- a/kernels/linux-libre-rt/config.armv7h
+++ b/kernels/linux-libre-rt/config.armv7h
@@ -4536,7 +4536,7 @@ CONFIG_DISPLAY_PANEL_DPI=y
CONFIG_DISPLAY_PANEL_SONY_ACX565AKM=m
# CONFIG_DISPLAY_PANEL_LGPHILIPS_LB035Q02 is not set
# CONFIG_DISPLAY_PANEL_SHARP_LS037V7DW01 is not set
-# CONFIG_DISPLAY_PANEL_TPO_TD028TTEC1 is not set
+CONFIG_DISPLAY_PANEL_TPO_TD028TTEC1=m
# CONFIG_DISPLAY_PANEL_TPO_TD043MTEA1 is not set
# CONFIG_DISPLAY_PANEL_NEC_NL8048HL11 is not set
CONFIG_EXYNOS_VIDEO=y
@@ -5332,7 +5332,9 @@ CONFIG_USB_G_NOKIA=m
CONFIG_USB_G_ACM_MS=m
# CONFIG_USB_G_MULTI is not set
CONFIG_USB_G_HID=m
-# CONFIG_USB_G_DBGP is not set
+CONFIG_USB_G_DBGP=m
+# CONFIG_USB_G_DBGP_PRINTK is not set
+CONFIG_USB_G_DBGP_SERIAL=y
CONFIG_USB_G_WEBCAM=m
CONFIG_USB_LED_TRIG=y
CONFIG_UWB=m