From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6NpULoD8RGYVKQAAqHPOHw:P1 (envelope-from ) for ; Wed, 15 May 2024 20:18:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6NpULoD8RGYVKQAAqHPOHw (envelope-from ) for ; Wed, 15 May 2024 20:18:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=d4AHodAh; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715797059; a=rsa-sha256; cv=none; b=c2H0HXb8005VMUFLldpNIrtqxVk13V/ovXOUlFbwDv9oNH68OZn1gw9mLkvX8hFOonmOJ6 CCXdCXqMti3x2fyGQnHiVQimNo4a/bD3Hj/TUuQ8rlmPaDuqZbnLgEv+a1O9EJTZL8roiw m20sg9EMZU+vg4fvBa7PMbw+yTxy3LqMSUoeXll2P4X909kDQ2Uh34Kigt2pCf0yBS4/zJ qU9D5HirR3IIl2oaM0sPriqRJ3/Dh+SPfbEk3QODMcSRZnWGTAvf6RJfLUAJQbwtYDm+Zd oBBpGY8CvSBaUPVGSQ+pZ8c1yctmgp1Cd7iTFw5G0AO4fbc7AhTWjRvbwc7KdQ== 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=d4AHodAh; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715797059; 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=VpR4AfYkeXg/Ly/la7vqtiwN3HnbuQhAasLyBVobnzI=; b=VmWYgOFyBqDAff2AZspfdsh+UFdmhI1seluM6V6vJHrEsl/adp66Ncn1Way3b1YPC7ouiH 8zp9LTaqC6WHTfD1Z6YQEO6XrzoL7YQKSGmcPU/TpFMQ7dIdhUJ4KVseM5cATKP9Sjl1qi Tw06TuFSyTTMrgI31Lo6JQQeMUe8l1ov1+IUAk0bJintcxxNJbDoe/HM1HgX0L0gxpvd75 DAH8yqp+kcXxQxNvpkJlYlyZJDfCH5GUrfl4sO97ZGZT3XjIYRl1ra8jIOl+wuq9tt/bxg UFMuPD8A5pU4rkj6GJAGoY+5gHtL0aIlpOw2RKeGaIYs1L71uzr/IJsHoqDwgQ== 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 0B53825E9A for ; Wed, 15 May 2024 20:17:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7JBp-0000kL-RG; Wed, 15 May 2024 14:17:21 -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 1s7JBW-0000fK-N7 for guix-patches@gnu.org; Wed, 15 May 2024 14:17:03 -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 1s7JBU-0006Ag-OI for guix-patches@gnu.org; Wed, 15 May 2024 14:17:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7JBW-0002a7-FS for guix-patches@gnu.org; Wed, 15 May 2024 14:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70131] [PATCH 2/5] gnu: u-boot: Use DDR3 patch for Nano Pi R4S. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 May 2024 18:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Herman Rimm , 70131@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 70131-submit@debbugs.gnu.org id=B70131.17157970079888 (code B ref 70131); Wed, 15 May 2024 18:17:02 +0000 Received: (at 70131) by debbugs.gnu.org; 15 May 2024 18:16:47 +0000 Received: from localhost ([127.0.0.1]:43660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7JBH-0002ZQ-1V for submit@debbugs.gnu.org; Wed, 15 May 2024 14:16:47 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:40236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7JBE-0002Z7-P0 for 70131@debbugs.gnu.org; Wed, 15 May 2024 14:16:45 -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 99FA01AA9A; Wed, 15 May 2024 11:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1715796963; bh=2lj8rSPEnV3KXGLPXRYfED2QsoYmBYaL/lVKh12IO34=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=d4AHodAhGHwfl3Pzm7v41rZJ7srcw0HnGMlLzLNzIRcokNLwd3f3rnBXCGusyFgu/ qEOmviC+7KnfZS/Ls6dN76ZzRsmn40TYGAajC1VjxZGYzKjsLW92JlshgA8d13RRs6 qlCCg5LY0M4ULfyVNVPBpoZ1V7XUgrXFVyE//ogvBEGBVNPfjuvuowpA4cOc6P4Xq0 T4x1fZK2Z/KmE0AovAYlHsdfvOceRAEuYJPAZdkVbzHIAOVEGozo8HQIXFv14sXU6t /Wx5svLAutvOudXDYdegrgrT1b0J2nqgURBBvDUD/TNo+FA75ZppV8C1AAtw4WCQLb qmXvKys0SdL3w== From: Vagrant Cascadian In-Reply-To: References: Date: Wed, 15 May 2024 11:16:00 -0700 Message-ID: <87h6ezrlen.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-Queue-Id: 0B53825E9A X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.47 X-Spam-Score: -3.47 X-TUID: bMhDEVDB1wf4 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2024-05-09, Herman Rimm wrote: > * gnu/packages/bootloaders.scm (%u-boot-nanopi-r4s-ddr3-patch): Add > variable. > (u-boot)[source]: Use patch. > * gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch: Add file. > * gnu/local.mk (dist_patch_DATA): Register patch. ... > diff --git a/gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch b/gnu/pack= ages/patches/u-boot-nanopi-r4s-ddr3.patch > new file mode 100644 > index 0000000000..3c4f5efaf4 > --- /dev/null > +++ b/gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch > @@ -0,0 +1,25 @@ > +diff --git a/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi b/arch/arm/dts/r= k3399-nanopi-r4s-u-boot.dtsi > +index 69800cc368..a3054849f8 100644 > +--- a/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi > ++++ b/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi > +@@ -13,7 +13,7 @@ > + */ > +=20 > + #include "rk3399-nanopi4-u-boot.dtsi" > +-#include "rk3399-sdram-lpddr4-100.dtsi" > ++#include "rk3399-sdram-ddr3-1866.dtsi" > +=20 > + / { > + smbios { > +diff --git a/configs/nanopi-r4s-rk3399_defconfig b/configs/nanopi-r4s-rk= 3399_defconfig > +index 4f4363cb0f..bfa7ee628d 100644 > +--- a/configs/nanopi-r4s-rk3399_defconfig > ++++ b/configs/nanopi-r4s-rk3399_defconfig > +@@ -54,7 +54,6 @@ CONFIG_PMIC_RK8XX=3Dy > + CONFIG_REGULATOR_PWM=3Dy > + CONFIG_REGULATOR_RK8XX=3Dy > + CONFIG_PWM_ROCKCHIP=3Dy > +-CONFIG_RAM_ROCKCHIP_LPDDR4=3Dy > + CONFIG_BAUDRATE=3D1500000 > + CONFIG_DEBUG_UART_SHIFT=3D2 > + CONFIG_SYS_NS16550_MEM32=3Dy > --=20 > 2.41.0 Is this patch submitted upstream or present in newer versions? Are all boards of this type using DDR3, or are there some that use LPDDR4? This sort of information would be nice to include inside the .patch file itself. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZkT74AAKCRDcUY/If5cW qsE0AQCLG4mIrX6FLC+ooGa3sOCNT6zWkGlZLlL9HNd0yxPCKwD/fBhEbXLYRcJi /MeERrbhx91X6BBOoNKb35OmgPAZ1QM= =FQ/x -----END PGP SIGNATURE----- --=-=-=--