Skip to content

Commit

Permalink
Align DRAM again with FlyOS (hopefully avoids weird memory bugs)
Browse files Browse the repository at this point in the history
  • Loading branch information
reemo3dp committed May 20, 2024
1 parent f7d3e8e commit 49a121f
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions patches/0008-Align-DRAM-with-flyos-334.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
From 2836ba43588e6f7eba199a68a9b6a015455835f4 Mon Sep 17 00:00:00 2001
From: User <user@example.com>
Date: Mon, 20 May 2024 17:45:10 +0200
Subject: [PATCH 8/8] Align DRAM with flyos 334

---
.../0007-Align-DRAM_CLK_with_FLYOS_334.patch | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 userpatches/u-boot/u-boot-sunxi/0007-Align-DRAM_CLK_with_FLYOS_334.patch

diff --git a/userpatches/u-boot/u-boot-sunxi/0007-Align-DRAM_CLK_with_FLYOS_334.patch b/userpatches/u-boot/u-boot-sunxi/0007-Align-DRAM_CLK_with_FLYOS_334.patch
new file mode 100644
index 000000000..94fc2f916
--- /dev/null
+++ b/userpatches/u-boot/u-boot-sunxi/0007-Align-DRAM_CLK_with_FLYOS_334.patch
@@ -0,0 +1,30 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: John Doe <john.doe@somewhere.on.planet>
+Date: Mon, 20 May 2024 15:41:07 +0000
+Subject: Patching u-boot sunxi64 files configs/mellowfly_geminipi_defconfig
+
+Signed-off-by: John Doe <john.doe@somewhere.on.planet>
+---
+ configs/mellowfly_geminipi_defconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configs/mellowfly_geminipi_defconfig b/configs/mellowfly_geminipi_defconfig
+index 2157aab516..e882652dcf 100644
+--- a/configs/mellowfly_geminipi_defconfig
++++ b/configs/mellowfly_geminipi_defconfig
+@@ -1,11 +1,11 @@
+ CONFIG_ARM=y
+ CONFIG_ARCH_SUNXI=y
+ CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-mellowfly-geminipi"
+ CONFIG_SPL=y
+ CONFIG_MACH_SUN50I_H5=y
+-CONFIG_DRAM_CLK=624
++CONFIG_DRAM_CLK=508
+ CONFIG_DRAM_ZQ=3881977
+ # CONFIG_DRAM_ODT_EN is not set
+ # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+ CONFIG_SUN8I_EMAC=y
+ CONFIG_USB_EHCI_HCD=y
+--
+Created with Armbian build tools https://github.com/armbian/build
+
--
2.45.0

0 comments on commit 49a121f

Please # to comment.