Thread (23 messages) 23 messages, 5 authors, 2021-11-12

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

From: Richard Weinberger <richard@nod.at>
Date: 2021-07-16 16:27:01
Also in: linux-fsdevel, lkml

----- Ursprüngliche Mail -----
Von: "Greg KH" [off-list ref]
An: "Pintu Agarwal" [off-list ref]
CC: "linux-kernel" <redacted>, "linux-mtd" <redacted>, "linux-fsdevel"
[off-list ref], "Phillip Lougher" [off-list ref], "Sean Nyekjaer" [off-list ref],
"Kernelnewbies" [off-list ref], "richard" [off-list ref]
Gesendet: Freitag, 16. Juli 2021 17:41:01
Betreff: Re: MTD: How to get actual image size from MTD partition
On Fri, Jul 16, 2021 at 12:12:41PM +0530, Pintu Agarwal wrote:
quoted
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:
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. :-)

Thanks,
//richard

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help