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 8E97CC07E9D for ; Mon, 26 Sep 2022 17:14:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 388D0845EF; Mon, 26 Sep 2022 19:14:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.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=gateworks-com.20210112.gappssmtp.com header.i=@gateworks-com.20210112.gappssmtp.com header.b="W0457Y0I"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E68998215D; Mon, 26 Sep 2022 19:14:33 +0200 (CEST) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (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 0ACB684DD4 for ; Mon, 26 Sep 2022 19:14:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tharvey@gateworks.com Received: by mail-ot1-x332.google.com with SMTP id w22-20020a056830061600b006546deda3f9so4876432oti.4 for ; Mon, 26 Sep 2022 10:14:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=N/KS887bVE/YC0yS56/i8Zgh1V5SDxwEFUpkSlqkR1E=; b=W0457Y0ImnF4aHSVHvNTUM9hmnaidIaEutQr6sgx4BILobBG3rI56aTRejSbt/u85Q HLTfFIW6Ief8b1gwJC37kla0mI6V/qhjqpT4SUxeQ167tDq4ZSstvW5GPTKtB8eiairR S5kC9wUP2NFwCR/wOpyowZ3XzSjh7782ZPablRzXcvqYGv62znEJOn7B/Av9tMY2xEOs DldRad8+rePAr+HeRm2GqDd0laVL8fD0eBpO/XNsIhx82MjO70FzGPjtMDz0ayryHqoU 2vjQR0RsrFu4V7X0JY+qoejcRGMfPqom5+uN9fS3EQXso/T57pRW+/VCcaLSJd270hVE tIIw== 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=N/KS887bVE/YC0yS56/i8Zgh1V5SDxwEFUpkSlqkR1E=; b=AcbvAoJOxpldOEAgIHoXDMsUWDErXJzonPFWyiHYpcNCcdUmddYS/8CO9tVxVYagT4 LBRelmH1VSkbfG9stHR7AioUOMIBri7ClkvGoqN8GKhzL9Oego0HZiWkgUPdl/f0qiAp f/S4hx6H7Sd6VbYQ2l5KbAn5Hcy217dCM9MDsv8TnLYrPC/Lv7WMSuuFlQvfrK2TRifu TFrMYDEDbcO9e5slSWXVxqOTZqbsjyc+EhMT4nxx2gkbwUywEFh3Vu9cYhJdxgUn7Iqw VhFG6/BRRXOd1LfHEKitdWOlTn4PrBxBqM41jusluUvU8jECxO6MOq+kAU04B27K5jmX AzwA== X-Gm-Message-State: ACrzQf3hp4lrdtkXUwsihNe8RpyTo30nV6T6Y4u044j5Y7S5xWnS3BSz R2nvTZHXp+BoYZ2qDX5zMqDahJ/wwdgttTL/CpbVbw== X-Google-Smtp-Source: AMsMyM6jJ5fMjSNtE5Ebmc8wT5TmAZMWEGSaugL9N9S6y4phg8YOcZaZIPAWGcVHJk7TmZUTGXIckOOBW6ioygV1fcs= X-Received: by 2002:a9d:12a1:0:b0:658:5c77:d547 with SMTP id g30-20020a9d12a1000000b006585c77d547mr10819447otg.48.1664212466570; Mon, 26 Sep 2022 10:14:26 -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: Tim Harvey Date: Mon, 26 Sep 2022 10:14:15 -0700 Message-ID: Subject: Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support To: Adam Ford 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 10:06 AM Adam Ford wrote: > > 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, Yes, I have already done those same things for imx8mm_venice but am still 3K over due to my 4x dram configs. Each dram config must be about 3K as I only have to remove one of them to successfully build. Thanks, Tim