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 B43A4C6FD19 for ; Thu, 16 Mar 2023 18:16:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9060585E43; Thu, 16 Mar 2023 19:16:30 +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="mG0Dg1ps"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 99E5685DFC; Thu, 16 Mar 2023 19:16:17 +0100 (CET) Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) (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 EBAEB85D91 for ; Thu, 16 Mar 2023 19:16:13 +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-vs1-xe2e.google.com with SMTP id f13so2315590vsg.6 for ; Thu, 16 Mar 2023 11:16:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1678990572; 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=HeDP6vzwYqgN9iUOhntlo9cE4On05yYyLobiFqk/YcQ=; b=mG0Dg1psu3LJ4a+76/tGcely7vrJ97QUTnPkNWNluoULws2Jy4ROUWSCsXC7vwcTGX ouWGjYkF28dtpkM1vcIVCOX8lTP1pZCxbEybC/JuKKJnOxrhZMcETQ+FIOTiGk4dLeoq RB2YU4DJg25iNQEcKZl3qLsJLEEb8JhumXPno= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678990572; 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=HeDP6vzwYqgN9iUOhntlo9cE4On05yYyLobiFqk/YcQ=; b=VItyjEaeHfp4r3mhSGfdb6vQhYvhG3CoOzikeVMlm2hA3PzlbKQ17B1diMDm+BZ5cA YA2hZ/Yz+k0fuq2uU1bGAhqFrlSAZQEgE8Thtev/aP3SD/300ONpejybcPw8LamFS5tZ 7K0zhdrvrOfxLNBRPlVPBa5Te9f+0OrDIhGr87BXYvdwJfJU7CoQGRt1qvDgA/ESrfbv n5ESHfh1LRQts15HuRZLFbk3mV5MVbaLc5+yIXBxnqvrC/HJYh1NupWmBfob3DByZ7m8 iLbiOFNPKUJvaSORxfTGxru/njHKJdMRcc9vMUCcv+3CJnUDfnlUz9kuxEMRtwMDega1 B0pQ== X-Gm-Message-State: AO0yUKWFgjIs3v0cauZdd21S+gV/ID+oTMgAdzv++w6Q0rqnIUG16m0q VZ9k8F0NbmRiIBO6bJiDVaBQYA== X-Google-Smtp-Source: AK7set8ChCsyxNI8gLcOA6nCyAexeKenGYKCxDHG2haDZ28HfNXjCkHSQkMM/jTLstlEHGR0lJ/1dw== X-Received: by 2002:a05:6102:36d6:b0:423:e090:a493 with SMTP id z22-20020a05610236d600b00423e090a493mr10544053vss.10.1678990572439; Thu, 16 Mar 2023 11:16:12 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-1b74-53e3-8162-4fca.res6.spectrum.com. [2603:6081:7b00:6400:1b74:53e3:8162:4fca]) by smtp.gmail.com with ESMTPSA id ay16-20020a05620a179000b007461e8efacbsm28967qkb.69.2023.03.16.11.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 11:16:11 -0700 (PDT) Date: Thu, 16 Mar 2023 14:16:09 -0400 From: Tom Rini To: Manorit Chawdhry Cc: u-boot@lists.denx.de, Andrew Davis , Vignesh Raghavendra , Neha Francis , Jayesh Choudhary , Judith Mendez , Kamlesh Gurudasani Subject: Re: [PATCH v4 3/4] Kconfig: j721e: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region Message-ID: <20230316181609.GO54321@bill-the-cat> References: <20230306054254.28068-1-m-chawdhry@ti.com> <20230306054254.28068-4-m-chawdhry@ti.com> <20230306190124.GC968799@bill-the-cat> <20230315064854.oymghschql7xshuq@ula0497581> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+TpuxcGWWHLhOGKD" Content-Disposition: inline In-Reply-To: <20230315064854.oymghschql7xshuq@ula0497581> 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.8 at phobos.denx.de X-Virus-Status: Clean --+TpuxcGWWHLhOGKD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 15, 2023 at 12:18:54PM +0530, Manorit Chawdhry wrote: > On 14:01-20230306, Tom Rini wrote: > > On Mon, Mar 06, 2023 at 11:12:53AM +0530, Manorit Chawdhry wrote: > > > In non-combined boot flow for K3, all the firewalls are locked by def= ault > > > until sysfw comes up. Rom configures some of the firewall for its usa= ge > > > along with the SRAM for R5 but the PSRAM region is still locked. > > >=20 > > > The K3 MCU Scratchpad for j721e was set to a PSRAM region triggering = the > > > firewall exception before sysfw came up. The exception started happen= ing > > > after adding multi dtb support that accesses the scratchpad for readi= ng > > > EEPROM contents. > > >=20 > > > The commit changes R5 MCU scratchpad for j721e to an SRAM region. > > >=20 > > > Old Map: > > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90 0x41c00000 > > > =E2=94=82 SPL =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 0x41c40000 (appro= x) > > > =E2=94=82 STACK =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 0x41c85b20 > > > =E2=94=82 Global data =E2=94=82 > > > =E2=94=82 sizeof(struct global_data) =3D 0xd8 =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 gd->malloc_base = =3D 0x41c85bfc > > > =E2=94=82 HEAP =E2=94=82 > > > =E2=94=82 CONFIG_SYS_MALLOC_F_LEN =3D 0x70000 =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 CONFIG_SPL_BSS_ST= ART_ADDR > > > =E2=94=82 SPL BSS =E2=94=82 (0x41cf5bfc) > > > =E2=94=82 CONFIG_SPL_BSS_MAX_SIZE =3D 0xA000 =E2=94=82 > > > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 CONFIG_SYS_K3_BOO= T_PARAM_TABLE_INDEX > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(0x41cffbfc) > > >=20 > > > New Map: > > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90 0x41c00000 > > > =E2=94=82 SPL =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 0x41c40000 (appro= x) > > > =E2=94=82 EMPTY =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 0x41c81920 > > > =E2=94=82 STACK =E2=94=82 > > > =E2=94=82 SPL_SIZE_LIMIT_PROVIDE_STACK=3D0x4000 =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 0x41c85920 > > > =E2=94=82 Global data =E2=94=82 > > > =E2=94=82 sizeof(struct global_data) =3D 0xd8 =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 gd->malloc_base = =3D 0x41c859f0 > > > =E2=94=82 HEAP =E2=94=82 > > > =E2=94=82 CONFIG_SYS_MALLOC_F_LEN =3D 0x70000 =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 CONFIG_SPL_BSS_ST= ART_ADDR > > > =E2=94=82 SPL BSS =E2=94=82 (0x41cf59f0) > > > =E2=94=82 CONFIG_SPL_BSS_MAX_SIZE =3D 0xA000 =E2=94=82 > > > =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 0x41cff9fc > > > =E2=94=82 NEW MCU SCRATCHPAD =E2=94=82 > > > =E2=94=82 SYS_K3_MCU_SCRATCHPAD_SIZE =3D 0x200 =E2=94=82 > > > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 CONFIG_SYS_K3_BOO= T_PARAM_TABLE_INDEX > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(0x41cffbfc) > > >=20 > > > Fixes: ab977c8b91b4 ("configs: j721s2_evm_r5: Enable support for buil= ding multiple dtbs into FIT") > > >=20 > > > Signed-off-by: Manorit Chawdhry > > > [n-francis@ti.com: SRAM allocation addressing diagram] > > > Signed-off-by: Neha Francis > > > Reviewed-by: Tom Rini > > > Reviewed-by: Kamlesh Gurudasani > > > --- > > > arch/arm/mach-k3/Kconfig | 3 ++- > > > configs/j721e_evm_r5_defconfig | 10 ++++++++-- > > > doc/board/ti/j721e_evm.rst | 27 +++++++++++++++++++++++++++ > >=20 > > OK, but now this just renders differently poorly. Please see the > > list-table directive as used for example in doc/board/apple/m1.rst and > > it would be good to get other ascii tables updated to produce nice > > output as well. > >=20 >=20 > Hi Tom, >=20 > I've updated this table in v5, we can look at updating other tables > later. Sounds good, thanks. --=20 Tom --+TpuxcGWWHLhOGKD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQTXOkACgkQFHw5/5Y0 tyz5qAv+KL8eAf31VxnNHhnCLUHMosiCV/b9y4W/Ij5MoDCXy47o+0smGlnZE44N 4U6F+oTPlBTzUAtEuJYF4yVb7+WJjoMPNJmj1J960N++avNhC2i0sbLJeCpFR4l8 HBj9O5Sf/+Yrf8M4Rscq+uNdbMxzxVqgT+HJYjic+VkE2wnAWMcgHXoQ5a7uAYnF noPqP6hweUAQnjZ6vUm0ETOPEZVCucv7qxYagcb5Sv1Qmb0AUbZk1QKpZFPAkZqD tcg5JtGjsjQrl/DHlUMPYTshCvyTRs8I0fgV3auTLA+UQA8+NHZh0ZwGtoBiXp1L jCC4n2vv8XPmh1S/nts80T0y/d6kbol9IAQl6zzhetKcdvQXo9bYB82B/wpx/+gu pIgFaDgMPBUJ+bjU04U7uTVLm0iWYyBKc2xNu2zHByHShiO9TLYptVv2DH6aayye +h2btmOMBlU3CB02we8sK1iefQVjxgxDNZsXewG7OptUmr4ZKOVaZuOauAtvW8Xv dZtLLQSU =8pWx -----END PGP SIGNATURE----- --+TpuxcGWWHLhOGKD--