From: Josua Mayer <josua@solid-run.com>
To: Dennis Gilmore <dgilmore@redhat.com>
Cc: Tom Rini <trini@konsulko.com>, Stefan Roese <sr@denx.de>,
"u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: Re: [PATCH v2 2/3] arm: mvebu: helios4_defconfig: enable setexpr command
Date: Tue, 13 Feb 2024 13:07:47 +0000 [thread overview]
Message-ID: <422d9560-beac-454d-a516-1ab8027f6d95@solid-run.com> (raw)
In-Reply-To: <CAJesf3OEfkTw_02jX0rnT2mRqRkHOHRrwpGqTvXHw6rcWAY_8g@mail.gmail.com>
Hi Dennis,
Use-case is with separate boot and rootfs partitions to calculate
next partition number as argument for further commands:
setexpr openwrt_rootpart ${distro_bootpart} + 1
part uuid ${devtype} ${devnum}:${openwrt_rootpart} uuid
setenv bootargs ${bootargs} root=PARTUUID=${uuid} rootfstype=auto rootwait
- Josua Mayer
Am 12.02.24 um 21:40 schrieb Dennis Gilmore:
> I am curious about your use cases for this. as ideally all systems use the generic distro boot paths and it is not needed for them.
>
> Dennis
>
> On Fri, Feb 2, 2024 at 9:13 AM Josua Mayer <josua@solid-run.com> wrote:
>
> Update the helios4 defconfig to enable the 'setexpr' command, which is a
> default and useful for various complex boot-scripts.
>
> Signed-off-by: Josua Mayer <josua@solid-run.com>
> ---
> configs/helios4_defconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/configs/helios4_defconfig b/configs/helios4_defconfig
> index 04194004f0..73f0638344 100644
> --- a/configs/helios4_defconfig
> +++ b/configs/helios4_defconfig
> @@ -44,7 +44,6 @@ CONFIG_CMD_MMC=y
> CONFIG_CMD_PCI=y
> CONFIG_CMD_SPI=y
> CONFIG_CMD_USB=y
> -# CONFIG_CMD_SETEXPR is not set
> CONFIG_CMD_TFTPPUT=y
> CONFIG_CMD_CACHE=y
> CONFIG_CMD_TIME=y
>
> --
> 2.35.3
>
>
>
> --
> Dennis Gilmore
> Senior Manager Systems Enablement OpenShift Development
next prev parent reply other threads:[~2024-02-13 13:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-02 15:13 [PATCH v2 0/3] arm: mvebu: helios-4: add config fragment for spi booting et al Josua Mayer
2024-02-02 15:13 ` [PATCH v2 1/3] arm: dts: armada-38x-solidrun-microsom: configure i2c0 bus Josua Mayer
2024-03-05 10:32 ` Stefan Roese
2024-02-02 15:13 ` [PATCH v2 2/3] arm: mvebu: helios4_defconfig: enable setexpr command Josua Mayer
2024-02-12 20:40 ` Dennis Gilmore
2024-02-13 13:07 ` Josua Mayer [this message]
2024-03-05 10:32 ` Stefan Roese
2024-02-02 15:13 ` [PATCH v2 3/3] board: helios-4: add config fragment for spi booting Josua Mayer
2024-02-02 16:06 ` Tom Rini
2024-03-05 10:32 ` Stefan Roese
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=422d9560-beac-454d-a516-1ab8027f6d95@solid-run.com \
--to=josua@solid-run.com \
--cc=dgilmore@redhat.com \
--cc=sr@denx.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.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