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/packages/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/rk3399-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 @@ > + */ > + > + #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 4f4363cb0f..bfa7ee628d 100644 > +--- a/configs/nanopi-r4s-rk3399_defconfig > ++++ b/configs/nanopi-r4s-rk3399_defconfig > +@@ -54,7 +54,6 @@ CONFIG_PMIC_RK8XX=y > + CONFIG_REGULATOR_PWM=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 > -- > 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