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 52368C43334 for ; Fri, 17 Jun 2022 16:50:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3C3AD8444E; Fri, 17 Jun 2022 18:50:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="i+XFNyjJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C07348445C; Fri, 17 Jun 2022 18:50:51 +0200 (CEST) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3F80B84410 for ; Fri, 17 Jun 2022 18:50:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=lee.jones@linaro.org Received: by mail-pl1-x632.google.com with SMTP id g8so4347760plt.8 for ; Fri, 17 Jun 2022 09:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=IIAUTR7OoIWJ2pRx1i7opD5gYbV+utufr8Lugo57XZ4=; b=i+XFNyjJRiPnKyxW2lf6o9XxK07x6WiRXBbH6Ro6E2mucjI0sgX1OzFmPF7zhX53Mg k85Mj86mFFUyQnXpTWquE4xroiKLAlXdNpre340S/y5+df6ex5+CdttcoZWk2+tAYEuj e7pJZwG4vbW51x/rpDwrbzyLTHi33i0s74TaKG5pjgBf1pykO4jmKDj5GE2uMe8TiATM 3NfdpqOX26h2hxMu55PYA/WGjlOlcaUXTAsWkAlSaEXQwFLdoZD/GKy+7GCUvXhKavQs fGoxYH2bzshW4Y6ZU97afnesl7RadtwHSJuYGEOGgBVvFTVnQgnj6qb108cmhloERjI+ mCSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=IIAUTR7OoIWJ2pRx1i7opD5gYbV+utufr8Lugo57XZ4=; b=gYFmFagOSp5LBEID/MDD4SjZgVPbomXVVZlgiXebRVtoVnrud9iarC4zHPvE3M5Mbb IY9bRbZ0OuI8qGHRlJsNxaH4pJiOG/zA08Rn34ia4KIJNjHOlGN/DhKScu8Rg4rgGa1N EVUhlzpu9Y6ajeqyUZF84imre2aBZ/+VxlDyM0KrXZ0D9hIzNe/Qi1SxENpHX0Wk5Pw1 c1hXVJBrHcx+OHoyUkz8qiXFFqDgjrcnE6vVZhPLuQB/S/a2GrYW7vjRDHQ3jzuCS1S7 reLg/AisaTkrXBnE5njE2VM8UboHE7DfATxen7EaPVVJ8X9CT5zsPl63pglJ0ixnCi8T jsxQ== X-Gm-Message-State: AJIora88oLhAGvFAbbA5NAekgSAjy0bkos8YZvRu2A1A3E0sgn6QInAi L6/87SQnU/TQJEjNbQJUzZx0Og== X-Google-Smtp-Source: AGRyM1tg5lQmvYnC6t3hmVPziKa1DmxUWEeY6Zzf35V+7J+TpdeA/WGsiqmnCxSK0967pKXxFYk1ag== X-Received: by 2002:a17:90b:4b8d:b0:1e3:5147:6e63 with SMTP id lr13-20020a17090b4b8d00b001e351476e63mr11704819pjb.162.1655484647292; Fri, 17 Jun 2022 09:50:47 -0700 (PDT) Received: from google.com ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id b10-20020a170902650a00b00162529828aesm3797564plk.109.2022.06.17.09.50.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 09:50:46 -0700 (PDT) Date: Fri, 17 Jun 2022 17:50:43 +0100 From: Lee Jones To: "cym@rock-chips.com" Cc: u-boot , linux-rockchip , wxt , =?utf-8?B?5p2o5Yev?= , zhangqing , =?utf-8?B?6buE5bCP5Lic?= , =?utf-8?B?6ZmI5YGl5rSq?= , =?utf-8?B?5p6X5bmz?= , =?utf-8?B?5rGk5LqR5bmz?= , cwz , chenfen , jagan , sjg , pgwipeout , adelva , rammuthiah Subject: Re: Re: [Rock Pi 4+] Mainline LPDDR4 RAM initialisation is not sufficient to boot successfully Message-ID: References: <2022061720060297899624@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2022061720060297899624@rock-chips.com> 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 On Fri, 17 Jun 2022, cym@rock-chips.com wrote: > Could you help us to get the DRAM part number which initialization failures on the Rock Pi 4+. I have tested 3 boards; one appears to be fully working, on another 1 of the 2 LPDDR4 (Channel 1) chips consistently fails with a Col and Cap Error and on the final one both chips (Channel 0 & 1) fail in the same way as the last (Col and Cap errors). All chips are: H9HCNNNBKUML > We have found that some LPDDR4 abnormal operation at 50MHz. > I think you can try that use 400MHz to detect capacity. Wonderful. This solves the problem. Thank you so much! Would you like to submit this into upstream U-boot yourself, or would you like me to do that for you? If the former, please Cc me on the patch and add my: Tested-by Lee Jones If the latter, please let me know and I'll do what I can to help. -- Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog