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 08992C07E9D for ; Sat, 24 Sep 2022 19:10:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 708AD84ADF; Sat, 24 Sep 2022 21:10:38 +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="dQrtJcfN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7E16F84AF7; Sat, 24 Sep 2022 21:10:37 +0200 (CEST) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (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 ABF1484AC8 for ; Sat, 24 Sep 2022 21:10:34 +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=aford173@gmail.com Received: by mail-ej1-x62c.google.com with SMTP id z13so6725649ejp.6 for ; Sat, 24 Sep 2022 12:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=O730DpNlLCTGWLTLC/7oLdqfzaSi7AVxTQ1zKBZ5dkI=; b=dQrtJcfNVRN6V/WU+zV4+vHQDotllUzAGMjX8y3syhB5fHRrb8kIKXexpxsPGx2myv MijJjGwQNswVxmGfn49Qe2G/LNx+9X9k41etsSka1CN1mIeubvzsPIWL6hdkYChrd5HH x8NMuDgQQZzvgeNL9t0MMJ2yLBnEdFPzvbFFn411ZOyuR4H/YsOiQ0jhw1oKTXXUXjtl IgJgqm9rQqYeAk+jsFyIWOFUs2cpztOKfWn6/d2pvy9S5ZkWDw1iPk27fl27+nDahmHi qBpTp6LbQZl0z+uwXwMBi+jKiPeTTiLPwgWcT0YFP+sCVj8YCMvZ3Opw8BPE+h/IHH8t dCWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=O730DpNlLCTGWLTLC/7oLdqfzaSi7AVxTQ1zKBZ5dkI=; b=YmFPSfu2AWBNJWHfA47e9DnxiRsiqs9037d3iHGgLMKB5JJB2gPIZD8MIHk6ZcUDZ6 fpsOUx1d0kQXYpxB/SsHjQkvJPMdbVXRChy4WfvkD1V1XA9swQjUMjFAAKePLUDxWO5G iaS7rGFYFFIrCO/JxP/GVhcShASPWqiNs17I9G4Z30jxhVATbsphFtghRgWPpj39SUAH zx9C27ew7FWKYkDe2cQBeZhzsqr0MJDi4ktwrgdHC5ZC86OzDwiY/OJ7wwzICKeXnMTa I8Paj6hqwHPXzJatg7zQhDEPL2qtk3Z+MjiB8Dac1jUjubMdOkjwkPHPdiiTH37eMTRF x9pg== X-Gm-Message-State: ACrzQf3AUMAvseA0zWJpbkdUKSTrWzoQ9wl83W/qcf33ui1PPBOAAR2l wGm4uoaSWkX2r1y+XcN0sdpjMgn5sDge6QYx+vY= X-Google-Smtp-Source: AMsMyM6pq8FGaKIkReeXcNTm6cALmG0htdtZCx5Nm/7D9x4E+DfupWqeHHzXm5WzGPm4UTcAhRtC5WjXUGUZauVNNos= X-Received: by 2002:a17:907:a4e:b0:77d:94d:8148 with SMTP id be14-20020a1709070a4e00b0077d094d8148mr11484372ejc.607.1664046634141; Sat, 24 Sep 2022 12:10:34 -0700 (PDT) MIME-Version: 1.0 References: <20220919194118.105820-1-marex@denx.de> <20220919194118.105820-4-marex@denx.de> In-Reply-To: From: Adam Ford Date: Sat, 24 Sep 2022 14:10:23 -0500 Message-ID: Subject: Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support To: Michael Nazzareno Trimarchi Cc: Fabio Estevam , Marek Vasut , U-Boot Mailing List , Marcel Ziswiler , Max Krummenacher , Peng Fan , Stefano Babic Content-Type: text/plain; charset="UTF-8" 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.6 at phobos.denx.de X-Virus-Status: Clean On Sat, Sep 24, 2022 at 2:00 PM Michael Nazzareno Trimarchi wrote: > > > > Il sab 24 set 2022, 20:54 Adam Ford ha scritto: >> >> On Sat, Sep 24, 2022 at 1:52 PM Michael Nazzareno Trimarchi >> wrote: >> > >> > On Sat, Sep 24, 2022 at 8:38 PM Adam Ford wrote: >> > > >> > > On Mon, Sep 19, 2022 at 5:02 PM Fabio Estevam wrote: >> > > > >> > > > Hi Marek, >> > > > >> > > > On 19/09/2022 16:41, Marek Vasut wrote: >> > > > > Enable DM USB, DM PHY and USB gadget support in imx8mm-mx8menlo SPL >> > > > > to let the board continue SDP loading of second stage after the first >> > > > > stage was loaded by BootROM SDP implementation. It is not possible to >> > > > > jump back into BootROM v1 and let the BootROM implementation continue >> > > > > the SDP loading, all this has to be performed by the U-Boot CI HDRC >> > > > > controller driver and SDP protocol implementation, both of which fit >> > > > > into the SPL just barely. >> > > > > >> > > > > With this patch, it is possible to start both U-Boot SPL and U-Boot >> > > > > using e.g. uuu on this board as follows: >> > > > > >> > > > > $ uuu -brun spl flash.bin >> > > > > >> > > > > Signed-off-by: Marek Vasut >> > > > >> > > > This is great, I was able to test SPL SDP on an imx8mm-evk after >> > > > applying these >> > > > same changes to imx8mm-evk and reducing the SPL size. >> > > >> > > Fabio, >> > > >> > > Can you tell me what you did to reduce the SPL size? >> > > >> > >> > CONFIG_LTO from the other patch >> >> Bummer. I was hoping there was more. I already have LTO enabled. I >> was hoping there was more to it. > > > What version of U-Boot are you using? > > Mainline or some older one. Are you compile under yocto? I am using the Mainline with the aarch64 gcc from Ubuntu 22.04. I am over by ~1100 bytes with LTO enabled, but I'm going through my SPL drivers to see what I can either remove or reduce functionality. adam > > Michael > > >> >> adam >> > >> > Michael >> > >> > > adam >> > > > >> > > > For the series: >> > > > >> > > > Reviewed-by: Fabio Estevam >> > >> > >> > >> > -- >> > Michael Nazzareno Trimarchi >> > Co-Founder & Chief Executive Officer >> > M. +39 347 913 2170 >> > michael@amarulasolutions.com >> > __________________________________ >> > >> > Amarula Solutions BV >> > Joop Geesinkweg 125, 1114 AB, Amsterdam, NL >> > T. +31 (0)85 111 9172 >> > info@amarulasolutions.com >> > www.amarulasolutions.com