From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wAvGBLzu82R1HgAA9RJhRA:P1 (envelope-from ) for ; Sun, 03 Sep 2023 04:26:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wAvGBLzu82R1HgAA9RJhRA (envelope-from ) for ; Sun, 03 Sep 2023 04:26:04 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 43FA2537E5 for ; Sun, 3 Sep 2023 04:26:02 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=BdaIptTh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693707963; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=O7e4dp7nbGAJWL/cgYlXDudkDa5RpLsZN3nnIs8m66A=; b=HO3M1L8K2gna/hsbyERe6u+t4y8Sl7HwFJS/g8eSkZzldMqf81coCdwP+wnmtZtUHl+ZSj xUuG1Q2YOMek8jpsTVK8rqfuaHFdAA+kP23rKq5a3vJAwtBTOxFkFdil/3nmGoV9H9+8kc eu9daBNgNUuiZX5Bilc6ygHLA77lprmAfXVCrVDpgmwKR4nyCVHwhliSndGdmmy1KzmU6s 9n3J1Sf5ejDxEd6OKVHaDDG9h7mh85SCtBjIaMrkl7sB8GPLNd9hNnB6+uFYwm7dSOSwv0 U5yzutQwSgoWYP4KuHDuX1gEoLou89R+SgsB79XVOTN/CxfJa7WdAXcj74/T7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693707963; a=rsa-sha256; cv=none; b=DaIyIclesvoTVlT/CCZm8d7jl+8BTCQYXA3zUYzJ89EkvZcge4PwNOvX7jiCoZYpVK1Ura dMnAE7MxLXamD8GVx6xHdZaeWF9UXrESxIbeqdabC9nq5HK9zPmtspAm9wXQKx6rFsR2E7 rABNrZLs63tg5QaF8vYpqNd4JptqhXYaPA6w61/q8+mFBGlWOrmJ6+H4S1shC7OZf2BRL3 5VbIayV2rEGtkqcpUg2oE0C1St9PnO8Kagyoycw3/hsuv198JTD2veGQjOSo/qTHPrrXNA i4M7ExLBrKqQjE1PFuFAKlyWNayJSrLIolnnlL4/BExLjJHwqr62UT3YtKsGJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=BdaIptTh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qccoE-0006xb-4Q; Sat, 02 Sep 2023 22:25:54 -0400 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 ) id 1qccoC-0006wc-Hf for guix-patches@gnu.org; Sat, 02 Sep 2023 22:25:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qccoC-0000cN-9x for guix-patches@gnu.org; Sat, 02 Sep 2023 22:25:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qccoM-0001VW-B8 for guix-patches@gnu.org; Sat, 02 Sep 2023 22:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64907] [PATCH 2/2] gnu: Add opensbi-rvvm. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Sep 2023 02:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64907 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Juliana Sims , 64907@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Efraim Flashner Received: via spool by 64907-submit@debbugs.gnu.org id=B64907.16937079135734 (code B ref 64907); Sun, 03 Sep 2023 02:26:02 +0000 Received: (at 64907) by debbugs.gnu.org; 3 Sep 2023 02:25:13 +0000 Received: from localhost ([127.0.0.1]:38977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qccnY-0001UN-Ph for submit@debbugs.gnu.org; Sat, 02 Sep 2023 22:25:13 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:46366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qccnU-0001U6-Qb for 64907@debbugs.gnu.org; Sat, 02 Sep 2023 22:25:10 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id C2AA71AAD1; Sat, 2 Sep 2023 19:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1693707889; bh=I2X6/CCK1D6k7ejM4ytEbhvRc0k+TjJPjjqnR03Hjw0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BdaIptThtYRMgp3/j6xQA1t6sCZOPFH+thKHJzvb+xE4tWYdlAgM6/YJbggZrH155 E9YcIoP7PQWxUmrsWxrfCusWXrjtYfV3n6A54/xQYceOFKVttuDn3gyigwevqcpGLN SP5JuzBnkMXhhyZZT/PfVBy7pvAqLYTC5zHFIEPc5uWynLzvIlIXbF3dsqZVKqt9yx +D91hlAa2NQxJAVQmwaO//B7FIVlvVnyfn4NZA72U/D7Ewn4jSL1tSHfMyiNGY6HTc ROxVKKEjf3+XCB+TsRrowOsojN5KKHcSx9FzO6nnhqjzMlvWFV0MKUATvt0mi5iZiT ppuUp6rXhwiWQ== From: Vagrant Cascadian In-Reply-To: <2502f76902b6983a62cb81e36959982ae7cdfe47.1690488628.git.juli@incana.org> References: <2502f76902b6983a62cb81e36959982ae7cdfe47.1690488628.git.juli@incana.org> Date: Sat, 02 Sep 2023 19:24:45 -0700 Message-ID: <87o7ikm1si.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.83 X-Spam-Score: -4.83 X-Migadu-Queue-Id: 43FA2537E5 X-TUID: NGkVCzbAkSKj --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2023-07-27, Juliana Sims wrote: > * gnu/packages/firmware.scm (opensbi-rvvm): New symbol. > * gnu/packages/patches/opensbi-rvvm-lowram-fdt.patch: New patch. ... > diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm > index ff5afbcbe1..728050b43a 100644 > --- a/gnu/packages/firmware.scm > +++ b/gnu/packages/firmware.scm ... > @@ -567,6 +569,36 @@ (define-public opensbi-qemu > (description > "This package contains OpenSBI firmware files for use with QEMU."))) >=20=20 > +(define-public opensbi-rvvm > + (let ((base opensbi-generic)) > + (package > + (inherit base) > + (name "opensbi-rvvm") > + (source (origin > + (inherit (package-source base)) > + (patches (cons > + ;; Allows opensbi to work on systems with <32M= of RAM > + ;; https://github.com/LekKit/patches-misc/blob= /cc40906fbf1de9ae466304157f2bf7b8cc909cbe/opensbi/opensbi_lowram_fdt.patch > + (search-patch "opensbi-rvvm-lowram-fdt.patch") > + (origin-patches (package-source base)))))) As discussed elsewhere, maybe try the unpatched opensbi-generic. > + > + (arguments > + (substitute-keyword-arguments (package-arguments base) > + ((#:make-flags flags) > + #~(cons (string-append "FW_PAYLOAD_PATH=3D" > + #$(file-append u-boot-rvvm > + "/libexec/u-boot.bin")) > + (delete "FW_PAYLOAD=3Dn" > + #$flags))))) > + (inputs (cons u-boot-rvvm > + (package-inputs base))) > + (description (string-append (package-description base) So my main question is if you can use rvvm with an unmodified opensbi-generic, passing opensbi-generic and the u-boot-rvvm as commandline arguments? I know this can be done with qemu... If it really isn't possible, then just drop the low-ram patch if that still works. Thanks! live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZPPubQAKCRDcUY/If5cW qiMtAQDIasnZtkE07kLZxnoqd/bMSOgOmiT2rF5XIIvniXKm0AD/UxGqUjdXcopE cmY/17TulrBhYofkEP4CCog0I1g3IQA= =eitP -----END PGP SIGNATURE----- --=-=-=--