Skip to content

Commit

Permalink
nanopc t4: fix sdram unstable
Browse files Browse the repository at this point in the history
Set sdram frequency to 1600MHz and switch to blobless
  • Loading branch information
msdos03 committed Jan 29, 2025
1 parent 9b82282 commit cd53a51
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/boards/nanopct4.csc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ FULL_DESKTOP="yes"
ASOUND_STATE="asound.state.rt5651"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-nanopc-t4.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SCENARIO="blobless"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 7e982e4a89d1f2e23b121c2db5386dc348f0e52b Mon Sep 17 00:00:00 2001
From: Lu jicong <[email protected]>
Date: Wed, 29 Jan 2025 19:46:03 +0800
Subject: [PATCH] nanopc-t4: use 1600MHz sdram configuration

Some boards are unstable at 1866MHz configuration
Switch to 1600MHz to avoid unstable problems
This is also consistent with stock frequency
---
arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi b/arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi
index 17201bcf41..8b6c9059ab 100644
--- a/arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi
@@ -4,4 +4,4 @@
*/

#include "rk3399-nanopi4-u-boot.dtsi"
-#include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi"
+#include "rk3399-sdram-lpddr3-4GB-1600.dtsi"
--
2.39.5

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 7e982e4a89d1f2e23b121c2db5386dc348f0e52b Mon Sep 17 00:00:00 2001
From: Lu jicong <[email protected]>
Date: Wed, 29 Jan 2025 19:46:03 +0800
Subject: [PATCH] nanopc-t4: use 1600MHz sdram configuration

Some boards are unstable at 1866MHz configuration
Switch to 1600MHz to avoid unstable problems
This is also consistent with stock frequency
---
arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi b/arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi
index 17201bcf41..8b6c9059ab 100644
--- a/arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi
@@ -4,4 +4,4 @@
*/

#include "rk3399-nanopi4-u-boot.dtsi"
-#include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi"
+#include "rk3399-sdram-lpddr3-4GB-1600.dtsi"
--
2.39.5

0 comments on commit cd53a51

Please sign in to comment.