miscellaneous ubispl and ubi improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUNDenv/ scripts/ | +6 | 1 reply | |
| 1/6 | env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND | +0 | 0 replies | |
| 1/6 | env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUNDenv/ | +1 | 1 reply | |
| 1/6 | env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND | +0 | 0 replies | |
| 1/6 | env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND | +0 | 0 replies | |
| 2/6 | env: ubi: support configurable VID offsetenv/ env/ | +19 | 1 reply | |
| 3/6 | ubi: fix UBI_SILENCE_MSGdrivers/ drivers/ | +3 | 1 reply | |
| 4/6 | ubispl: migrate configuration to Kconfigcommon/ scripts/ | +79 | 1 reply | |
| 5/6 | ubispl: add support for loading volumes by namecommon/ common/ drivers/ +2 more | +246 | 1 reply | |
| 6/6 | ubispl: introduce separate CONFIG_UBI_SPL_SILENCE_MSGcommon/ drivers/ | +7 | 1 reply |
Reviews trailers per patch
9 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Heiko Schocher |
|---|---|
| 1/6 | R-b |
| 1/6 | R-b |
| 1/6 | R-b |
| 1/6 | R-b |
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 0/6] miscellaneous ubispl and ubi improvements
From: Markus Klotzbuecher <[email protected]>
Hello Heiko and Kyungmin
This series contains a couple of UBI and UBI SPL improvements, notably a ubispl extension to allow loading volumes by name. The motivation is to use the UBI atomic volume rename functionality to allow double copy software updates of U-Boot on UBI. To do that we configured the SPL to always load the same volume name (e.g. "u-boot"), and the software updater always installs into the secondary volume "u-boot_r". After a successful upgrade, these two volume names are switched.
This extension is protected by #ifdefs as it will somewhat slow down loading of volumes by id. This is because the code needs to disable the optimization of ignoring all volume ids which are not to-be-loaded, since these can only be resolved after attaching.
We have tested both with and without fastmap enabled and both paths seems to work reliably.
I also moved the ubispl config to Kconfig. There seem to be two boards that use this (Maintainers cc'ed on patch). I have not updated their defconfigs (not being sure if I should) but would be pleased to do so.
Hamish Guthrie (2):
env: ubi: support configurable VID offset
ubispl: add support for loading volumes by name
Markus Klotzbuecher (4):
env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND
ubi: fix UBI_SILENCE_MSG
ubispl: migrate configuration to Kconfig
ubispl: introduce separate CONFIG_UBI_SPL_SILENCE_MSG
common/spl/Kconfig | 98 ++++++++++++++++ common/spl/spl_ubi.c | 7 ++ drivers/mtd/ubi/Kconfig | 2 +- drivers/mtd/ubi/io.c | 2 + drivers/mtd/ubispl/ubispl.c | 215 ++++++++++++++++++++++++++++++++++- drivers/mtd/ubispl/ubispl.h | 9 +- env/Kconfig | 12 ++ env/ubi.c | 17 ++- include/ubispl.h | 6 + scripts/config_whitelist.txt | 13 --- 10 files changed, 360 insertions(+), 21 deletions(-)
Signature · 1 line
2.20.1