Package: src:linux
Version: 5.6.14-2
Severity: normal
Tags: patch

Dear Maintainer,

The AUX serial driver for all raspberry pi models is not enabled in
the armhf kernel variant. In the armel and arm64 variant it is.

Attached patch switches on the needed config symbols.

regards,
Marc

---

   * What led up to the situation?
     Running linux-image-5.6.0-2-armmp in a raspberry-pi 3
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     Running linux-image-5.6.0-2-armmp in a raspberry-pi 3
   * What was the outcome of this action?
     There's no output at all on the AUX serial port, even if enabled
     in config.txt and cmdline.txt
   * What outcome did you expect instead?
     Output on the AUX serial port.

-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
Hardware        : BCM2835
Revision        : 0000
Device Tree model: Raspberry Pi 3 Model B Rev 1.2

** PCI devices:
not available

** USB devices:
not available


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (700, 'testing'), (70, 'unstable-debug'), (70, 'testing-debug'), 
(70, 'experimental-debug'), (70, 'experimental'), (70, 'unstable')
Architecture: armhf (armv7l)

Kernel: Linux 5.8.0-rc1+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-5.6.0-2-armmp depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.137
ii  kmod                                    27+20200310-2
ii  linux-base                              4.6

Versions of packages linux-image-5.6.0-2-armmp recommends:
pn  apparmor             <none>
pn  firmware-linux-free  <none>

Versions of packages linux-image-5.6.0-2-armmp suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-5.6           <none>

Versions of packages linux-image-5.6.0-2-armmp is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information
>From 6a518aa0515693e15cd06cab1608437042a8cd5f Mon Sep 17 00:00:00 2001
From: Marc Kleine-Budde <m...@blackshift.org>
Date: Wed, 24 Jun 2020 09:38:58 +0200
Subject: [PATCH] [armhf] enable AUX serial port driver for Raspberry Pi 2/3/4

---
 debian/config/armhf/config | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/config/armhf/config b/debian/config/armhf/config
index 08462e6655d3..4b23f3566ed5 100644
--- a/debian/config/armhf/config
+++ b/debian/config/armhf/config
@@ -1371,8 +1371,9 @@ CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_8250_DMA=y
 CONFIG_SERIAL_8250_NR_UARTS=5
 CONFIG_SERIAL_8250_RUNTIME_UARTS=5
-# CONFIG_SERIAL_8250_EXTENDED is not set
-CONFIG_SERIAL_8250_ASPEED_VUART=m
+CONFIG_SERIAL_8250_EXTENDED=y
+CONFIG_SERIAL_8250_SHARE_IRQ=y
+CONFIG_SERIAL_8250_BCM2835AUX=y
 CONFIG_SERIAL_8250_DW=y
 # CONFIG_SERIAL_8250_EM is not set
 CONFIG_SERIAL_OF_PLATFORM=y
-- 
2.27.0

Reply via email to