Hello Stefan,

Am 12.09.2019 um 16:41 schrieb Stefan Roese:
From: Quentin Schulz <[email protected]>

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 <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Cc: Quentin Schulz <[email protected]>
Cc: Boris Brezillon <[email protected]>
Cc: Heiko Schocher <[email protected]>
---
  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(-)

Thanks!

applied to u-boot-ubi.git master

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: [email protected]
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to