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

🔗 View this message in rfc822 format

From: (Devuan bug Tracking System)
To: "Ivan J." <>
Cc: parazyd <>
Subject: bug#89: marked as done (arm-sdk: no serial console by default on rpi3)
Message-ID: <>
In-Reply-To: <20170711150511.GA2962@fq>
References: <20170711150511.GA2962@fq> <20170526031248.3988.72498.reportbug@rpitest.lan.lan>
Precedence: bulk
X-Devuan-PR-Message: closed 89
X-Devuan-PR-Package: arm-sdk
Your message dated Tue, 11 Jul 2017 17:05:11 +0200
with message-id <20170711150511.GA2962@fq>
and subject line done_89
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Devuan Bugs Owner
(administrator, Devuan bugs database)

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)
Received: (at 89-done) by; 11 Jul 2017 15:10:02 +0000
Return-Path: <>
Received: from []
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Tue, 11 Jul 2017 17:10:02 +0200 (CEST)
Received: from [] (localhost [])
	(Authenticated sender:
	with ESMTPSA id BE7D618DC07
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;; s=mail;
	t=1499785516; bh=rvrksLL2s7R91+sxadPySapDHn3M7rG49rtKl5Hw01Q=;
Date: Tue, 11 Jul 2017 17:05:11 +0200
From: "Ivan J." <>
Subject: done_89
Message-ID: <20170711150511.GA2962@fq>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-GPG-Id: 0xB876CB44FA1B0274
X-GPG-Fingerprint: 0333 7671 FDE7 5BB6 A85E  C91F B876 CB44 FA1B 0274
User-Agent: Jaro Mail <>
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED
	autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2

done 89
done 89

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:42:38 2020;