[Pkg-raspi-maintainers] Bug#941971: raspi3-firmware: serial console output sent to bluetooth port with kernel 5.x

Thorsten Glaser t.glaser at tarent.de
Tue Oct 8 10:29:01 BST 2019


clone 941971 -1
reassign -1 raspi-firmware
found -1 1.20190819-1
thanks

On Tue, 8 Oct 2019, Thorsten Glaser wrote:

> /etc/kernel/postinst.d/z50-raspi3-firmware contains this gem:

Same in sid: /etc/kernel/postinst.d/z50-raspi-firmware has:

   91   if [ "$CONSOLES" = "auto" ]; then
   92     serial="ttyAMA0,115200"
   93     kernelmajor=$(echo "${latest_kernel_basename}" | sed 's,^vmlinuz-,,g' | cut -d. -f 1)
   94     kernelminor=$(echo "${latest_kernel_basename}" | cut -d. -f 2)
   95     if [ $kernelmajor -ge 4 ]; then
   96       if [ $kernelminor -ge 14 ]; then
   97         # Since Linux 4.14, /dev/ttyS1 is the UART on the pinheader.
   98         serial="ttyS1,115200"
   99       fi
  100     fi
  101   fi


This debugging sponsored by ⮡ tarent.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

**********

Mit der tarent Academy bieten wir auch Trainings und Schulungen in den
Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an.

Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt.

**********



More information about the Pkg-raspi-maintainers mailing list