From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 90E72C433EF for ; Tue, 12 Apr 2022 18:50:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CB78383ED9; Tue, 12 Apr 2022 20:44:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1649789097; bh=K0kLZKfDyTETl/Foce6NphKQlyB8tapoP15lc/KLJnQ=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=J13hlXyBzyUjxQDK8O1AUsoVUI9Oix2RgUweo4kTMMFQf2CmmrqknRX3YDGgynBCO E0sjJsyUtQIAZGfW8jv9e3j0JwaMXPzVoEMqbp/FazfnCsMt6UxiV7H7UAON0E2h7O J9UKFOh9kNPs79n62iAeQtgrWU13Yirag0bXoshnhgiOpCN5JvJaoVZH2mHpjrUFpX 6mI+ZJXIY0bYPNc7TgcdEMsFOEihP+Kcytk1dgMI4ae2OBdFJmkLRd57+xIBO1Je0S pYchHsoskL4LC9IYc6aiJGV5pPa7glsqfw41iyDTAA9GrQ28d2ks8jxpvevHr0XXuz 6LuQ90xivglIw== Received: by phobos.denx.de (Postfix, from userid 109) id F041183AF5; Tue, 12 Apr 2022 20:44:27 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7234D83E30 for ; Tue, 12 Apr 2022 20:44:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KdF4n1Cp2z1s7tQ; Tue, 12 Apr 2022 20:44:25 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KdF4n13trz1qqkB; Tue, 12 Apr 2022 20:44:25 +0200 (CEST) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id qNsmPRe0ouVk; Tue, 12 Apr 2022 20:44:24 +0200 (CEST) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 12 Apr 2022 20:44:24 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1616338 X-Patchwork-Delegate: sbabic@denx.de To: Fabio Estevam ,u-boot@lists.denx.de Subject: [PATCH v2 2/5] imx8mm-cl-iot-gate: Retrieve the DDR type from EEPROM In-reply-to: <20220412160539.3249234-2-festevam@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Message-Id: <20220412184427.F041183AF5@phobos.denx.de> Date: Tue, 12 Apr 2022 20:44:25 +0200 (CEST) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean > From: Fabio Estevam > Currently, the DDR type is retrieved by iteracting inside an array > of possible DDR types. > This may take saveral attempts, which slows the overall U-Boot process > and does not provide a good user experience: > U-Boot SPL 2021.07 (Feb 28 2022 - 06:39:32 +0000) > DDRINFO: Cfg attempt: [ 1/6 ] > DDRINFO(M): mr5-8 [ 0xff000010 ] > DDRINFO(T): mr5-8 [ 0x5000010 ] > resetting ... > U-Boot SPL 2021.07 (Feb 28 2022 - 06:39:32 +0000) > DDRINFO: Cfg attempt: [ 2/6 ] > DDRINFO(M): mr5-8 [ 0xff000010 ] > DDRINFO(T): mr5-8 [ 0x1061010 ] > resetting ... > U-Boot SPL 2021.07 (Feb 28 2022 - 06:39:32 +0000) > DDRINFO: Cfg attempt: [ 3/6 ] > DDRINFO(M): mr5-8 [ 0xff000010 ] > DDRINFO(T): mr5-8 [ 0xff000010 ] > Normal Boot > WDT: Not starting > Trying to boot from MMC2 > NOTICE: BL31: v2.5(release):v2.5 > NOTICE: BL31: Built : 07:12:44, Jan 24 2022 > Improve the boot time by retrieving the correct DDR information from > the EEPROM: > U-Boot SPL 2022.04-rc4-00045-g6d02bc40d58c (Mar 19 2022 - 08:22:29 -0300) > DDRINFO(D): Kingston 4096G > DDRINFO(M): mr5-8 [ 0xff000010 ] > DDRINFO(E): mr5-8 [ 0xff000010 ] > Normal Boot > WDT: Started watchdog@30280000 with servicing (60s timeout) > Trying to boot from MMC2 > NOTICE: BL31: v2.5(release):v2.5 > NOTICE: BL31: Built : 22:28:11, Mar 15 2022 > Based on the original code from Compulab's U-Boot. > Tested on a imx8mm-cl-iot-gate board populated with 4GB of RAM. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================