[PATCH v2 0/8] Add support for ubi environment to create volumes
Weijie Gao
weijie.gao at mediatek.com
Tue Apr 21 10:35:39 CEST 2026
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
More information about the U-Boot
mailing list