All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wadim Egorov <w.egorov@phytec.de>
To: Daniel Schultz <d.schultz@phytec.de>,
	trini@konsulko.com, u-boot@lists.denx.de
Cc: upstream@lists.phytec.de
Subject: Re: [PATCH 2/4] configs: phycore_am62x_a53_defconfig: Enable ENV_IS_IN_SPI_FLASH
Date: Tue, 11 Feb 2025 10:47:09 +0700	[thread overview]
Message-ID: <9dce4ba2-16c4-4154-bdd3-d65fe13e624b@phytec.de> (raw)
In-Reply-To: <20250210152548.1263498-2-d.schultz@phytec.de>

Am 10.02.25 um 22:25 schrieb Daniel Schultz:
> Enable ENV_IS_IN_SPI_FLASH to read the environment from the SPI
> flash when booting from it. The oftree, kernel and ramdisk sizes
> are located in this environment and therefore required to boot
> an initramfs.
> 
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>

> ---
>   configs/phycore_am62x_a53_defconfig | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig
> index 0494fc408b7..d7aa59bf1dd 100644
> --- a/configs/phycore_am62x_a53_defconfig
> +++ b/configs/phycore_am62x_a53_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80b80000
>   CONFIG_SF_DEFAULT_SPEED=25000000
>   CONFIG_ENV_SIZE=0x20000
>   CONFIG_ENV_OFFSET=0x680000
> +CONFIG_ENV_SECT_SIZE=0x20000
>   CONFIG_SPL_DM_SPI=y
>   CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am625-phyboard-lyra-rdk"
>   CONFIG_OF_LIBFDT_OVERLAY=y
> @@ -84,6 +85,7 @@ CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
>   CONFIG_ENV_OVERWRITE=y
>   CONFIG_ENV_IS_NOWHERE=y
>   CONFIG_ENV_IS_IN_MMC=y
> +CONFIG_ENV_IS_IN_SPI_FLASH=y
>   CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>   CONFIG_SYS_MMC_ENV_DEV=1
>   CONFIG_NET_RANDOM_ETHADDR=y


  reply	other threads:[~2025-02-11  3:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-10 15:25 [PATCH 1/4] configs: phycore_am64x_a53_defconfig: Enable ENV_IS_IN_SPI_FLASH Daniel Schultz
2025-02-10 15:25 ` [PATCH 2/4] configs: phycore_am62x_a53_defconfig: " Daniel Schultz
2025-02-11  3:47   ` Wadim Egorov [this message]
2025-02-10 15:25 ` [PATCH 3/4] board: Phytec: phycore_am64x: Increase size for Image in SPI Daniel Schultz
2025-02-11  3:47   ` Wadim Egorov
2025-02-10 15:25 ` [PATCH 4/4] board: Phytec: phycore_am62x: " Daniel Schultz
2025-02-11  3:47   ` Wadim Egorov
2025-02-11  3:46 ` [PATCH 1/4] configs: phycore_am64x_a53_defconfig: Enable ENV_IS_IN_SPI_FLASH Wadim Egorov
2025-02-21  3:28 ` 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=9dce4ba2-16c4-4154-bdd3-d65fe13e624b@phytec.de \
    --to=w.egorov@phytec.de \
    --cc=d.schultz@phytec.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=upstream@lists.phytec.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 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.