all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 435ffd55546efd4ff71ad9955e96e9ae186e2215 1149 bytes (raw)
name: gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
From: Herman Rimm <herman@rimm.me>
Date: Sun, 2 Jul 2023 13:43:18 +0200
Subject: [PATCH] Configure the Nano Pi R4S with DDR3.

---
This patch should be removed once something like this is upstream:
https://github.com/anaelorlinski/OpenWrt-NanoPi-R2S-R4S-Builds/commit/9d836044340ddef53f5d9f1946ac48c946a78284

diff --git a/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi b/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi
index 69800cc368d..a3054849f88 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 @@
  */
 
 #include "rk3399-nanopi4-u-boot.dtsi"
-#include "rk3399-sdram-lpddr4-100.dtsi"
+#include "rk3399-sdram-ddr3-1866.dtsi"
 
 / {
 	smbios {
diff --git a/configs/nanopi-r4s-rk3399_defconfig b/configs/nanopi-r4s-rk3399_defconfig
index ada04b46cb1..b39e350bbed 100644
--- a/configs/nanopi-r4s-rk3399_defconfig
+++ b/configs/nanopi-r4s-rk3399_defconfig
@@ -48,7 +48,6 @@ CONFIG_PMIC_RK8XX=y
 CONFIG_SPL_DM_REGULATOR_FIXED=y
 CONFIG_REGULATOR_RK8XX=y
 CONFIG_PWM_ROCKCHIP=y
-CONFIG_RAM_ROCKCHIP_LPDDR4=y
 CONFIG_BAUDRATE=1500000
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550_MEM32=y

debug log:

solving 435ffd5554 ...
found 435ffd5554 in https://yhetil.org/guix/ca04751770e9c5108d9f3c3f1228485be731f4d7.1734122005.git.herman@rimm.ee/

applying [1/1] https://yhetil.org/guix/ca04751770e9c5108d9f3c3f1228485be731f4d7.1734122005.git.herman@rimm.ee/
diff --git a/gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch b/gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch
new file mode 100644
index 0000000000..435ffd5554

1:21: trailing whitespace.
 
1:25: trailing whitespace.
 
1:27: space before tab in indent.
 	smbios {
Checking patch gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch...
Applied patch gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 435ffd55546efd4ff71ad9955e96e9ae186e2215	gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.