DM verity

Discussion in 'UDOO NEO' started by AM97, Aug 7, 2018.

  1. AM97

    AM97 New Member

    Jun 19, 2018
    Likes Received:
    I'm trying to enable DM verity on the udoo neo.

    I went into make menuconfig-->Device Drivers--> enabled Multiple devices driver support (RAID and LVM)--> modularized Device Mapper Support--> modularized Verity target support

    the command i'm trying to run to create a verity device is:

    veritysetup --debug format /dev/mmcblk0p2 /dev/mmcblk0p2 --hash-offset=15896969216--salt=123456789123456789

    the number of blocks in /dev/mmcblk0p2 is 3881088, and I've tested this command on a test filesystem--and it worked. The hash-offset is correct, but I'm getting a cannot seek to requested position error.

    Can someone please help me?

Share This Page