avb_ab: add avb check for product product [1/2]
authorLiang Ji <liang.ji@amlogic.com>
Thu, 7 Mar 2019 03:08:25 +0000 (11:08 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 1 Apr 2019 12:11:56 +0000 (05:11 -0700)
PD#SWPL-6168

Problem:
avb+abupdate with care map.txt cann't boot up
because of check product partition

Solution:
add avb for product partition in dts

Verify:
ampere

Change-Id: I0310853965340d9b810a89cbf1719f9ba002261d
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
arch/arm/boot/dts/amlogic/firmware_avb_ab.dtsi
arch/arm64/boot/dts/amlogic/firmware_avb_ab.dtsi

index d1154cc..bcbede9 100644 (file)
@@ -39,7 +39,7 @@ firmware {
                        dev = "/dev/block/product";
                        type = "ext4";
                        mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
-                       fsmgr_flags = "wait,slotselect";
+                       fsmgr_flags = "wait,slotselect,avb";
                };
                odm {
                        compatible = "android,odm";
index 0ec3f8c..299febc 100644 (file)
@@ -39,7 +39,7 @@ firmware {
                        dev = "/dev/block/product";
                        type = "ext4";
                        mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
-                       fsmgr_flags = "wait,slotselect";
+                       fsmgr_flags = "wait,slotselect,avb";
                        };
                odm {
                        compatible = "android,odm";