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 2323AC46467 for ; Mon, 16 Jan 2023 14:25:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9FB358535B; Mon, 16 Jan 2023 15:25:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Gbb/mITJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 651F78557C; Mon, 16 Jan 2023 15:25:15 +0100 (CET) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (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 602D1850A6 for ; Mon, 16 Jan 2023 15:25:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x829.google.com with SMTP id g9so10020831qtu.2 for ; Mon, 16 Jan 2023 06:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=uK/Rhqf01mXNEBA6XVH7i8j2QPGiln6dz/YTjqoDgj4=; b=Gbb/mITJBNOr4rVWQAZFFEx78K5XBmPFuJYkSmqFiSp9N1/BZVyfOT/MZ52WeN/MW4 3kODygrRxt5LaLAiNvzDOnpgq65FWGfFZH8+I/XD+JbBARfyrCYQ1ElTo6TPLMXWulEH ZIYWuwZ1qvBX98IL9O4zWuCzW4Cg5k2mkYlnk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uK/Rhqf01mXNEBA6XVH7i8j2QPGiln6dz/YTjqoDgj4=; b=uS45Z46ou49roIU14JyMhcHr5xkpHdOvVplYVf4SmxXJ8q1lC3s5dP0DOonKAXoO1z EL7KJfKz2wsq130aBIOGzbOXcfqBoEjXoqSDqG66/KEqMIUMpsnziMxTtcb29q6TJ7SZ QWQrYAz7mXiGaEgwOxMKfBrmg9Bz6simljGBlCTEkW6CVxUuH+5tu+jLgEeskBBKVL38 nKN4zXnrLUyIsIW76mQWhsueEdS9fQl6LHVESqRtUVweFyUsdof7jLDNqkPRSxoqOBsB A7Dv7KUTvdFc9cxuJcRxzszX/hzahAxbeUjDWf3m38jGH9YTL7lQdjT8AAfkxSlh9VED z9OQ== X-Gm-Message-State: AFqh2krSiSnqwYiSm3KlhuSq9bXliyNYqdXhGgzzLwKCyH6wOe691fyD p+WhmeBfs9IMfE0vvgvnQHHUoA== X-Google-Smtp-Source: AMrXdXsdcryYtU1Wf0XNdeB7580suhdEfluiue+vbDG11Nh798kxOPV2U3m8gDZ55mI7e8iZ1+KD9w== X-Received: by 2002:a05:622a:50a5:b0:3a7:e467:b39e with SMTP id fp37-20020a05622a50a500b003a7e467b39emr29648993qtb.65.1673879111181; Mon, 16 Jan 2023 06:25:11 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-a191-f559-ef7a-3190.res6.spectrum.com. [2603:6081:7b00:6400:a191:f559:ef7a:3190]) by smtp.gmail.com with ESMTPSA id j25-20020ac874d9000000b003b0b903720esm7772713qtr.13.2023.01.16.06.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 06:25:10 -0800 (PST) Date: Mon, 16 Jan 2023 09:25:08 -0500 From: Tom Rini To: Nikhl M Jain Cc: agust@denx.de, u-boot@lists.denx.de, vigneshr@ti.com, nm@ti.com, devarsht@ti.com, tomba@kernel.org Subject: Re: [PATCH 7/9] include: configs: am62x_evm: Add environment variables for splash screen Message-ID: <20230116142508.GQ3880571@bill-the-cat> References: <20230113082927.9524-1-n-jain1@ti.com> <20230113082927.9524-8-n-jain1@ti.com> <20230113144345.GM3787616@bill-the-cat> <1f73f664-a171-b1b1-f210-333d8e89b447@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tuFXEhzhBeitrIAu" Content-Disposition: inline In-Reply-To: <1f73f664-a171-b1b1-f210-333d8e89b447@ti.com> X-Clacks-Overhead: GNU Terry Pratchett 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 --tuFXEhzhBeitrIAu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 16, 2023 at 05:21:35PM +0530, Nikhl M Jain wrote: >=20 >=20 > On 13/01/23 20:13, Tom Rini wrote: > > On Fri, Jan 13, 2023 at 01:59:25PM +0530, Nikhil M Jain wrote: > >=20 > > > Set splash screen related env variables. Default > > > splash source is set to mmc where user is expected > > > to keep bmp in compressed format with name ti.gz > > > on first partition of mmc. > > >=20 > > > Splash file will be uncompressed to DDR at address > > > 0x82000000 and splash position is set to middle of > > > screen. > > >=20 > > > Signed-off-by: Nikhil M Jain > > > --- > > > include/configs/am62x_evm.h | 6 +++++- > > > 1 file changed, 5 insertions(+), 1 deletion(-) > > >=20 > > > diff --git a/include/configs/am62x_evm.h b/include/configs/am62x_evm.h > > > index 78201adc07..acbcfe0526 100644 > > > --- a/include/configs/am62x_evm.h > > > +++ b/include/configs/am62x_evm.h > > > @@ -29,7 +29,11 @@ > > > "console=3DttyS2,115200n8\0" \ > > > "args_all=3Dsetenv optargs ${optargs} earlycon=3Dns16550a,mmio32,0= x02800000 " \ > > > "${mtdparts}\0" \ > > > - "run_kern=3Dbooti ${loadaddr} ${rd_spec} ${fdtaddr}\0" > > > + "run_kern=3Dbooti ${loadaddr} ${rd_spec} ${fdtaddr}\0" \ > > > + "splashsource=3Dmmc\0" \ > > > + "splashfile=3Dti.gz\0" \ > > > + "splashimage=3D0x82000000\0" \ > > > + "splashpos=3Dm,m\0" \ > >=20 > > Can we please convert this board to plain text environment and then add > > more? > >=20 > Are you suggesting to move all the env settings done in this file into a > separate bootscript text file (as done in > board/boundary/nitrogen6x/6x_bootscript.txt ) which user needs to import > using env import commnand or have it as a bootscript? >=20 > My preference was to append new env settings to am62x_evm.h itself, to av= oid > extra step to import environment or run a boot script and have faster boo= t. No, I'm saying you should move this in to a plain text environment similar to board/qualcomm/dragonboard410c/dragonboard410c.env or for more complex examples, board/keymile/*/*.env. --=20 Tom --tuFXEhzhBeitrIAu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPFXkQACgkQFHw5/5Y0 tyxDjQv6AlWk/U6B2e22I1h+CudAqANNHPfzEM1ZS3hLvW4lhXdpEnHUaS7/t38I WDrbvSKB7TuAVlbhGeKjQyYL3LjPyo8083+amkDVP9eTtjccoOQKPuEBvR/Xtgh0 d9olvzzlrMaVHyRpQ71N3966YrURU2dWL2GYagbmbP73c6ZuQ/ZYUIzxZOZ/dTAa XzZK0GEjiALmUAcsCxAslPqVIb/xdu0MjMiyjFb9tOHlkfCJ9adLb3tOSlg8bUqX EsSHMcnTVUiWjTKbDqknaJQW/g6D60cjli1UjkJyjkl49Qx1U7Sbpg5V6f5gb/Jy ajYNDCo8H/8zYONzfksKXqMnqP9P5ldwAIeuxlJKNjMgovBxSzaxxGstHkw6KLH9 bqQ6qe4z3KtAeH41yUrX/Ma5F6OLIOybXCkEFTGrMHhpHBBJeDTNR+XTJHFDmhpJ lrZxsMFsYQ0buhR8ercnKIU1WEWZYuAeVptPyvYA5qHJ7oCvg4zNPK3hC8v/8LEH o65Uycaj =aTR/ -----END PGP SIGNATURE----- --tuFXEhzhBeitrIAu--