lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun,  9 May 2021 11:14:17 +0000
From:   guoren@...nel.org
To:     guoren@...nel.org, arnd@...db.de
Cc:     linux-kernel@...r.kernel.org, linux-csky@...r.kernel.org,
        linux-arch@...r.kernel.org, Guo Ren <guoren@...ux.alibaba.com>
Subject: [PATCH] csky: Fixup 610 bootup failed

From: Guo Ren <guoren@...ux.alibaba.com>

Actually, there is only one 610 product is in the market(gx6605s).

The soc's DRAM base is 0x10000000, so make it default for 610.

Signed-off-by: Guo Ren <guoren@...ux.alibaba.com>
Cc: Arnd Bergmann <arnd@...db.de>
---
 arch/csky/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
index 8de5b98..4d59d66 100644
--- a/arch/csky/Kconfig
+++ b/arch/csky/Kconfig
@@ -316,7 +316,9 @@ config FORCE_MAX_ZONEORDER
 
 config DRAM_BASE
 	hex "DRAM start addr (the same with memory-section in dts)"
-	default 0x0
+	default 0x10000000	if (CPU_CK610)
+	default 0x0		if (!CPU_CK610)
+
 
 config HOTPLUG_CPU
 	bool "Support for hot-pluggable CPUs"
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ