From 49a121f0ecf8876f8d2a632976c0c485e6eda554 Mon Sep 17 00:00:00 2001 From: reemo3dp <150130755+reemo3dp@users.noreply.github.com> Date: Mon, 20 May 2024 22:26:18 +0200 Subject: [PATCH] Align DRAM again with FlyOS (hopefully avoids weird memory bugs) --- patches/0008-Align-DRAM-with-flyos-334.patch | 49 ++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 patches/0008-Align-DRAM-with-flyos-334.patch diff --git a/patches/0008-Align-DRAM-with-flyos-334.patch b/patches/0008-Align-DRAM-with-flyos-334.patch new file mode 100644 index 0000000..4b2362b --- /dev/null +++ b/patches/0008-Align-DRAM-with-flyos-334.patch @@ -0,0 +1,49 @@ +From 2836ba43588e6f7eba199a68a9b6a015455835f4 Mon Sep 17 00:00:00 2001 +From: User +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 ++Date: Mon, 20 May 2024 15:41:07 +0000 ++Subject: Patching u-boot sunxi64 files configs/mellowfly_geminipi_defconfig ++ ++Signed-off-by: John Doe ++--- ++ 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 +