| #
be9d6521 |
| 29-Apr-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
common: android_bootloader: Abandon preload data when boot_partition changed
1. Handle the case: "avb lock + (vbus = 0) + recovery key pressed". 2. Need to clean preload data, when boot_partition ch
common: android_bootloader: Abandon preload data when boot_partition changed
1. Handle the case: "avb lock + (vbus = 0) + recovery key pressed". 2. Need to clean preload data, when boot_partition change. 3. Saved boot_partition shouldn't have _a or _b suffix because they should be saved in const char *slot_suffix.
Change-Id: Ia6354ef037ea0d205b1dc95e0ea8007925e652a3 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
show more ...
|
| #
36e836f2 |
| 27-Feb-2023 |
Joseph Chen <chenjh@rock-chips.com> |
android: avb: Support verify resource.img for locked device
The resource.img is from android boot/recovery or resource partition.
The fit boot/recovery.img was already supported with fit verify mec
android: avb: Support verify resource.img for locked device
The resource.img is from android boot/recovery or resource partition.
The fit boot/recovery.img was already supported with fit verify mechanism.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I54243934b40325c08eefa4bacdee542ee8e81654
show more ...
|
| #
48cf108a |
| 21-Oct-2022 |
Joseph Chen <chenjh@rock-chips.com> |
lib: avb: Add AvbOpsData
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ib444dbeaab73005a13a4f6e89ca3dc8b8d6272df
|
| #
ab608f80 |
| 11-Jun-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: update avb source code
according to google lib avb commit id: 44e07124afb1f46af0d745d83481f49c482900b1
Change-Id: Ie59a7265699e3e6b1673bb64da6d1c7a1e7b6201 Signed-off-by: Jason Zhu <jason
lib: avb: update avb source code
according to google lib avb commit id: 44e07124afb1f46af0d745d83481f49c482900b1
Change-Id: Ie59a7265699e3e6b1673bb64da6d1c7a1e7b6201 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
37a7bc39 |
| 26-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is cf8c56208d2d9643804a7f123b196c7ebc9af276.
Change-Id: I5a10a8a45d3e9e2c9d20d9b3d
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is cf8c56208d2d9643804a7f123b196c7ebc9af276.
Change-Id: I5a10a8a45d3e9e2c9d20d9b3d44946073c9a49ff Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
fd717dce |
| 08-Nov-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: support write efuse
Write the permanent attributes hash to efuse.
Change-Id: Id11586a66f055e7eb1a66997814f351509d49b21 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
52b8c717 |
| 02-Nov-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: close optee client
Change-Id: Iee7c991f7c06acbb064e016e11338cbf846be20d Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
fe83bbf4 |
| 02-Nov-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: add reed/write vbootkey hash
The android things require the soc-v key hash to be flashed using the fastboot. So these function can be used in fastboot to flash the key hash.
Change-Id: I6
lib: avb: add reed/write vbootkey hash
The android things require the soc-v key hash to be flashed using the fastboot. So these function can be used in fastboot to flash the key hash.
Change-Id: I6e00f2e1e371793b6f0868356ac0a51090adfe5e Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
f74d184a |
| 02-Nov-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: add a permanent attribute flag
Add a flag to indicate the permanent attributes have been written or not.
Change-Id: Id0b22158772bdf18466205df5f08cb0ddb820fbf Signed-off-by: Jason Zhu <jas
lib: avb: add a permanent attribute flag
Add a flag to indicate the permanent attributes have been written or not.
Change-Id: Id0b22158772bdf18466205df5f08cb0ddb820fbf Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
5b090159 |
| 02-Nov-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: change the prefix of some functions to make them coincident
Change-Id: Id876e6e49fb614e43d9f15cd9d24cee29aead223 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
5170bcdd |
| 12-Oct-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
avb: provide read/write vboot state function for fastboot
Change-Id: I197868d00a24719ce504a25fb81dc1577d2a214e Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
023e4d55 |
| 12-Oct-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
avb: provide read-write flash_lock_state functions for fastboot
Change-Id: Id6135c58416b0b914d2de8b5d911bf9eb02c5c60 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
b71a2499 |
| 12-Oct-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
avb: provide some functions used by fastboot
In the avb process, the pub_key must be verified by some permanent attributes.The permanent attributes is written by fastboot. So the write_permanent_att
avb: provide some functions used by fastboot
In the avb process, the pub_key must be verified by some permanent attributes.The permanent attributes is written by fastboot. So the write_permanent_attributes function is provided to write permanent attributes. the read_permanent_attributes functions is provided to verified the data.
Change-Id: Ib448c31062e34ce7f15fc32ab141793755bacf8a Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
6c551138 |
| 14-Sep-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
avb: create avb function for user use
The libavb_user provide some fuctions to get a/b and avb information from misc or vbmeta partitions, which can be use in libavb...
It also can use to enable or
avb: create avb function for user use
The libavb_user provide some fuctions to get a/b and avb information from misc or vbmeta partitions, which can be use in libavb...
It also can use to enable or disable the verification function by using avb_user_verity_set in the file avb_user_verify.c.
Since we use fastboot to program our firmware, some necessary function is provided to fastboot to get useful information, like slot number, current slot and so on.
Some functions in the avb_ops_user.c, like read_rollback_index, depend on the OpteeClientTest.h.
Change-Id: I94f77db30d5c7896724b5da3d218041ebdc1f46a Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|