Kernel 4.14: Using dm-verity with squashfs rootfs - mounting issue

2021-07-20 Thread Pintu Agarwal
Hi, Our ARM32 Linux embedded system consists of these: * Linux Kernel: 4.14 * Processor: Qualcomm Arm32 Cortex-A7 * Storage: NAND 512MB * Platform: Simple busybox * Filesystem: UBIFS, Squashfs * Consists of nand raw partitions, squashfs ubi volumes. My requirement: We wanted to use dm-verity at

Re: MTD: How to get actual image size from MTD partition

2021-07-20 Thread Pintu Agarwal
On Tue, 20 Jul 2021 at 12:10, Richard Weinberger wrote: > > Anyways, I will create a separate thread for dm-verity issue and keep > > this thread still open for UBI image size issue. > > We may use dm-verify for rootfs during booting, but still we need to > > perform integrity check for other

Re: MTD: How to get actual image size from MTD partition

2021-07-20 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Pintu Agarwal" > Okay thank you. > We have tried dm-verity with squashfs (for our rootfs) but we are > facing some mounting issues. > [...] > [4.697757] device-mapper: init: adding target '0 96160 verity 1 > /dev/mtdblock34 /dev/mtdblock39 4096 4096

Re: MTD: How to get actual image size from MTD partition

2021-07-20 Thread Pintu Agarwal
On Mon, 19 Jul 2021 at 14:58, Richard Weinberger wrote: > > - Ursprüngliche Mail - > > Von: "Pintu Agarwal" > > An: "richard" > > CC: "Greg KH" , "linux-kernel" > > , "linux-mtd" > > , "linux-fsdevel" > > , "Phillip Lougher" > > , "Sean Nyekjaer" , > > "Kernelnewbies" > > Gesendet: