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 40DCBC07E9D for ; Mon, 26 Sep 2022 17:06:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CFE8984DEF; Mon, 26 Sep 2022 19:06:50 +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="l+BaAgKh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 95AB884E0B; Mon, 26 Sep 2022 19:06:49 +0200 (CEST) Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (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 BA61284DEF for ; Mon, 26 Sep 2022 19:06:46 +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-oi1-x22f.google.com with SMTP id d64so9005764oia.9 for ; Mon, 26 Sep 2022 10:06:46 -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=4vev9wKfyx4NvKRoKi3M/TMBGbapqmv2bngAdsrQW6Q=; b=l+BaAgKhK1B/vWmaYmcs+LGqIKYdSnZPuTzD5tEMAkBITxNyamWzZ5bLhFLn0uKOll 9BF/+56svKoHOhbrOEg+CrDvgqH2xN1fET1WvVA+DoVwDp4h+O810UVywf9AIbaDSR/f +jYbjevfrkZLZbvnUVktpZVbMQ5GGJbfuPjeiDVOWkfu7uczOd/qpBB213xgXfSKNG2I nTVR6vos5eJK30+0i6m80ZCNg1ooA2R1XSHs0cEZcE/xPoN/N3NCQlkF2KBDxVirDOnr FwYUJcIhti7kd+mfFklyy0A/OKaPUlGGEWH3UmfajyQKJl/ITo8r8XMIpSnxHKHKlnF3 7o1w== 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=4vev9wKfyx4NvKRoKi3M/TMBGbapqmv2bngAdsrQW6Q=; b=RXVGU/Kz/4NMpt8pWLGW1F8G7tXhy75srjp0j9DqVdcnhjfgWBd0hgnE3fwJni1x4b IOar9EKyA3wrYdxgJlWp2117qJOMxIEsj9+sJ5WqhTu2/MuBmTflPuQQ9hpV/aZeoHe2 LOGUKY89BFEJjsrtYEKONbhvWwVxS1Ozan03k5G0zaqt7t01LXMbszyuOTu6idNK9HyL 9a/NKfQjpkKs9t/HBBsfUiF955p8uWGAy3xBQghRddRBZ1M1BLntv9HmMOzeV/WIrDdK wgaUA35PaekJrtGFkKdnqOmhsXpq7v5APdSiBiUJiDwtyDtmiWr13IIOQe6iR2rKj8nI QcLg== X-Gm-Message-State: ACrzQf2FgmXrL9VlmGfwBmhoPvcriZ6OBDAKNGmq5FVmyOmHBfFZ3a+t zr3d1l1JplnJqmDFDgyAGY1Tv33vh4cEqHJeNTA= X-Google-Smtp-Source: AMsMyM7kRHgAngdrZKnFbp7CVqKc5Ow9RkW1qeKF1Zp9pUsLraL77+JcqMbzl2cdG937nXJnINzlsF9MkdOpWxsodd4= X-Received: by 2002:a05:6808:1245:b0:350:c462:1528 with SMTP id o5-20020a056808124500b00350c4621528mr10527636oiv.112.1664212005150; Mon, 26 Sep 2022 10:06:45 -0700 (PDT) MIME-Version: 1.0 References: <20220919194118.105820-1-marex@denx.de> <20220919194118.105820-4-marex@denx.de> <4d5df9d1-a1eb-58f2-76a3-0102954b0f5a@denx.de> In-Reply-To: From: Adam Ford Date: Mon, 26 Sep 2022 12:06:34 -0500 Message-ID: Subject: Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support To: Tim Harvey Cc: Marek Vasut , Michael Nazzareno Trimarchi , Fabio Estevam , 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 Mon, Sep 26, 2022 at 11:59 AM Tim Harvey wrote: > > On Sat, Sep 24, 2022, 2:54 PM Adam Ford wrote: > > > > On Sat, Sep 24, 2022 at 4:47 PM Marek Vasut wrote: > > > > > > On 9/24/22 21:10, Adam Ford wrote: > > > > > > Hi, > > > > > > [...] > > > > > > > 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. > > > > > > Try > > > > > > $ aarch64...readelf -s spl/u-boot-spl | sort -nk 3 > > > > > > That should give you a list of large symbols you might want to inspect. > > > > Thank you! > > > > Adam, > > I'm curious what you find as my SPL for imx8mm_venice_defconfig also > overflows by about 3K when enabling what's needed here for SDP as > well. I have 4 different dram configs which are chewing up about 1K > each. Tim, I have it building successfully now, and it loads over USB. I had to disable BD718x7 PMIC children binding which required a small change to the PMIC driver [1]. I then removed HS400, HS200 and UHS support in SPL. Once I did all that, the code size fit into SPL space. [1] - https://patchwork.ozlabs.org/project/uboot/patch/20220817112403.68144-2-aford173@gmail.com/ I'll try to push my patch today or tomorrow. I was doing some other clean-up, but I might just push that as a small series in itself. adam > > Best Regards, > > Tim