| e7e0443e | 12-Oct-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
avb: modify the function read_from_partition and write_to_partition
There is no need to malloc a space if offset and num_bytes is multiple of 512 in function read_from_partition.
The blk_dwrite in
avb: modify the function read_from_partition and write_to_partition
There is no need to malloc a space if offset and num_bytes is multiple of 512 in function read_from_partition.
The blk_dwrite in write_to_partition do not return 1 if execute success. So do not need to judge the return value.
Change-Id: Icd5681815640e86166d05ab3fc74f95d669621c7 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 844d3f39 | 15-Sep-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
libavb_user: add config depended on tipc
In the avb_ops_user.c file, we use some functions provided by tipc, so excute the functions may depend on tipc. If the config is not enable, it may compile f
libavb_user: add config depended on tipc
In the avb_ops_user.c file, we use some functions provided by tipc, so excute the functions may depend on tipc. If the config is not enable, it may compile fail.
Change-Id: I323f7e8d675407f2ec2f9f5358d1696b3b118880 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| cf7c71c1 | 13-Sep-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
avb: add functions to choose a/b system
This commit is based on google avb, and it can be getted by https://android.googlesource.com/platform/external/avb.
This new rk_libavb_ab depend on rk_libavb
avb: add functions to choose a/b system
This commit is based on google avb, and it can be getted by https://android.googlesource.com/platform/external/avb.
This new rk_libavb_ab depend on rk_libavb.
This commit provide some useful functions. The function of avb_ab_flow can be use to chose a/b system and flow.The other functions can be used to debug.
Change-Id: I768272286898b36e9a64749ff30bc6ff0cb019a1 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|