July 19, 2021
9:09 a.m.
On Fri, 16 Jul 2021 at 21:56, Richard Weinberger <richard@nod.at> wrote:
My requirement: To find the checksum of a real image in runtime which is flashed in an MTD partition.
Try using the dm-verity module for ensuring that a block device really is properly signed before mounting it. That's what it was designed for and is independent of the block device type.
MTDs are not block devices. :-)
Is it possible to use dm-verity with squashfs ? We are using squashfs for our rootfs which is an MTD block /dev/mtdblock44