All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Gerhold <stephan.gerhold@linaro.org>
To: Linus Walleij <linusw@kernel.org>
Cc: u-boot@lists.u-boot-project.org, Tom Rini <trini@konsulko.com>,
	Stefan Hansson <newbyte@postmarketos.org>
Subject: Re: [PATCH] configs: stemmy: Enable ext filesystem writes
Date: Fri, 27 Nov 2026 18:54:42 +0100	[thread overview]
Message-ID: <awnD4nTwKFBigGnn@linaro.org> (raw)
In-Reply-To: <20261127-ux500-ext4-write-v1-1-0ca250dbe845@kernel.org>

On Fri, Nov 27, 2026 at 11:09:46AM +0100, Linus Walleij wrote:
> Stemmy can read the ext2 boot partition cretaed by e.g. Nura
> build, but has no ext filesystem write support enabled.
> This is needed for EFI variable storage.
> 
> The EFI variable store fails to create or update ubootefi.var:
> 
>   ** File not found ubootefi.var **
>   No EFI variables loaded
>   ** Unable to write file ubootefi.var **
>   Failed to persist EFI variables
> 
> Enable EXT4_WRITE that will write EXT2 and EXT4 alike.
> 
> Signed-off-by: Linus Walleij <linusw@kernel.org>

I don't think a EXT2 partition is compliant with the EFI specification,
so we should probably change the Nura device ports to create FAT boot
partitions, there is an option for this in the deviceinfo file:
deviceinfo_boot_filesystem="fat32"

I don't think this change hurts though so fwiw:

Acked-by: Stephan Gerhold <stephan.gerhold@linaro.org>

Thanks,
Stephan

> ---
>  configs/stemmy_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configs/stemmy_defconfig b/configs/stemmy_defconfig
> index 982eeab391c0..f5519c7ab05e 100644
> --- a/configs/stemmy_defconfig
> +++ b/configs/stemmy_defconfig
> @@ -42,3 +42,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x685d
>  CONFIG_VIDEO=y
>  CONFIG_SYS_WHITE_ON_BLACK=y
>  CONFIG_VIDEO_MCDE_SIMPLE=y
> +CONFIG_EXT4_WRITE=y
> 
> ---
> base-commit: c1958b5f6cce03956d309ce422b5d9f819955d4a
> change-id: 20261126-ux500-ext4-write-4a654d54b861
> 
> Best regards,
> --  
> Linus Walleij <linusw@kernel.org>
> 

  reply	other threads:[~2026-11-27 17:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 10:09 [PATCH] configs: stemmy: Enable ext filesystem writes Linus Walleij
2026-11-27 17:54 ` Stephan Gerhold [this message]
2026-11-28 22:33   ` Linus Walleij
2026-12-01 23:22     ` Linus Walleij

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=awnD4nTwKFBigGnn@linaro.org \
    --to=stephan.gerhold@linaro.org \
    --cc=linusw@kernel.org \
    --cc=newbyte@postmarketos.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.u-boot-project.org \
    /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.