public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Weijie Gao <weijie.gao@mediatek.com>
To: <u-boot@lists.denx.de>
Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
	Tom Rini <trini@konsulko.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Simon Glass <sjg@chromium.org>,
	Weijie Gao <weijie.gao@mediatek.com>
Subject: [PATCH v2 0/8] Add support for ubi environment to create volumes
Date: Tue, 21 Apr 2026 16:35:39 +0800	[thread overview]
Message-ID: <cover.1776759754.git.weijie.gao@mediatek.com> (raw)

This patch series expose more ubi helpers to allow the ubi environment to
create ubi env volumes if not exist.

Changes:
v2: Add const qualifier for char */void * in function parameters
    Adjust normal command message

Weijie Gao (8):
  ubi: remove unnecessary extern directive from function prototypes
  cmd: ubi: mark read-only function parameters with const
  cmd: ubi: use void * for buf parameter in ubi_volume_read
  cmd: ubifs: mark string parameters with const
  cmd: ubi: reorganize command messages
  cmd: ubi: expose more APIs to public
  cmd: ubi: allow creating volume with all free spaces in ubi_create_vol
  env: ubi: add support to create environment volume if it does not
    exist

 cmd/ubi.c             | 141 ++++++++++++++++++++++++++++--------------
 cmd/ubifs.c           |   2 +-
 env/Kconfig           |  11 ++++
 env/ubi.c             |  34 +++++++++-
 fs/ubifs/super.c      |   2 +-
 fs/ubifs/ubifs.c      |   2 +-
 include/ubi_uboot.h   |  20 +++---
 include/ubifs_uboot.h |   4 +-
 8 files changed, 154 insertions(+), 62 deletions(-)

-- 
2.45.2


             reply	other threads:[~2026-04-21  8:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-21  8:35 Weijie Gao [this message]
2026-04-21  8:35 ` [PATCH v2 1/8] ubi: remove unnecessary extern directive from function prototypes Weijie Gao
2026-04-21  8:35 ` [PATCH v2 2/8] cmd: ubi: mark read-only function parameters with const Weijie Gao
2026-04-21  8:36 ` [PATCH v2 3/8] cmd: ubi: use void * for buf parameter in ubi_volume_read Weijie Gao
2026-04-21  8:36 ` [PATCH v2 4/8] cmd: ubifs: mark string parameters with const Weijie Gao
2026-04-21  8:36 ` [PATCH v2 5/8] cmd: ubi: reorganize command messages Weijie Gao
2026-04-21  8:36 ` [PATCH v2 6/8] cmd: ubi: expose more APIs to public Weijie Gao
2026-04-21  8:36 ` [PATCH v2 7/8] cmd: ubi: allow creating volume with all free spaces in ubi_create_vol Weijie Gao
2026-04-21  8:36 ` [PATCH v2 8/8] env: ubi: add support to create environment volume if it does not exist Weijie Gao

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=cover.1776759754.git.weijie.gao@mediatek.com \
    --to=weijie.gao@mediatek.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=sjg@chromium.org \
    --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