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 D75A3C64EC4 for ; Mon, 6 Mar 2023 19:01:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6FDEB83A28; Mon, 6 Mar 2023 20:01:32 +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="CYElwH77"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CE61983A28; Mon, 6 Mar 2023 20:01:30 +0100 (CET) Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) (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 CBFC283A02 for ; Mon, 6 Mar 2023 20:01:27 +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-oa1-x2a.google.com with SMTP id 586e51a60fabf-176b48a9a05so5059523fac.0 for ; Mon, 06 Mar 2023 11:01:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1678129286; 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=pu6Cy7svWpQAbiIZBKPXjplInvMer3BsUqUJZpuuG1w=; b=CYElwH77PAQB8CKKyd68oAUu9zT/TAXo/EyprOUpnG/hfg7rSVT9KXQlQdX4fyUsNE oUmGmc3dPumwh6puShvHBhaEbGbk42Yda6V38oe/LW2zU13CSlDvpWkk+nah3p+JsDK8 te1wE1qN/c3Z/jg7k84Ou6qg5lxOQ2g6X/x7E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678129286; 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=pu6Cy7svWpQAbiIZBKPXjplInvMer3BsUqUJZpuuG1w=; b=CjzwAf7P7/sZzEJXCnxADcRUZu6Edinhd/YpMiMKjfIS5Gg6rCr6T6/ECa0KGCxLQs SSkoTYFQKGaLAIeLDnFLWqgVp5ThsRL5UITBT2W3EDV4HsV7WJ5HYX1GbqKnaYXW7YM0 aB9/kTG/Rsg+E0ddkalUI11mx4S9rLEVAOXOtngsQF99bDHwHkXyJwGjsRxu2OOncpkm ZamuzKMcFU5DYjuPSvQ7T8mkXC75PWDjihOefka2bN00WRg+LXnV9HaLBX6KJ57fl3A1 OYT6m6xi4O2iWk08klvs1zdTWcVGTwayoK5cupXRRoBqOLa04WyvCuZLL7yNChoNugHl LIig== X-Gm-Message-State: AO0yUKUjOQrSmlcRlsxJEghs7JCXqncWtb+1QeH001UgajxrCHb1LXLz F+I/awW+7Jap7Ax6kx7V135RUA== X-Google-Smtp-Source: AK7set+a1DTQNbbVKF2aUhgl4wxbYVfaoqUEIszjti56BSyO8y8XDw72yQvrAZJ8RiZB8l05IOiEhQ== X-Received: by 2002:a05:6870:b4aa:b0:172:2d0b:979f with SMTP id y42-20020a056870b4aa00b001722d0b979fmr7776309oap.10.1678129286307; Mon, 06 Mar 2023 11:01:26 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-0000-0000-0000-036b.res6.spectrum.com. [2603:6081:7b00:6400::36b]) by smtp.gmail.com with ESMTPSA id bn2-20020a05620a2ac200b0073bad2f9380sm8000506qkb.14.2023.03.06.11.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 11:01:25 -0800 (PST) Date: Mon, 6 Mar 2023 14:01:24 -0500 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: <20230306190124.GC968799@bill-the-cat> References: <20230306054254.28068-1-m-chawdhry@ti.com> <20230306054254.28068-4-m-chawdhry@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aq7PN3Z57GQ7oQDG" Content-Disposition: inline In-Reply-To: <20230306054254.28068-4-m-chawdhry@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.8 at phobos.denx.de X-Virus-Status: Clean --aq7PN3Z57GQ7oQDG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 default > until sysfw comes up. Rom configures some of the firewall for its usage > 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 happening > after adding multi dtb support that accesses the scratchpad for reading > 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 (approx) > =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_START= _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_BOOT_P= ARAM_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 (approx) > =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_START= _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_BOOT_P= ARAM_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 building= 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 +++++++++++++++++++++++++++ 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 Tom --aq7PN3Z57GQ7oQDG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQGOH0ACgkQFHw5/5Y0 tyyoewv/U1oZvKvdzHymY3fdJ3eaONmNDjhNpDljGpSTea9HHrh43PW3LBErgKLG M70waMb9ARtLGEoabPg7b5/uXuquhfRqzuIG+sJYK9xo7hxklUBI8LwYJJ/bGjOI OvHFnD6t3PH9zSSmmdvGYxa9W3pDqWsOttb0ojbBtKdrXDDwzaPOqaohT8N3Jp8j xHCEwmJxQprlvVvDI3BP52I5qKYe3xvfmF+8J9OTHcO9umzTsMUzLZkItriPYaNL PtTFh+mwopYKqGrBbjrwNwt0lIP4PerpylhNHKdSbcizwmUcm43LaWdYUYPG557C wTBS5A2+rikYAr1eK7e7pWulC/9fyIl3BR8xNYe/MOQlZMbX3yZgoCqt+m2DXdGh kGxPxSE4JwAUqZFQgLDmG5RYn29V8LlUJJxZF6CZz+4Xgyy2wIeeZg8AA3uwa7T5 5N/R1FZeBPsBAn+6PTYQkiNv3tsRDFZo63NdqewPm1MkVPP47dV0MqV2yOuqNtRJ qmLHr4Pg =aN7e -----END PGP SIGNATURE----- --aq7PN3Z57GQ7oQDG--