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 X-Spam-Level: X-Spam-Status: No, score=-9.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5486FC2B9F8 for ; Tue, 25 May 2021 16:51:34 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 60D2C613E1 for ; Tue, 25 May 2021 16:51:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 60D2C613E1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 72D7F82EC6; Tue, 25 May 2021 18:51:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="LC6OTNGK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 88CB482EE4; Tue, 25 May 2021 18:51:29 +0200 (CEST) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (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 86C0182EAC for ; Tue, 25 May 2021 18:51:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ericnelsonaz@gmail.com Received: by mail-pf1-x42b.google.com with SMTP id x188so24062804pfd.7 for ; Tue, 25 May 2021 09:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=kLSm4nyjeK1VEhSo57QLG961Ag5bX+Z6B/YUHEUxx+s=; b=LC6OTNGK/is9gq+UYWx1+7JmouX9gUHI0CHaiEknkqz9gGMyk1wHeb/6m7/QNp+kXE WVDiiV1WD9c6TTxQKb9oxAEqTTnhZ34gwNyBJa53eOeXrF80JCreMJSs06h+V5yp518e IGoUamg0iioc8DynDnEuDHt1TzuDa6/7jlb5Kd8m2ZWOL3J3oQ7yd6F3SAyFlCv4fkA0 gUSV9z0CVXVTa2IkG2eh8eCcTDAh5IO1vO7CWyWQY69a3R72dovdyZIfkaCzm2eB4s5I AmAF/LxbnCT47525YPUWLGgfOExoFjIrPyJKUyBXbz/R1ChxxsyZMJ7tAHesTFYmgQrZ Gg/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=kLSm4nyjeK1VEhSo57QLG961Ag5bX+Z6B/YUHEUxx+s=; b=i2aaf0DIYdOuQSc6q1LQPuAPNGnOZ6ePxY1hJ31U1kb8yIuVFimmpk1PXsJe77fBSn wqv6k1SBbET3m6bASHAEp+9htoxf1OCNrWBos2A2YDQJMutQYQuZcXYJEehQkH3367YR /o5/JCZw3Sn64KiS5LvvO6EnXfC2MBe7m5p/fhVTRqK55Fvm/Vy0LHhtACVAYvpMW2br uK1J2HKGuVak4FEEpWNpeeDreLW6snFN+exVPqm+dlN2WOqS9bpPMfykVmn/QXx97gHH a74Fx2PaVgES1CQIy9VMb+OzaxSI2pupcADGi5vevnak0V1sCRQY54XeCUtVZb1GZAYa +cbw== X-Gm-Message-State: AOAM530xPm+YQX4ZPMY4yQgNTEl6FrhQQ1HtuSbPC4U7TI6FEsX045QQ 8URZrDq8Lnn7/qYCmtz5CwA= X-Google-Smtp-Source: ABdhPJwZXdAYx2carGV5wIkOyjy5HGKFX1NJTu4ts1MqqGzF7qqnVt7oCdkU0X/Rw02PyxdGloYnXg== X-Received: by 2002:a65:5a08:: with SMTP id y8mr15580083pgs.199.1621961484860; Tue, 25 May 2021 09:51:24 -0700 (PDT) Received: from ?IPv6:2600:8800:1303:9b00:7065:636e:4ea1:a9b1? ([2600:8800:1303:9b00:7065:636e:4ea1:a9b1]) by smtp.gmail.com with ESMTPSA id q24sm12970019pjp.6.2021.05.25.09.51.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 May 2021 09:51:24 -0700 (PDT) Subject: Re: [PATCH 07/18] mx6memcal: Disable USB GADGET in SPL To: Tom Rini Cc: u-boot@lists.denx.de, Stefano Babic References: <20210522124757.18639-1-trini@konsulko.com> <20210522124757.18639-8-trini@konsulko.com> <845bf2d6-7406-513f-7a95-c7e83b7b494d@nelint.com> <20210525154757.GV17669@bill-the-cat> <9516ec99-2c4b-28cf-1ea2-cef8cc79fdba@gmail.com> <20210525164559.GX17669@bill-the-cat> From: Eric Nelson Message-ID: <030c09a4-8bd2-05ee-6f36-aa8390374f15@gmail.com> Date: Tue, 25 May 2021 09:51:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210525164559.GX17669@bill-the-cat> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean Hi Tom, On 5/25/21 9:45 AM, Tom Rini wrote: > On Tue, May 25, 2021 at 09:19:30AM -0700, Eric Nelson wrote: >> Hi Tom, >> >> On 5/25/21 8:47 AM, Tom Rini wrote: >>> On Tue, May 25, 2021 at 07:10:29AM -0700, Eric Nelson wrote: >>> >>>> Since the proper U-Boot doesn't do anything at the moment, I don't think >>>> this hurts much. >>>> >>>> My usage of mx6memcal generally ends after SPL spits out calibration >>>> values, and I suspect the same is true for other users, so >>>> >>>> Acked-by: Eric Nelson >>> But don't you need SPL gadget support to easily load this in? >>> >> No. The calibration is done by the SPL running in internal RAM. > ... ah, yes, sorry, I'm with you now. ROM loads via gadget, SPL runs, > does memcalc, displays values, then you move on to the real board. > And test under Linux, where you can exercise things with the GPU and VPU active. Testing under U-Boot doesn't tend to find calibration errors. It would be helpful to test under U-Boot by adding support for changing up the DDR frequencies (as done in the NXP test), but that's something for another day.