X-Loop: help-debbugs@HIDDEN Subject: [bug#61474] [PATCH work in progress] system: examples: Update Beaglebone Black system definition. Resent-From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Mon, 13 Feb 2023 12:20:01 +0000 Resent-Message-ID: <handler.61474.B.167629076621554 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 61474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61474 <at> debbugs.gnu.org Cc: Frank Terbeck <ft@HIDDEN> X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.167629076621554 (code B ref -1); Mon, 13 Feb 2023 12:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2023 12:19:26 +0000 Received: from localhost ([127.0.0.1]:47890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pRXnp-0005ba-MO for submit <at> debbugs.gnu.org; Mon, 13 Feb 2023 07:19:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:57052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pelzflorian@HIDDEN>) id 1pRXnn-0005bS-DY for submit <at> debbugs.gnu.org; Mon, 13 Feb 2023 07:19:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pelzflorian@HIDDEN>) id 1pRXnn-0007bG-7t for guix-patches@HIDDEN; Mon, 13 Feb 2023 07:19:23 -0500 Received: from relay.yourmailgateway.de ([188.68.63.102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pelzflorian@HIDDEN>) id 1pRXnj-0002YT-E4 for guix-patches@HIDDEN; Mon, 13 Feb 2023 07:19:22 -0500 Received: from mors-relay-2502.netcup.net (localhost [127.0.0.1]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4PFk0f6Qv0z5xN0; Mon, 13 Feb 2023 13:19:14 +0100 (CET) Authentication-Results: mors-relay-2502.netcup.net; dkim=permerror (bad message/signature format) Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4PFk0f5fm4z4xPq; Mon, 13 Feb 2023 13:19:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4PFk0d5DG1z8t3S; Mon, 13 Feb 2023 13:19:13 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id 21C68802DF; Mon, 13 Feb 2023 13:19:07 +0100 (CET) From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN> Date: Mon, 13 Feb 2023 13:19:04 +0100 Message-ID: <87sff992rr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 21C68802DF X-Spamd-Result: default: False [-0.10 / 15.00]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: e4vqHiXu2JVQ4QsK4xjxdIs/j0/4r0CCShaTnYkN9KEx0xHbB08BRpkS Received-SPF: none client-ip=188.68.63.102; envelope-from=pelzflorian@HIDDEN; helo=relay.yourmailgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) I am still working on this; just sending the current state of things, because I won't finish soon and if someone has comments or if someone finds it useful. This *fails to boot* after invoking 'swapon' on an external USB SSD's swap partition and running 'guix system reconfigure'. Additionally, currently Inkscape does not build (see bug#60121) and had to be cut out of the dependency graph by, in the local guix checkout, removing the 'bluez' input of 'pulseaudio' and removing the 'ibus-minimal' input of 'sdl2'. Also 'fakeroot' does not build unless downgraded to version 1.28 (see bug#61206 maybe). Note: After installing u-boot-beaglebone-black-bootloader onto /dev/mmcblk1 the Beaglebone Black cannot boot anymore. Don't install it there. Use a 'guix system image' or another bootloader target and don't touch the bootloader that was there before. TODO Bisect which change broke this. Reported by Frank Terbeck <https://lists.gnu.org/archive/html/help-guix/2022-07/msg00165.html>. * gnu/system/examples/beaglebone-black.tmpl (initrd-modules): None are needed anymore; pass the empty list. (kernel): Use a more specific kernel. (packages): Specify more useful packages. (services): Add NTP service. For agetty, use ttyS0, which is the UART port now. --- I dedicate this patch to the public domain as per the Creative Commons Zero. gnu/system/examples/beaglebone-black.tmpl | 42 +++++++++++++++-------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/gnu/system/examples/beaglebone-black.tmpl b/gnu/system/examples/beaglebone-black.tmpl index 40d0a76a37..cbb5f2ef14 100644 --- a/gnu/system/examples/beaglebone-black.tmpl +++ b/gnu/system/examples/beaglebone-black.tmpl @@ -4,7 +4,7 @@ (use-modules (gnu) (gnu bootloader u-boot)) (use-service-modules networking) -(use-package-modules bootloaders screen ssh) +(use-package-modules certs linux) (operating-system (host-name "komputilo") @@ -17,8 +17,15 @@ (bootloader u-boot-beaglebone-black-bootloader) (targets '("/dev/mmcblk1")))) - ;; This module is required to mount the SD card. - (initrd-modules (cons "omap_hsmmc" %base-initrd-modules)) + ;; This less generic kernel image also contains the + ;; needed dtb files in its lib/dtbs subdirectory. + (kernel linux-libre-arm-omap2plus) + + ;; TODO Try to fix HDMI, see https://elinux.org/Beagleboard:BeagleBoneBlack_HDMI + ;; (kernel-arguments '("")) + + ;; No additional drivers are required. + (initrd-modules '()) (file-systems (cons (file-system (device (file-system-label "my-root")) @@ -43,15 +50,20 @@ %base-user-accounts)) ;; Globally-installed packages. - (packages (append (list screen openssh) %base-packages)) - - (services (append (list (service dhcp-client-service-type) - ;; mingetty does not work on serial lines. - ;; Use agetty with board-specific serial parameters. - (agetty-service - (agetty-configuration - (extra-options '("-L")) - (baud-rate "115200") - (term "vt100") - (tty "ttyO0")))) - %base-services))) + (packages (append (list nss-certs) %base-packages)) + + (services (append (list + ;; Ethernet cannot be plugged in after booting, + ;; other than that, networking works OK with this: + (service dhcp-client-service-type) + ;; For receiving the right time. + (service ntp-service-type) + ;; mingetty does not work on serial lines. + ;; Use agetty with board-specific serial parameters. + (agetty-service + (agetty-configuration + (extra-options '("-L")) + (baud-rate "115200") + (term "vt100") + (tty "ttyS0")))) + %base-services))) base-commit: 0890cb97473f1ec8d03cec2347f63deb546d2231 -- 2.39.1
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN> Subject: bug#61474: Acknowledgement ([PATCH work in progress] system: examples: Update Beaglebone Black system definition.) Message-ID: <handler.61474.B.167629076621554.ack <at> debbugs.gnu.org> References: <87sff992rr.fsf@HIDDEN> X-Gnu-PR-Message: ack 61474 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 61474 <at> debbugs.gnu.org Date: Mon, 13 Feb 2023 12:20:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 61474 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 61474: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61474 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 13 Feb 2023 17:28:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 13 12:28:53 2023 Received: from localhost ([127.0.0.1]:51396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pRcdJ-0004ys-Bd for submit <at> debbugs.gnu.org; Mon, 13 Feb 2023 12:28:53 -0500 Received: from mira.cbaines.net ([212.71.252.8]:42212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1pRcdF-0004yh-Ee for control <at> debbugs.gnu.org; Mon, 13 Feb 2023 12:28:51 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:3a91:a0a4:ecee:f157]) by mira.cbaines.net (Postfix) with ESMTPSA id 11663166A1 for <control <at> debbugs.gnu.org>; Mon, 13 Feb 2023 17:28:48 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id bcf39c54 for <control <at> debbugs.gnu.org>; Mon, 13 Feb 2023 17:28:47 +0000 (UTC) From: Christopher Baines <mail@HIDDEN> To: control <at> debbugs.gnu.org Subject: tag 61474 moreinfo Date: Mon, 13 Feb 2023 17:28:47 +0000 Message-ID: <87bklx325s.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 61474 + moreinfo quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.