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 88F63C32771 for ; Sat, 24 Sep 2022 19:19:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 788EA84ADF; Sat, 24 Sep 2022 21:19:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="SgS9wt4G"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A0CD984AC8; Sat, 24 Sep 2022 21:19:52 +0200 (CEST) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 5459384B00 for ; Sat, 24 Sep 2022 21:19:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@amarulasolutions.com Received: by mail-ed1-x530.google.com with SMTP id m3so4159750eda.12 for ; Sat, 24 Sep 2022 12:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=BT3IGhj2cYU1jsTMxC7mkSsAipZeiP94UZtm6m2pEII=; b=SgS9wt4GXKU0p7jc7VVL7BNUsw6NvV5/ynnHFs8n7ieXvo5mi89HbqpV9c8PcpK2Af hZM8ubv5kZ0kCX8HIxwyi5SukgxLHs2tDmLcN9MfcXlXJKJ6mL2EZYMPCAJ34vfBqjFO e1XZ9+vOPeC8T59/7xT5WNhke/n9g8ubNT864= 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=BT3IGhj2cYU1jsTMxC7mkSsAipZeiP94UZtm6m2pEII=; b=hk1xZ248n1obNZoLhoYyuU4w03/Xhn12grqMksTQkjxrhrggDyMT2kibexxtB4yzKj ak8qwZ6TM2RQ0BsikhJI98MZDtlMg+98qgbkuk9hC1xKBpeS2ENAc7Yp1WiggYH4oZt7 +pcOgMrD3t73lKM4zXFbV4B7Qyw6uMTMOyOXw9zfxVcvL2OT2sTVPLocT0NgABSzNy78 xYq4u442rvSty/oc1xpp2iLtVpC1G+YyDZpO8GjvOsbsZhn8x12GX/jQpYB0B9x24iPi yak5GnehsEbvJaxDF2CVzXQFpvdMNXGMvETcMc8FB57GsQ+U9WNTS9cpFxGWEo9V0BcM MRtA== X-Gm-Message-State: ACrzQf3rYELxbKmA1AjzxoXokDokDAhH0HXID5mNeDJ0I7f0MKx6nu8U DlAlZlI8KSQ9OduPP8bspolkLjjgIYVnjh7Hm4LLYQ== X-Google-Smtp-Source: AMsMyM5/l0+bkzfvrNhvGUiQ/7nun7tC79yshPgzbT2myyW6vxpEZiUtABofScp5WgsG4G9b8NhnpzEggAf2K59jW40= X-Received: by 2002:aa7:d911:0:b0:457:3d7:9004 with SMTP id a17-20020aa7d911000000b0045703d79004mr3168017edr.49.1664047180664; Sat, 24 Sep 2022 12:19:40 -0700 (PDT) MIME-Version: 1.0 References: <20220919194118.105820-1-marex@denx.de> <20220919194118.105820-4-marex@denx.de> In-Reply-To: From: Michael Nazzareno Trimarchi Date: Sat, 24 Sep 2022 21:19:28 +0200 Message-ID: Subject: Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support To: Adam Ford 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-Content-Filtered-By: Mailman/MimeDel 2.1.39 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 Hi Il sab 24 set 2022, 21:10 Adam Ford ha scritto: > 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. > I was thinking about an issue was solved by patching U-Boot on increase size of 3% in yocto toolchain. Michael > > 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 >