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 CA963C64ED6 for ; Wed, 1 Mar 2023 15:47:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8215785AFF; Wed, 1 Mar 2023 16:47:45 +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="kSuGS+5r"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B014B85B1E; Wed, 1 Mar 2023 16:47:43 +0100 (CET) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 911C785AE2 for ; Wed, 1 Mar 2023 16:47:40 +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-x832.google.com with SMTP id w23so14698381qtn.6 for ; Wed, 01 Mar 2023 07:47:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1677685659; 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=w7SHZhmzd7VK1gX/5DtAQTEja7OCnoEObkFJ2qvlc44=; b=kSuGS+5rLjkXg6afsPpuo1Bgxd2zkSx7psODSwLzxmpB8Cu9IXjqMtQ1Xlqs2VIdBN rPmDIjn6w0jXmdAioU1RnhBvN9G0KWfDhl7SEwSys8LX8ncIv9+Tv2Zwq/ZAe35LV76h mXJsUH5toMF5bd5B3WRXLjye4CwyaPJyzKSFs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677685659; 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=w7SHZhmzd7VK1gX/5DtAQTEja7OCnoEObkFJ2qvlc44=; b=qlRF74F2F7s8o2lox4QRJOh6GavHFJauB57GWber3+cunR6TXqvA5l/3uBrNlN7wzJ gEYcjQivbVARfVAhLbzw5zafQm7tmyxksVrbFqsqgwQScj7f08hwq4mEtOxXm6/k2qcr vKRiC+6GGcxvqt/9NAkpQh8Vm41P/0htOM2FPF+beAmFgesmrZ4NmJoejgiYgMVvu0cN Tp8gnV68W1qg0rreX+M942H2n8QQkwSOm2ih0hPJaZ+RCdVIaeCzqsfaVd6itRppvyh2 WG7PfqOy/X059kBkbwf7U5cx3Ovbq3dGOPwvrqLxvLfqDDe1PND+Y62wdIH9Kba1eAjg 1soQ== X-Gm-Message-State: AO0yUKWTGa8+hURlghRp3K0WZkm/IjXM4ZSvgd70a8pbuljEmv6KQYv5 NLbHxNiDDyKwbR/c3iqDpTRS7A== X-Google-Smtp-Source: AK7set80qBbrXmrVt5XZyG+/YRcYreADUnXbaTbGJbNSzqIBK9cyZnV8nI6CTPC6mCIQfsAXNP9R6A== X-Received: by 2002:ac8:5f4e:0:b0:3bf:e408:6c91 with SMTP id y14-20020ac85f4e000000b003bfe4086c91mr9147050qta.51.1677685659358; Wed, 01 Mar 2023 07:47:39 -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 o12-20020ac8698c000000b003ba19e53e43sm8492126qtq.25.2023.03.01.07.47.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 07:47:38 -0800 (PST) Date: Wed, 1 Mar 2023 10:47:36 -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 v2 5/6] Kconfig: j721e: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region Message-ID: References: <20230301093131.182784-1-m-chawdhry@ti.com> <20230301093131.182784-6-m-chawdhry@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tks/jKj2tnu8kW4n" Content-Disposition: inline In-Reply-To: <20230301093131.182784-6-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.6 at phobos.denx.de X-Virus-Status: Clean --tks/jKj2tnu8kW4n Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 01, 2023 at 03:01:30PM +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 But can we please get that map information in something under doc/board/ti/ as a follow-up? --=20 Tom --tks/jKj2tnu8kW4n Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmP/c44ACgkQFHw5/5Y0 tyyfUgwArHqbXIZuXghUXzFge+Ozr5uwfGS7DRiuMNSVG0U9oYsWKAQWA5TKtV2G sUfGJlK7wdrDqxfk6at5wFzDkWeUNWbLl2rUGj562sUfhl4lmH7qotWEjUFO2+ir PJqZavj3Fr0q/PZtglacHs8C4XWL8qmVpM3eatgX7gZg068Pz4KqDekhZPLb1sxb yG0gNJ0PFwj1dxfpHB0MRW/n0xTvnADqRRl/wjjDVfioAyDHa+0wCDBfPB+M2fQl GV5K45/Uc+uaayv9ExOSAQd7QBYM//iAYwFbicev2z9QjTxNz0wiCcRZhcMxPR3B gyjDeLas7g+vOVDuZdwT1EsX764NtB1OXO8wH4cfksfNkGYpuDfQCDl0pmwViT9R pqpIrnxFhH6V17y+8bEhbqzO6ohsgzOFEnGKcwiTYgXXsd47z64w5Jhk6P6AI/su OtF4P2mjZqB4nVPP7+UjZJpOromb/qWxnpvivqd94LuDMob9mg0AL25L/sUMey6X eTc3HEy7 =x2Zx -----END PGP SIGNATURE----- --tks/jKj2tnu8kW4n--