[U-Boot] [PATCH v2 3/3] ubi: Add "skipcheck" command to set/clear this bit in the UBI volume hdr
Heiko Schocher
hs at denx.de
Tue Oct 8 10:41:29 UTC 2019
Hello Stefan,
Am 17.09.2019 um 09:17 schrieb Stefan Roese:
> U-Boot now supports the "skip_check" flag to optionally skip the CRC
> check at open time. Currently its only possible to set this bit upon
> UBI volume creation. But it might be very useful to also set this bit
> on already installed systems (e.g. field upgrade) to make also use of
> the boot-time decrease on those systems.
>
> This patch now adds a new "ubi" command "ubi skipcheck" to set or clear
> this bit in the UBI volume header:
>
> => ubi skipcheck rootfs0 on
> Setting skip_check on volume rootfs0
>
> BTW: This saves approx. 10 seconds Linux bootup time on a MT7688 based
> target with 128MiB of SPI NAND.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Reviewed-by: Heiko Schocher <hs at denx.de>
> Cc: Quentin Schulz <quentin.schulz at bootlin.com>
> Cc: Boris Brezillon <boris.brezillon at collabora.com>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Andreas Dannenberg <dannenberg at ti.com>
> ---
> v2:
> - Add documentation to doc/README.ubi as suggested by Andreas
>
> cmd/ubi.c | 34 ++++++++++++++++++++++++++++++++++
> doc/README.ubi | 33 +++++++++++++++++++++++++++++++++
> 2 files changed, 67 insertions(+)
Just applied it locally and started a travis build [1] for your patch
series.
Unfortunately it breaks [2] sheevaplug board (size limit).
Added Prafulla to cc may he can give a hint, if we can remove something?
@Prafulla: This board drops a lot of build warnings [3] ... is it used
anymore? Do you plan to update to DM support? Or should we
remove this board?
bye,
Heiko
[1] https://travis-ci.org/hsdenx/u-boot-ubi/builds/594929737
[2] https://travis-ci.org/hsdenx/u-boot-ubi/jobs/594929765
[3] build warnings sheevaplug
===================== WARNING ======================
This board does not use CONFIG_DM_MMC. Please update
the board to use CONFIG_DM_MMC before the v2019.04 release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.
====================================================
===================== WARNING ======================
This board does not use CONFIG_DM_USB. Please update
the board to use CONFIG_DM_USB before the v2019.07 release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.
====================================================
===================== WARNING ======================
This board does use CONFIG_MVSATA_IDE which is not
ported to driver-model (DM) yet. Please update the storage
controller driver to use CONFIG_AHCI before the v2019.07
release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.
====================================================
===================== WARNING ======================
This board does not use CONFIG_DM_ETH (Driver Model
for Ethernet drivers). Please update the board to use
CONFIG_DM_ETH before the v2020.07 release. Failure to
update by the deadline may result in board removal.
See doc/driver-model/migration.rst for more info.
====================================================
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list