From: Nishanth Menon <nm@ti.com>
To: Apurva Nandan <a-nandan@ti.com>
Cc: Hari Nagalla <hnagalla@ti.com>, Lukasz Majewski <lukma@denx.de>,
Sean Anderson <seanga2@gmail.com>,
Jaehoon Chung <jh80.chung@samsung.com>,
Neha Malcom Francis <n-francis@ti.com>,
Simon Glass <sjg@chromium.org>, Andrew Davis <afd@ti.com>,
Kamlesh Gurudasani <kamlesh@ti.com>,
Dasnavis Sabiya <sabiya.d@ti.com>,
Manorit Chawdhry <m-chawdhry@ti.com>,
Aradhya Bhatia <a-bhatia1@ti.com>, Bryan Brattlof <bb@ti.com>,
Christian Gmeiner <christian.gmeiner@gmail.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Marcel Ziswiler <marcel.ziswiler@toradex.com>,
Roger Quadros <rogerq@kernel.org>,
Jayesh Choudhary <j-choudhary@ti.com>,
Ralph Siemsen <ralph.siemsen@linaro.org>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Rasmus Villemoes <rasmus.villemoes@prevas.dk>,
<u-boot@lists.denx.de>,
Sinthu Raja M <sinthu.raja@mistralsolutions.com>,
Udit Kumar <u-kumar1@ti.com>
Subject: Re: [PATCH v7 08/17] board: ti: j784s4: Add board support for J784S4 EVM
Date: Wed, 3 Jan 2024 11:28:42 -0600 [thread overview]
Message-ID: <20240103172842.qfbvrtpqvseify6r@battered> (raw)
In-Reply-To: <20231219191537.4039361-9-a-nandan@ti.com>
On 00:45-20231220, Apurva Nandan wrote:
> Add board files for J784S4 EVM.
>
> Signed-off-by: Hari Nagalla <hnagalla@ti.com>
> [ add env and board specific yaml files for binman ]
> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
> [ cleaned up the env files ]
> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
> Signed-off-by: Apurva Nandan <a-nandan@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
> ---
> arch/arm/mach-k3/Kconfig | 1 +
> arch/arm/mach-k3/j784s4/Kconfig | 34 +++++++++++++++++++++++++++++
> board/ti/j784s4/Kconfig | 37 ++++++++++++++++++++++++++++++++
> board/ti/j784s4/Makefile | 7 ++++++
> board/ti/j784s4/evm.c | 38 +++++++++++++++++++++++++++++++++
> include/configs/j784s4_evm.h | 15 +++++++++++++
> 6 files changed, 132 insertions(+)
> create mode 100644 arch/arm/mach-k3/j784s4/Kconfig
> create mode 100644 board/ti/j784s4/Kconfig
> create mode 100644 board/ti/j784s4/Makefile
> create mode 100644 board/ti/j784s4/evm.c
> create mode 100644 include/configs/j784s4_evm.h
>
> diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
> index 150d0bfa14..445b49e245 100644
> --- a/arch/arm/mach-k3/Kconfig
> +++ b/arch/arm/mach-k3/Kconfig
> @@ -157,5 +157,6 @@ source "arch/arm/mach-k3/am62x/Kconfig"
> source "arch/arm/mach-k3/am62ax/Kconfig"
> source "arch/arm/mach-k3/j721e/Kconfig"
> source "arch/arm/mach-k3/j721s2/Kconfig"
> +source "arch/arm/mach-k3/j784s4/Kconfig"
>
> endif
> diff --git a/arch/arm/mach-k3/j784s4/Kconfig b/arch/arm/mach-k3/j784s4/Kconfig
> new file mode 100644
> index 0000000000..64ec305756
> --- /dev/null
> +++ b/arch/arm/mach-k3/j784s4/Kconfig
> @@ -0,0 +1,34 @@
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +#
> +# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
> +# Hari Nagalla <hnagalla@ti.com>
> +
> +if SOC_K3_J784S4
> +
> +choice
> + prompt "K3 J784S4 board"
> + optional
> +
> +config TARGET_J784S4_A72_EVM
> + bool "TI K3 based J784S4 EVM running on A72"
> + select ARM64
> + select BOARD_LATE_INIT
> + select SYS_DISABLE_DCACHE_OPS
Why disable dcache ops? I assume we do that because we are a coherent
architecture at A72 level thanks to MSMC? might be good to mention in
commit message.
> + select BINMAN
> +
> +config TARGET_J784S4_R5_EVM
> + bool "TI K3 based J784S4 EVM running on R5"
> + select CPU_V7R
> + select SYS_THUMB_BUILD
> + select K3_LOAD_SYSFW
> + select RAM
> + select SPL_RAM
> + select K3_DDRSS
> + select BINMAN
> + imply SYS_K3_SPL_ATF
> +
> +endchoice
> +
> +source "board/ti/j784s4/Kconfig"
> +
> +endif
> diff --git a/board/ti/j784s4/Kconfig b/board/ti/j784s4/Kconfig
> new file mode 100644
> index 0000000000..33d4770b2d
> --- /dev/null
> +++ b/board/ti/j784s4/Kconfig
> @@ -0,0 +1,37 @@
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +#
> +# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
> +# Hari Nagalla <hnagalla@ti.com>
> +
> +if TARGET_J784S4_A72_EVM
> +
> +config SYS_BOARD
> + default "j784s4"
> +
> +config SYS_VENDOR
> + default "ti"
> +
> +config SYS_CONFIG_NAME
> + default "j784s4_evm"
> +
> +source "board/ti/common/Kconfig"
> +
> +endif
> +
> +if TARGET_J784S4_R5_EVM
> +
> +config SYS_BOARD
> + default "j784s4"
> +
> +config SYS_VENDOR
> + default "ti"
> +
> +config SYS_CONFIG_NAME
> + default "j784s4_evm"
> +
> +config SPL_LDSCRIPT
> + default "arch/arm/mach-omap2/u-boot-spl.lds"
> +
> +source "board/ti/common/Kconfig"
> +
> +endif
> diff --git a/board/ti/j784s4/Makefile b/board/ti/j784s4/Makefile
> new file mode 100644
> index 0000000000..3fc70eb8fb
> --- /dev/null
> +++ b/board/ti/j784s4/Makefile
> @@ -0,0 +1,7 @@
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +#
> +# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
> +# Hari Nagalla <hnagalla@ti.com>
> +#
> +
> +obj-y += evm.o
> diff --git a/board/ti/j784s4/evm.c b/board/ti/j784s4/evm.c
> new file mode 100644
> index 0000000000..4857c9d2f6
> --- /dev/null
> +++ b/board/ti/j784s4/evm.c
> @@ -0,0 +1,38 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +/*
> + * Board specific initialization for J784S4 EVM
> + *
> + * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
> + * Hari Nagalla <hnagalla@ti.com>
> + *
> + */
> +
> +#include <image.h>
> +#include <init.h>
> +#include <spl.h>
> +
> +DECLARE_GLOBAL_DATA_PTR;
> +
> +int board_init(void)
> +{
> + return 0;
> +}
> +
> +int dram_init(void)
> +{
> + return fdtdec_setup_mem_size_base();
> +}
> +
> +int dram_init_banksize(void)
> +{
> + return fdtdec_setup_memory_banksize();
> +}
> +
> +int board_late_init(void)
> +{
> + return 0;
> +}
> +
> +void spl_board_init(void)
> +{
env_set("fdtfile", fdtfile);
See board/xilinx/zynqmp/zynqmp.c With that fdtfile will be available by
default removing the need for findfdt and script mumbo jumbo.
> +}
> diff --git a/include/configs/j784s4_evm.h b/include/configs/j784s4_evm.h
> new file mode 100644
> index 0000000000..a4e0521198
> --- /dev/null
> +++ b/include/configs/j784s4_evm.h
> @@ -0,0 +1,15 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +/*
> + * Configuration header file for K3 J784S4 EVM
> + *
> + * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
btw, for next edition - 2023-2024 - here and elsewhere.
> + * Hari Nagalla <hnagalla@ti.com>
> + */
> +
> +#ifndef __CONFIG_J784S4_EVM_H
> +#define __CONFIG_J784S4_EVM_H
> +
> +/* Now for the remaining common defines */
> +#include <configs/ti_armv7_common.h>
> +
> +#endif /* __CONFIG_J784S4_EVM_H */
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
next prev parent reply other threads:[~2024-01-03 17:28 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-19 19:15 [PATCH v7 00/17] Introduce initial TI's J784S4 and AM69 support Apurva Nandan
2023-12-19 19:15 ` [PATCH v7 01/17] arm: dts: Introduce j784s4 dts from linux kernel Apurva Nandan
2024-01-03 15:57 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 02/17] arm: dts: Introduce am69-sk " Apurva Nandan
2024-01-03 15:58 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 03/17] arm: mach-k3: Add basic support for J784S4 SoC definition Apurva Nandan
2024-01-03 16:25 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 04/17] arm: mach-k3: Sort SoC JTAG_ID entries Apurva Nandan
2023-12-19 19:15 ` [PATCH v7 05/17] soc: ti: k3-socinfo: Add entry for J784S4 SoC Apurva Nandan
2024-01-03 17:07 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 06/17] arm: mach-k3: j784s4: Add clk and power support Apurva Nandan
2024-01-03 17:11 ` Nishanth Menon
2024-01-03 21:11 ` Bryan Brattlof
2023-12-19 19:15 ` [PATCH v7 07/17] drivers: dma: Add support for J784S4 SoC Apurva Nandan
2024-01-03 17:13 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 08/17] board: ti: j784s4: Add board support for J784S4 EVM Apurva Nandan
2024-01-03 17:28 ` Nishanth Menon [this message]
2023-12-19 19:15 ` [PATCH v7 09/17] board: ti: j748s4: Add board config yaml files Apurva Nandan
2024-01-03 17:36 ` Nishanth Menon
2024-01-04 3:46 ` Neha Malcom Francis
2023-12-19 19:15 ` [PATCH v7 10/17] board: ti: j784s4: Add boot environment variables Apurva Nandan
2024-01-03 17:39 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 11/17] arm: dts: Introduce j784s4 u-boot dts files Apurva Nandan
2024-01-03 17:47 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 12/17] arm: dts: Introduce am69-sk " Apurva Nandan
2024-01-03 17:50 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 13/17] arm: dts: Add bootph-all for memory node Apurva Nandan
2024-01-03 17:52 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 14/17] configs: j784s4_evm: Add defconfig for j784s4 evm board Apurva Nandan
2024-01-03 17:58 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 15/17] configs: Add am69_sk_* defconfig fragments Apurva Nandan
2024-01-03 17:59 ` Nishanth Menon
2024-01-11 9:36 ` Manorit Chawdhry
2024-01-11 12:20 ` Nishanth Menon
2024-01-11 12:25 ` Roger Quadros
2024-01-11 12:26 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 16/17] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation Apurva Nandan
2024-01-03 18:39 ` Nishanth Menon
2023-12-19 19:15 ` [PATCH v7 17/17] board: ti: j784s4: Add MAINTAINERS file Apurva Nandan
2024-01-03 18:41 ` Nishanth Menon
2024-01-03 15:37 ` [PATCH v7 00/17] Introduce initial TI's J784S4 and AM69 support Nishanth Menon
2024-01-03 15:53 ` Nishanth Menon
2024-01-18 7:35 ` Enric Balletbo i Serra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240103172842.qfbvrtpqvseify6r@battered \
--to=nm@ti.com \
--cc=a-bhatia1@ti.com \
--cc=a-nandan@ti.com \
--cc=afd@ti.com \
--cc=bb@ti.com \
--cc=christian.gmeiner@gmail.com \
--cc=hnagalla@ti.com \
--cc=j-choudhary@ti.com \
--cc=jh80.chung@samsung.com \
--cc=kamlesh@ti.com \
--cc=lukma@denx.de \
--cc=m-chawdhry@ti.com \
--cc=marcel.ziswiler@toradex.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=n-francis@ti.com \
--cc=ralph.siemsen@linaro.org \
--cc=rasmus.villemoes@prevas.dk \
--cc=rogerq@kernel.org \
--cc=sabiya.d@ti.com \
--cc=seanga2@gmail.com \
--cc=sinthu.raja@mistralsolutions.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=u-kumar1@ti.com \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox