U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/10] Add support for ubi environment to create volumes (v3)
@ 2026-04-27  7:09 Weijie Gao
  2026-04-27  7:09 ` [PATCH v3 01/10] ubi: remove unnecessary extern directive from function prototypes Weijie Gao
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: Weijie Gao @ 2026-04-27  7:09 UTC (permalink / raw)
  To: u-boot
  Cc: GSS_MTK_Uboot_upstream, Tom Rini, Marek Vasut, Simon Glass,
	Weijie Gao

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

v3: Fix command messages
    Fix some incorrect code flow and error handling
    Correct dynamic parameter type
    Add comments for exported functions

Weijie Gao (10):
  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: change the type of parameter dynamic to bool
  cmd: ubi: reorganize command messages
  cmd: ubi: export more APIs to public
  cmd: ubi: allow creating volume with all free spaces in ubi_create_vol
  ubi: add comments for exported ubi API functions
  env: ubi: add support to create environment volume if it does not
    exist

 cmd/ubi.c             | 162 ++++++++++++++++++++++++++++--------------
 cmd/ubifs.c           |   2 +-
 env/Kconfig           |  11 +++
 env/ubi.c             |  39 +++++++++-
 fs/ubifs/super.c      |   2 +-
 fs/ubifs/ubifs.c      |   2 +-
 include/ubi_uboot.h   | 106 +++++++++++++++++++++++++--
 include/ubifs_uboot.h |   4 +-
 8 files changed, 260 insertions(+), 68 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-05-12  3:54 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27  7:09 [PATCH v3 00/10] Add support for ubi environment to create volumes (v3) Weijie Gao
2026-04-27  7:09 ` [PATCH v3 01/10] ubi: remove unnecessary extern directive from function prototypes Weijie Gao
2026-04-27  7:09 ` [PATCH v3 02/10] cmd: ubi: mark read-only function parameters with const Weijie Gao
2026-04-27  7:09 ` [PATCH v3 03/10] cmd: ubi: use void * for buf parameter in ubi_volume_read Weijie Gao
2026-04-27  7:09 ` [PATCH v3 04/10] cmd: ubifs: mark string parameters with const Weijie Gao
2026-04-27  7:09 ` [PATCH v3 05/10] cmd: ubi: change the type of parameter dynamic to bool Weijie Gao
2026-04-28 14:05   ` Simon Glass
2026-04-27  7:09 ` [PATCH v3 06/10] cmd: ubi: reorganize command messages Weijie Gao
2026-04-28 14:10   ` Simon Glass
2026-05-12  2:40     ` Weijie Gao
2026-04-27  7:09 ` [PATCH v3 07/10] cmd: ubi: export more APIs to public Weijie Gao
2026-04-28 14:11   ` Simon Glass
2026-05-11  2:13     ` Weijie Gao
2026-04-27  7:09 ` [PATCH v3 08/10] cmd: ubi: allow creating volume with all free spaces in ubi_create_vol Weijie Gao
2026-04-27  7:09 ` [PATCH v3 09/10] ubi: add comments for exported ubi API functions Weijie Gao
2026-04-28 14:08   ` Simon Glass
2026-05-11  8:27     ` Weijie Gao
2026-04-27  7:09 ` [PATCH v3 10/10] env: ubi: add support to create environment volume if it does not exist Weijie Gao
2026-04-28 14:11   ` Simon Glass
2026-05-12  3:54     ` Weijie Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox