[U-Boot] [PATCH 1/3] ubi: provide a way to skip CRC checks
Heiko Schocher
hs at denx.de
Tue Sep 17 05:37:43 UTC 2019
Hello Stefan,
Am 12.09.2019 um 16:41 schrieb Stefan Roese:
> From: Quentin Schulz <quentin.schulz at bootlin.com>
>
> Some users of static UBI volumes implement their own integrity check,
> thus making the volume CRC check done at open time useless. For
> instance, this is the case when one use the ubiblock + dm-verity +
> squashfs combination, where dm-verity already checks integrity of the
> block device but this time at the block granularity instead of verifying
> the whole volume.
>
> Skipping this test drastically improves the boot-time.
>
> Adapted to U-Boot by Stefan Roese.
>
> Signed-off-by: Quentin Schulz <quentin.schulz at bootlin.com>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Quentin Schulz <quentin.schulz at bootlin.com>
> Cc: Boris Brezillon <boris.brezillon at bootlin.com>
> Cc: Heiko Schocher <hs at denx.de>
> ---
> cmd/ubi.c | 25 +++++++++++++++++++------
> drivers/mtd/ubi/kapi.c | 2 +-
> drivers/mtd/ubi/ubi-media.h | 6 ++++++
> drivers/mtd/ubi/ubi.h | 4 ++++
> drivers/mtd/ubi/vmt.c | 12 ++++++++++++
> drivers/mtd/ubi/vtbl.c | 3 +++
> include/mtd/ubi-user.h | 18 ++++++++++++++++--
> 7 files changed, 61 insertions(+), 9 deletions(-)
Patch look good to me, queued until next merge window opens.
Reviewed-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
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