Devuan bug report logs - #89
arm-sdk: no serial console by default on rpi3

Package: arm-sdk; Maintainer for arm-sdk is (unknown);

Reported by: Gregory Nowak <>

Date: Fri, 26 May 2017 03:33:01 UTC

Severity: normal

Done: "Ivan J." <>

Full log

Message #5 received at (full text, mbox, reply):

Received: (at submit) by; 26 May 2017 03:20:04 +0000
Return-Path: <>
Received: from []
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Fri, 26 May 2017 05:20:04 +0200 (CEST)
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by (Postfix) with ESMTPS id 825BC18D609
	for <>; Fri, 26 May 2017 03:12:58 +0000 (UTC)
Authentication-Results:; dkim=pass
	reason="2048-bit key; unprotected key" header.b=jCsnxrr+;
	dkim-adsp=pass; dkim-atps=neutral
Received: from (unknown [IPv6:2001:470:f156:0:ba27:ebff:fe91:9a8])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by (Postfix) with ESMTPSA id EF3913A4F;
	Thu, 25 May 2017 20:12:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;; s=default;
	t=1495768376; bh=37KJfAuUCN7NZW7rZakLQoQp6CFb8DrebLHgSgF9Y6I=;
Received: from greg by with local (Exim 4.84_2)
	(envelope-from <>)
	id 1dE5gM-0001Zu-98; Thu, 25 May 2017 20:12:54 -0700
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gregory Nowak <>
To: Devuan Bug Tracking System <>
Subject: arm-sdk: no serial console by default on rpi3
Message-ID: <20170526031248.3988.72498.reportbug@rpitest.lan.lan>
X-Mailer: reportbug 6.6.3+devuan1.3
Date: Thu, 25 May 2017 20:12:48 -0700
X-Virus-Scanned: clamav-milter 0.99.2 at vserver
X-Virus-Status: Clean
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_PASS autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2
Package: arm-sdk
Severity: normal

Dear Maintainer,
This is a summary of:

The devuan_jessie_1.0.0_arm64_raspi3.img.xz image doesn't have a serial console enabled by default. While I understand this may not be desireable for all use cases, I think this should be noted, and documentation provided for those who want to enable the serial console. The discussion on this issue started here:

What needs to be done is described in the URL for the issue given above. What I will do in this bug report is describe what I feel needs to be done so that someone with a rpi3 on armhf or arm64 could simply uncomment one line in /boot/config.txt to activate both the serial port, and also the serial console

1. Bugs 87 and 88 need to be resolved:

2. The cmdline.txt file on the first partition of the sd card should read as follows:
--- begin cmdline.txt ---
dwc_otg.fiq_fix_enable=2 console=serial0,115200 kgdboc=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0 quiet
--- end cmdline.txt ---

The config.txt file on the first partition of the sd card should read as follows:
--- begin config.txt ---
## memory shared with the GPU

## always audio

## maximum amps on usb ports

# uncomment the next line to enable the serial port on the rpi3
--- end config.txt ---

The last line of /etc/inittab currently reads:

T0:23:respawn:/sbin/agetty -L /dev/ttyAMA0 115200 vt100

It would instead read:

T0:23:respawn:/sbin/agetty --no-terminate -L /dev/serial0 115200 vt100

Once all this is done, enabling the serial console on the rpi3 would be as simple as uncommenting enable_uart=1 in config.txt.

-- System Information:

Architecture: aarch64

Kernel: Linux 4.10.0-rc5-v8+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Send a report that this bug log contains spam.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <>.
Last modified: Mon Sep 28 06:09:12 2020;