From patchwork Fri Jun 15 20:52:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 930257 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=paulk.fr Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 416t3r5rYcz9s3R for ; Sat, 16 Jun 2018 06:52:55 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id E01A3C21DCA; Fri, 15 Jun 2018 20:52:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 159ADC21C27; Fri, 15 Jun 2018 20:52:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1EB33C21C27; Fri, 15 Jun 2018 20:52:47 +0000 (UTC) Received: from leonov.paulk.fr (leonov.paulk.fr [185.233.101.22]) by lists.denx.de (Postfix) with ESMTPS id AC877C21BE5 for ; Fri, 15 Jun 2018 20:52:46 +0000 (UTC) Received: from gagarine.paulk.fr (gagarine [192.168.1.127]) by leonov.paulk.fr (Postfix) with ESMTPS id B09A7C0292 for ; Fri, 15 Jun 2018 22:52:45 +0200 (CEST) Received: by gagarine.paulk.fr (Postfix, from userid 114) id DF985C0752; Fri, 15 Jun 2018 22:52:43 +0200 (CEST) Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id A5DEDC0604; Fri, 15 Jun 2018 22:52:40 +0200 (CEST) From: Paul Kocialkowski To: u-boot@lists.denx.de Date: Fri, 15 Jun 2018 22:52:39 +0200 Message-Id: <20180615205239.11868-1-contact@paulk.fr> X-Mailer: git-send-email 2.17.1 Cc: Maxime Ripard , Jelle de Jong , Jagan Teki Subject: [U-Boot] [PATCH] configs: Lower Lamobo R1 DRAM clock rate to 384 MHz X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" When running at 432 MHz, the Lamobo R1 DRAM tends to get corrupted under stressing workloads. Reducing the clock rate to 384 MHz results in significantly-improved stability. One reliable way to trigger a corruption at 432 MHz is to run I/O-intensive operations on an attached SATA disk. The same operations when operating the DRAM at 384 MHz typically go fine. For some unexplained reason, running at 408 MHz worsens the situation. Signed-off-by: Paul Kocialkowski --- configs/Lamobo_R1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/Lamobo_R1_defconfig b/configs/Lamobo_R1_defconfig index 92e682128c..cf60fdfaf4 100644 --- a/configs/Lamobo_R1_defconfig +++ b/configs/Lamobo_R1_defconfig @@ -2,7 +2,7 @@ CONFIG_ARM=y CONFIG_ARCH_SUNXI=y CONFIG_SYS_TEXT_BASE=0x4a000000 CONFIG_MACH_SUN7I=y -CONFIG_DRAM_CLK=432 +CONFIG_DRAM_CLK=384 CONFIG_MACPWR="PH23" CONFIG_MMC0_CD_PIN="PH10" CONFIG_SATAPWR="PB3"