From: Nishanth Menon <nm@ti.com>
To: Tom Rini <trini@konsulko.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>,
Sinthu Raja <sinthu.raja@ti.com>,
Manorit Chawdhry <m-chawdhry@ti.com>, Reid Tonking <reidt@ti.com>,
Neha Malcom Francis <n-francis@ti.com>, Andrew Davis <afd@ti.com>,
Simon Glass <sjg@chromium.org>,
Robert Nelson <robertcnelson@gmail.com>,
Jason Kridner <jkridner@beagleboard.org>,
Nishanth Menon <nm@ti.com>, <u-boot@lists.denx.de>
Subject: [PATCH 14/15] board: ti: Add j721e_beagleboneai64_* config fragments and env file
Date: Thu, 2 Nov 2023 19:38:04 -0500 [thread overview]
Message-ID: <20231103003805.2420005-15-nm@ti.com> (raw)
In-Reply-To: <20231103003805.2420005-1-nm@ti.com>
Add defconfig fragments for J721E based BeagleBone AI-64 and
corresponding customized environment.
Signed-off-by: Nishanth Menon <nm@ti.com>
---
board/ti/j721e/beagleboneai64.env | 19 ++++++++
board/ti/j721e/beagleboneai64_a72.config | 55 ++++++++++++++++++++++++
board/ti/j721e/beagleboneai64_r5.config | 19 ++++++++
3 files changed, 93 insertions(+)
create mode 100644 board/ti/j721e/beagleboneai64.env
create mode 100644 board/ti/j721e/beagleboneai64_a72.config
create mode 100644 board/ti/j721e/beagleboneai64_r5.config
diff --git a/board/ti/j721e/beagleboneai64.env b/board/ti/j721e/beagleboneai64.env
new file mode 100644
index 000000000000..4f0a94a8113e
--- /dev/null
+++ b/board/ti/j721e/beagleboneai64.env
@@ -0,0 +1,19 @@
+#include <env/ti/ti_common.env>
+#include <env/ti/default_findfdt.env>
+#include <env/ti/mmc.env>
+
+name_kern=Image
+console=ttyS2,115200n8
+args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
+run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
+set_led_state_fail_load= led led-0 off; led led-1 on;
+ led led-2 off; led led-3 on; led led-4 off
+set_led_state_start_load=led led-0 on; led led-1 off;
+ led led-2 on; led led-3 off; led led-4 on
+boot=mmc
+mmcdev=1
+bootpart=1:1
+bootdir=/boot
+boot_targets=mmc1 mmc0 usb pxe
+bootmeths=script extlinux efi pxe
+rd_spec=-
diff --git a/board/ti/j721e/beagleboneai64_a72.config b/board/ti/j721e/beagleboneai64_a72.config
new file mode 100644
index 000000000000..926f725508e5
--- /dev/null
+++ b/board/ti/j721e/beagleboneai64_a72.config
@@ -0,0 +1,55 @@
+# Defconfig fragment to apply on top of j721e_evm_a72_defconfig
+
+CONFIG_DEFAULT_DEVICE_TREE="k3-j721e-beagleboneai64"
+CONFIG_SPL_OF_LIST="k3-j721e-beagleboneai64"
+CONFIG_OF_LIST="k3-j721e-beagleboneai64"
+CONFIG_BOOTCOMMAND="run set_led_state_start_load;run findfdt; run envboot; bootflow scan -lb;run set_led_state_fail_load"
+CONFIG_EXT4_WRITE=y
+CONFIG_LZO=y
+CONFIG_AUTOBOOT_KEYED=y
+CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
+CONFIG_AUTOBOOT_DELAY_STR="d"
+CONFIG_AUTOBOOT_STOP_STR=" "
+
+# No Flash
+CONFIG_HBMC_AM654=n
+CONFIG_UFS=n
+
+# Sierra disabled for now till stability
+CONFIG_PHY_CADENCE_SIERRA=n
+CONFIG_PHY_J721E_WIZ=n
+# Torrent only for DP. no DP splash screen
+CONFIG_PHY_CADENCE_TORRENT=n
+
+# Use the Beaglebone-AI64 env file
+CONFIG_ENV_SOURCE_FILE="beagleboneai64"
+# No dependency on EEPROM detection
+CONFIG_TI_I2C_BOARD_DETECT=n
+# No board fixup to do
+CONFIG_OF_BOARD_SETUP=n
+
+# Do not use emmc boot - use FS only
+CONFIG_SUPPORT_EMMC_BOOT=n
+CONFIG_MMC_IO_VOLTAGE=y
+# CONFIG_SPL_MMC_IO_VOLTAGE is not set
+CONFIG_MMC_UHS_SUPPORT=y
+# CONFIG_SPL_MMC_UHS_SUPPORT is not set
+CONFIG_MMC_HS200_SUPPORT=y
+# CONFIG_SPL_MMC_HS200_SUPPORT is not set
+
+# Enable GPIO control
+CONFIG_DM_GPIO=y
+CONFIG_SPL_GPIO=y
+CONFIG_DA8XX_GPIO=y
+CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPIO_READ=y
+# Enable LEDs
+CONFIG_LED=y
+CONFIG_LED_GPIO=y
+CONFIG_SPL_LED=y
+CONFIG_SPL_LED_GPIO=y
+# Enable I2C bus
+CONFIG_SPL_I2C=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_OMAP24XX=y
+CONFIG_CMD_I2C=y
diff --git a/board/ti/j721e/beagleboneai64_r5.config b/board/ti/j721e/beagleboneai64_r5.config
new file mode 100644
index 000000000000..cf124fb70cf1
--- /dev/null
+++ b/board/ti/j721e/beagleboneai64_r5.config
@@ -0,0 +1,19 @@
+# Defconfig fragment to apply on top of:
+# j721e_evm_r5_defconfig
+
+CONFIG_DEFAULT_DEVICE_TREE="k3-j721e-r5-beagleboneai64"
+CONFIG_SPL_OF_LIST="k3-j721e-r5-beagleboneai64"
+
+# No ESM, PMIC or AVS adjustment till PMIC is enabled
+CONFIG_ESM_K3=n
+CONFIG_K3_AVS0=n
+CONFIG_ESM_PMIC=n
+
+# Do not use emmc boot - we will use FS only
+CONFIG_SUPPORT_EMMC_BOOT=n
+
+CONFIG_HBMC_AM654=n
+# No dependency on EEPROM detection
+CONFIG_TI_I2C_BOARD_DETECT=n
+# No board fixup to do
+CONFIG_OF_BOARD_SETUP=n
--
2.40.0
next prev parent reply other threads:[~2023-11-03 0:41 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-03 0:37 [PATCH 00/15] board: ti: Add support for BeagleBone AI-64 Nishanth Menon
2023-11-03 0:37 ` [PATCH 01/15] arm: mach-k3: j721e: Improve support for UDA FS Nishanth Menon
2023-11-04 10:24 ` Kumar, Udit
2023-11-06 12:18 ` Nishanth Menon
2023-11-06 14:21 ` Kumar, Udit
2023-11-03 0:37 ` [PATCH 02/15] configs: j7200: Remove HBMC_AM654 config Nishanth Menon
2023-11-03 0:37 ` [PATCH 03/15] board: ti: j721e: evm: Drop board check for ESM Nishanth Menon
2023-11-04 10:33 ` Kumar, Udit
2023-11-06 12:19 ` Nishanth Menon
2023-11-06 14:18 ` Kumar, Udit
2023-11-03 0:37 ` [PATCH 04/15] board: ti: j721e: evm: Drop unused headers Nishanth Menon
2023-11-03 0:37 ` [PATCH 05/15] board: ti: j721e: evm: Switch to using IS_ENABLED Nishanth Menon
2023-11-03 0:37 ` [PATCH 06/15] board: ti: j721e: evm: Drop board based serdes initialization Nishanth Menon
2023-11-04 10:35 ` Kumar, Udit
2023-11-04 14:13 ` Kumar, Udit
2023-11-03 0:37 ` [PATCH 07/15] board: ti: j721e: evm: Use IS_ENABLED with CONFIG_PHYS_64BIT Nishanth Menon
2023-11-03 0:37 ` [PATCH 08/15] board: ti: j721e: evm: Split code to isolate eeprom detected logic Nishanth Menon
2023-11-03 0:37 ` [PATCH 09/15] board: ti: j721e: j721e.env: Add explicit boot_targets Nishanth Menon
2023-11-03 0:38 ` [PATCH 10/15] configs: j721e_evm_a72_defconfig: Switch to bootstd Nishanth Menon
2023-11-06 5:28 ` Manorit Chawdhry
2023-11-06 12:21 ` Nishanth Menon
2023-11-06 15:22 ` Tom Rini
2023-11-03 0:38 ` [PATCH 11/15] arm: dts: k3-j721e-binman: Allow a single board configuration Nishanth Menon
2023-11-03 0:38 ` [PATCH 12/15] arm: dts: k3-j721e-binman: Use macros that can be overridden for dtbs Nishanth Menon
2023-11-03 0:38 ` [PATCH 13/15] arm: dts: Add k3-j721e-beagleboneai64 Nishanth Menon
2023-11-03 0:38 ` Nishanth Menon [this message]
2023-11-03 18:51 ` [PATCH 14/15] board: ti: Add j721e_beagleboneai64_* config fragments and env file Andrew Davis
2023-11-03 19:06 ` Nishanth Menon
2023-11-03 19:20 ` Andrew Davis
2023-11-17 14:27 ` Romain Naour
2023-11-17 18:43 ` Andrew Davis
2023-11-20 13:16 ` Romain Naour
2023-11-03 20:20 ` Tom Rini
2023-11-03 21:34 ` Nishanth Menon
2023-11-03 0:38 ` [PATCH 15/15] doc: board: ti: Add BeagleBone AI-64 documentation Nishanth Menon
2023-11-03 14:39 ` [PATCH 00/15] board: ti: Add support for BeagleBone AI-64 Tom Rini
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=20231103003805.2420005-15-nm@ti.com \
--to=nm@ti.com \
--cc=afd@ti.com \
--cc=jkridner@beagleboard.org \
--cc=m-chawdhry@ti.com \
--cc=n-francis@ti.com \
--cc=reidt@ti.com \
--cc=robertcnelson@gmail.com \
--cc=sinthu.raja@ti.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--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