Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian....@packages.debian.org
Usertags: pu

Hi stable release managers,

The version 1.20190215-1+deb10u2 fixes an important bug #941974. I have
added the debdiff in attachment.

Thanks,
Regards,
Romain

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru raspi3-firmware-1.20190215/debian/changelog 
raspi3-firmware-1.20190215/debian/changelog
--- raspi3-firmware-1.20190215/debian/changelog 2019-08-28 12:31:28.000000000 
+0200
+++ raspi3-firmware-1.20190215/debian/changelog 2019-11-09 09:09:08.000000000 
+0100
@@ -1,3 +1,10 @@
+raspi3-firmware (1.20190215-1+deb10u2) buster; urgency=medium
+
+  * Fix serial console output sent to bluetooth port with kernel 5.x.
+    Thanks to Thorsten Glaser (Closes: #941974)
+
+ -- Romain Perier <romain.per...@gmail.com>  Sat, 09 Nov 2019 09:09:08 +0100
+
 raspi3-firmware (1.20190215-1+deb10u1) buster; urgency=medium
 
   * Add support for bcm2837-rpi-cm3-io3.dtb (as generated by the Linux
diff -Nru 
raspi3-firmware-1.20190215/debian/kernel/postinst.d/z50-raspi3-firmware 
raspi3-firmware-1.20190215/debian/kernel/postinst.d/z50-raspi3-firmware
--- raspi3-firmware-1.20190215/debian/kernel/postinst.d/z50-raspi3-firmware     
2019-08-28 12:26:28.000000000 +0200
+++ raspi3-firmware-1.20190215/debian/kernel/postinst.d/z50-raspi3-firmware     
2019-11-09 09:09:08.000000000 +0100
@@ -88,13 +88,11 @@
   cp "$latest_initrd" /boot/firmware/
 
   serial="ttyAMA0,115200"
-  kernelmajor=$(echo "${latest_kernel_basename}" | sed 's,^vmlinuz-,,g' | cut 
-d. -f 1)
-  kernelminor=$(echo "${latest_kernel_basename}" | cut -d. -f 2)
-  if [ $kernelmajor -ge 4 ]; then
-    if [ $kernelminor -ge 14 ]; then
-      # Since Linux 4.14, /dev/ttyS1 is the UART on the pinheader.
-      serial="ttyS1,115200"
-    fi
+  kernelmajmin=$(($(echo $latest_kernel_basename | sed -n \
+    's/^vmlinu.-\([0-9]*\)\.\([0-9]*\)\..*$/\1*1000+\2/p')))
+  if [ $kernelmajmin -ge 4014 ]; then
+    # Since Linux 4.14, /dev/ttyS1 is the UART on the pinheader.
+    serial="ttyS1,115200"
   fi
 fi
 

Reply via email to