From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Nishanth Menon <nm@ti.com>, Neha Francis <n-francis@ti.com>,
Tom Rini <trini@konsulko.com>
Cc: Bryan <bb@ti.com>, Praneeth <praneeth@ti.com>,
Andrew <afd@ti.com>, Robert Nelson <robertcnelson@gmail.com>,
Vignesh <vigneshr@ti.com>,
u-boot@lists.denx.de, Jan Kiszka <jan.kiszka@siemens.com>,
Nishanth Menon <nm@ti.com>
Subject: Re: [PATCH V4 7/8] board: ti: am62x: Add am62x_beagleplay_* defconfigs and env file
Date: Wed, 23 Aug 2023 10:29:25 +0200 [thread overview]
Message-ID: <87il96f9ga.fsf@baylibre.com> (raw)
In-Reply-To: <20230822184135.2328409-8-nm@ti.com>
On mar., août 22, 2023 at 13:41, Nishanth Menon <nm@ti.com> wrote:
> Add defconfig fragments for am625 based beagleplay and corresponding
> customized environment file for beagleplay.
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
> ---
> Changes:
> * new env file to override boot targets, led sequence etc.
> * config files updates for GPIO, I2C etc for A53.
> * Speed up of A53 mmc support.
>
> V3: https://lore.kernel.org/all/20230815164440.2713726-4-nm@ti.com/
> V2: https://lore.kernel.org/u-boot/20230727234446.3651836-4-nm@ti.com/
> V1: https://lore.kernel.org/all/20230725185253.2123433-6-nm@ti.com/
> board/ti/am62x/beagleplay.env | 23 ++++++++++++
> board/ti/am62x/beagleplay_a53.config | 55 ++++++++++++++++++++++++++++
> board/ti/am62x/beagleplay_r5.config | 15 ++++++++
> 3 files changed, 93 insertions(+)
> create mode 100644 board/ti/am62x/beagleplay.env
> create mode 100644 board/ti/am62x/beagleplay_a53.config
> create mode 100644 board/ti/am62x/beagleplay_r5.config
>
> diff --git a/board/ti/am62x/beagleplay.env b/board/ti/am62x/beagleplay.env
> new file mode 100644
> index 000000000000..8f39fb214333
> --- /dev/null
> +++ b/board/ti/am62x/beagleplay.env
> @@ -0,0 +1,23 @@
> +#include <env/ti/ti_armv7_common.env>
> +#include <env/ti/mmc.env>
> +
> +default_device_tree=ti/k3-am625-beagleplay.dtb
> +findfdt=
> + setenv name_fdt ${default_device_tree};
> + setenv fdtfile ${name_fdt}
> +name_kern=Image
> +console=ttyS2,115200n8
> +args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
> + ${mtdparts}
> +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=extlinux efi
> +rd_spec=-
> diff --git a/board/ti/am62x/beagleplay_a53.config b/board/ti/am62x/beagleplay_a53.config
> new file mode 100644
> index 000000000000..967f794446dd
> --- /dev/null
> +++ b/board/ti/am62x/beagleplay_a53.config
> @@ -0,0 +1,55 @@
> +# Defconfig fragment to apply on top of am62x_evm_a53_defconfig
> +
> +CONFIG_DEFAULT_DEVICE_TREE="k3-am625-beagleplay"
> +CONFIG_OF_LIST="k3-am625-beagleplay"
> +CONFIG_SPL_OF_LIST="k3-am625-beagleplay"
> +CONFIG_BOOTCOMMAND="run set_led_state_start_load;run findfdt; run envboot; run distro_bootcmd;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=" "
> +# Use the Beagleplay env file
> +CONFIG_ENV_SOURCE_FILE="beagleplay"
> +# Do not use emmc boot - we will 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
> +# Regulator
> +CONFIG_DM_REGULATOR=y
> +CONFIG_DM_REGULATOR_FIXED=y
> +CONFIG_DM_REGULATOR_GPIO=y
> +CONFIG_CMD_REGULATOR=y
> +CONFIG_DM_REGULATOR_TPS65219=y
> +CONFIG_DM_PMIC=y
> +CONFIG_PMIC_TPS65219=y
> +CONFIG_CMD_PMIC=y
> +# Uses Realtek phy rather than TI phy
> +CONFIG_PHY_TI_DP83867=n
> +CONFIG_PHY_REALTEK=y
> +# No SPI flash on Beagleplay
> +CONFIG_SPI=n
> +CONFIG_SPI_FLASH=n
> +CONFIG_SPL_DM_SPI_FLASH=n
> +CONFIG_SPL_SPI_FLASH_SUPPORT=n
> diff --git a/board/ti/am62x/beagleplay_r5.config b/board/ti/am62x/beagleplay_r5.config
> new file mode 100644
> index 000000000000..4ee0375a2a1d
> --- /dev/null
> +++ b/board/ti/am62x/beagleplay_r5.config
> @@ -0,0 +1,15 @@
> +# Defconfig fragment to apply on top of:
> +# am62x_evm_r5_defconfig
> +#
> +CONFIG_DEFAULT_DEVICE_TREE="k3-am625-r5-beagleplay"
> +CONFIG_OF_LIST="k3-am625-r5-beagleplay"
> +CONFIG_SPL_OF_LIST="k3-am625-r5-beagleplay"
> +# Do spl board init
> +CONFIG_SPL_BOARD_INIT=y
> +# Do not use emmc boot - we will use FS only
> +CONFIG_SUPPORT_EMMC_BOOT=n
> +# No SPI flash on Beagleplay
> +CONFIG_SPI=n
> +CONFIG_SPI_FLASH=n
> +CONFIG_SPL_DM_SPI_FLASH=n
> +CONFIG_SPL_SPI_FLASH_SUPPORT=n
> --
> 2.40.0
next prev parent reply other threads:[~2023-08-23 8:29 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-22 18:41 [PATCH V4 0/8] board: ti: Add support for BeaglePlay Nishanth Menon
2023-08-22 18:41 ` [PATCH V4 1/8] env_default: Allow CONFIG_EXTRA_ENV_TEXT to override CFG_EXTRA_ENV_SETTINGS Nishanth Menon
2023-08-22 23:16 ` Simon Glass
2023-08-22 23:33 ` Nishanth Menon
2023-08-23 2:34 ` Simon Glass
2023-08-23 11:42 ` Nishanth Menon
2023-08-23 7:47 ` Mattijs Korpershoek
2023-08-23 14:42 ` Tom Rini
2023-08-23 15:06 ` Nishanth Menon
2023-08-23 15:17 ` Tom Rini
2023-08-22 18:41 ` [PATCH V4 2/8] configs: am62x_evm*: Enable EMMC_BOOT configuration Nishanth Menon
2023-08-23 7:50 ` Mattijs Korpershoek
2023-08-22 18:41 ` [PATCH V4 3/8] arm: mach-k3: am625: Add support for UDA FS Nishanth Menon
2023-08-23 7:54 ` Mattijs Korpershoek
2023-08-22 18:41 ` [PATCH V4 4/8] drivers: mmc: am654_sdhci: Update OTAP/ITAP delay Nishanth Menon
2023-08-23 8:06 ` Mattijs Korpershoek
2023-08-23 10:15 ` Nitin Yadav
2023-08-23 10:18 ` Nitin Yadav
2023-08-23 11:38 ` Nishanth Menon
2023-08-23 14:21 ` Nishanth Menon
2023-08-22 18:41 ` [PATCH V4 5/8] arm: dts: k3-am625-sk-binman: Add labels for unsigned binary Nishanth Menon
2023-08-23 8:09 ` Mattijs Korpershoek
2023-08-22 18:41 ` [PATCH V4 6/8] arm: dts: Add k3-am625-beagleplay Nishanth Menon
2023-08-23 8:26 ` Mattijs Korpershoek
2023-08-22 18:41 ` [PATCH V4 7/8] board: ti: am62x: Add am62x_beagleplay_* defconfigs and env file Nishanth Menon
2023-08-23 8:29 ` Mattijs Korpershoek [this message]
2023-08-23 14:42 ` Tom Rini
2023-08-22 18:41 ` [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation Nishanth Menon
2023-08-23 8:36 ` Mattijs Korpershoek
2023-08-23 15:30 ` Simon Glass
2023-08-23 17:15 ` Tom Rini
2023-08-23 23:57 ` Simon Glass
2023-08-24 0:18 ` Nishanth Menon
2023-08-24 3:01 ` Simon Glass
2023-08-24 3:27 ` Nishanth Menon
2023-08-24 8:21 ` Mattijs Korpershoek
2023-08-24 12:07 ` Nishanth Menon
2023-08-24 13:16 ` Neha Malcom Francis
2023-08-24 14:20 ` Tom Rini
2023-08-24 14:41 ` Simon Glass
2023-08-24 14:43 ` Tom Rini
2023-08-24 14:46 ` Simon Glass
2023-08-25 14:17 ` Neha Malcom Francis
2023-08-24 14:16 ` Tom Rini
2023-08-25 1:04 ` Simon Glass
2023-08-25 1:22 ` Nishanth Menon
2023-08-25 1:31 ` Simon Glass
2023-08-25 1:59 ` Nishanth Menon
2023-08-25 23:45 ` Simon Glass
2023-08-26 1:06 ` Robert Nelson
2023-08-26 2:04 ` Simon Glass
2023-08-28 13:01 ` Nishanth Menon
2023-08-23 7:44 ` [PATCH V4 0/8] board: ti: Add support for BeaglePlay Mattijs Korpershoek
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=87il96f9ga.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=afd@ti.com \
--cc=bb@ti.com \
--cc=jan.kiszka@siemens.com \
--cc=n-francis@ti.com \
--cc=nm@ti.com \
--cc=praneeth@ti.com \
--cc=robertcnelson@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.