From unknown Thu Mar 28 13:43:49 2024 X-Loop: owner@bugs.devuan.org Subject: bug#89: arm-sdk: no serial console by default on rpi3 Reply-To: Gregory Nowak , 89@bugs.devuan.org Resent-From: Gregory Nowak Resent-To: devuan-bugs@lists.dyne.org Resent-CC: parazyd Resent-Date: Fri, 26 May 2017 03:33:01 UTC Resent-Message-ID: Resent-Sender: owner@bugs.devuan.org X-Devuan-PR-Message: report 89 X-Devuan-PR-Package: arm-sdk X-Devuan-PR-Keywords: Received: via spool by submit@bugs.devuan.org id=B.149576880412648 (code B ref -1); Fri, 26 May 2017 03:33:01 UTC Received: (at submit) by bugs.devuan.org; 26 May 2017 03:20:04 +0000 Delivered-To: devuanbugs@dyne.org Received: from mail.dyne.org [178.62.188.7] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Fri, 26 May 2017 05:20:04 +0200 (CEST) Received: from vserver.gregn.net (vserver.gregn.net [174.136.110.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tupac2.dyne.org (Postfix) with ESMTPS id 825BC18D609 for ; Fri, 26 May 2017 03:12:58 +0000 (UTC) Authentication-Results: tupac2.dyne.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gregn.net header.i=@gregn.net header.b=jCsnxrr+; dkim-adsp=pass; dkim-atps=neutral Received: from rpitest.gregn.net (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 vserver.gregn.net (Postfix) with ESMTPSA id EF3913A4F; Thu, 25 May 2017 20:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gregn.net; s=default; t=1495768376; bh=37KJfAuUCN7NZW7rZakLQoQp6CFb8DrebLHgSgF9Y6I=; h=From:To:Subject:Date:From; b=jCsnxrr+kJq13iNN1vEhzUHnpeS8sVfcQLmNQj3Sz6syxyHMiw8XRxn1j6ceWVZ2R 43oq/Kuzu4A4iLansjQgTmYJWrJqq03RgGNL9PFoqpq+ANjJLL1WysKDXExLmuJaBu nbg6jTtvFTZEEUbyacEsVxILT7wKmfm+nfUwfHg5Hf51b6DuihbyIs3Yex/Suf+0dL 20sDx18jgfL1azrdvJ63artOLkGx66i1TGqhoVFCLNyKlF1uGJSrB5ozcuioT7EihW sk4gsFWbQ50qbWzLMulhbD7+7wt53eiovrGeOwtZWiQxbV5BOp9lqaC88Hy+cwUot4 byccVmaFd1X6g== Received: from greg by rpitest.gregn.net 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 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 gpu_mem=64 ## always audio dtparam=audio=on ## maximum amps on usb ports max_usb_current=1 # uncomment the next line to enable the serial port on the rpi3 #enable_uart=1 --- 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) From unknown Thu Mar 28 13:43:49 2024 X-Loop: owner@bugs.devuan.org From: owner@bugs.devuan.org (Devuan bug Tracking System) To: Gregory Nowak Subject: bug#89 acknowledged by developer (done_89) Message-ID: In-Reply-To: <20170526031248.3988.72498.reportbug@rpitest.lan.lan> References: <20170711150511.GA2962@fq> <20170526031248.3988.72498.reportbug@rpitest.lan.lan> X-Devuan-PR-Message: they-closed 89 X-Devuan-PR-Package: arm-sdk X-Devuan-PR-Keywords: Reply-To: 89@bugs.devuan.org This is an automatic notification regarding your bug report #89: arm-sdk: no serial console by default on rpi3, which was filed against the arm-sdk package. It has been closed by one of the developers, namely "Ivan J." . Their explanation is attached below. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact the developer, by replying to this email. Devuan Bugs Owner (administrator, Devuan bugs database) Received: (at 89-done) by bugs.devuan.org; 11 Jul 2017 15:10:02 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from mail.dyne.org [178.62.188.7] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Tue, 11 Jul 2017 17:10:02 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: parazyd@dyne.org) with ESMTPSA id BE7D618DC07 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dyne.org; s=mail; t=1499785516; bh=rvrksLL2s7R91+sxadPySapDHn3M7rG49rtKl5Hw01Q=; h=Date:From:To:Subject:From; b=MCcGwTX+Gkv0ErRmLGnvCpfEJJpGscRvY7Y737at9MhCSRIaFe5IMFlaWPQLGufEK pWEa+HlP+vj0e2jjOj+JTewL2/XbxARFKnQRSam2va8O0jhT9SR1EOCDtIFlMtsBqa Qydw0Fw5+tMZz8bDYtiTldlfgHwQ95FHIW23bf3Q= Date: Tue, 11 Jul 2017 17:05:11 +0200 From: "Ivan J." To: 89-done@bugs.devuan.org Subject: done_89 Message-ID: <20170711150511.GA2962@fq> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-GPG-Keyserver: pgp.dyne.org 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