| f18b06fb | 13-Sep-2018 |
Tony Xu <tony.xu@rock-chips.com> |
lib: optee_clientApi: Optimze the function write_keybox_to_secure_storage
Change-Id: Icb88355494eb23c9403fc078adb5f2f46c4a870c Signed-off-by: Tony Xu <tony.xu@rock-chips.com> |
| bcf5a32a | 07-Oct-2018 |
Joseph Chen <chenjh@rock-chips.com> |
lib: gzip: lower the message when parse header
Change-Id: Iedd2cbefac99fb17256770dc334741b9e760c449 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| bdf50261 | 11-Sep-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: search security partition once
Change-Id: I4f3fbdb1e319e5b200225353a2d945bebd888f8c Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| f01cc52b | 31-Aug-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: speed up secure store
use R&W multi blocks and cache used flag to speed up secure store.
Change-Id: Ib534fa33e1bb03006ed3b85992d1d48b5fe36f39 Signed-off-by: Hisping Lin <hisping.
lib: optee_client: speed up secure store
use R&W multi blocks and cache used flag to speed up secure store.
Change-Id: Ib534fa33e1bb03006ed3b85992d1d48b5fe36f39 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 7c1937d6 | 08-Aug-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: change judgement value when read from rpmb
If the item is not existent, trust will return TEE_ERROR_GENERIC TEE_ERROR_NO_DATA and TEE_ERROR_ITEM_NOT_FOUND. We initialize the item when retu
lib: avb: change judgement value when read from rpmb
If the item is not existent, trust will return TEE_ERROR_GENERIC TEE_ERROR_NO_DATA and TEE_ERROR_ITEM_NOT_FOUND. We initialize the item when return these value.
TEST: fastboot getvar at-vboot-state
ERROR: avb-perm-attr-set=0 avb-locked= avb-unlock-disabled=
Change-Id: Ie1b4e1ce7d1dc419a0af11e5701b0130f2f7f553 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 615e0cde | 08-Aug-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: fix bug HANG in fastboot getvar at-vboot-state
Bug: Run 'fastboot getvar at-vboot-state', then HANG in the fastboot without any message.
Cause: The fastboot can not decide the vboot size
lib: avb: fix bug HANG in fastboot getvar at-vboot-state
Bug: Run 'fastboot getvar at-vboot-state', then HANG in the fastboot without any message.
Cause: The fastboot can not decide the vboot size when the return information size of vboot state is larger than the VBOOT_STATE_SIZE. This makes the device will not response to console.
Solution: 1. Enlarge VBOOT_STATE_SIZE. The max size of vboot state may be 862, so define VBOOT_STATE_SIZE to 1000. 2. Use snprintf to get the info.
Change-Id: I2d0fda76ca9034c596993ab27a02cbf2fa550977 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| a7df4868 | 11-Aug-2018 |
tony.xu <tony.xu@rock-chips.com> |
load keybox to secure storage thtough u-boot: u-boot->ca->ta
Change-Id: Ifdf237ec235c791565d2da1b5881df2f1499d422 Signed-off-by: tony.xu <tony.xu@rock-chips.com> |
| d156c9ff | 20-Jul-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: v2 client support compile to 32 bits
Change-Id: I25cbbe486016cbe6fb1a6eff440bb7efab46a4c6 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| bff338f2 | 14-Jul-2018 |
Joseph Chen <chenjh@rock-chips.com> |
lib: optee client: printf content end with "\n".
Change-Id: I9a2f503c4e6b3c1f0c117f93fc2f2d429d43dfbc Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 008aee87 | 12-Jun-2018 |
Andy Yan <andy.yan@rock-chips.com> |
boot_android: add runtime compatible for un/compressed kernel image
This patch add auto parse the compress format of kernel image. Then decompress the compressed kernel image for arm64, as for arm32
boot_android: add runtime compatible for un/compressed kernel image
This patch add auto parse the compress format of kernel image. Then decompress the compressed kernel image for arm64, as for arm32 zImage, we only need to load it to a higher memory, then the kernel will handle the decompress itself.
Test on RK3308 AARCH64 mode (Cortex A35 816 MHZ) boot with eMMC:
------------------------------------------------------------------ Format | Size(Byte) | Ratio | Decomp time(ms) | Boot time(ms) | ------------------------------------------------------------------- Image | 7720968 | | | 488 | ------------------------------------------------------------------- Image.lz4 | 4119448 | 53% | 59 | 455 | ------------------------------------------------------------------- Image.lzo | 3858322 | 49% | 141 | 536 | ------------------------------------------------------------------- Image.gz | 3529108 | 45% | 222 | 609 | ------------------------------------------------------------------- Image.bz2 | 3295914 | 42% | 2940 | | ------------------------------------------------------------------- Image.lzma| 2683750 | 34% | | | -------------------------------------------------------------------
Note: the boot time is counted from first ddr init log to first Kernel log.
Change-Id: I73b12ec944fbc8238b0e061a37e2f31aa3093231 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
show more ...
|
| d5d77aeb | 06-Jul-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: modify macro in Kconfig
CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION is support for OPTEE_V1
Change-Id: Ic83d06a08a1d409905dcc61e0f7346ab23261b0c Signed-off-by: Hisping Lin <hispin
lib: optee_client: modify macro in Kconfig
CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION is support for OPTEE_V1
Change-Id: Ic83d06a08a1d409905dcc61e0f7346ab23261b0c Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 6651d4c0 | 03-Jul-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
dev_desc: judge dev_desc whether NULL or not before use it
Change-Id: I9d0e2d207a143a02949fbdff2d9ad39f154e4f3e Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 8d0db1d9 | 11-Jun-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: implement the function get_random()
Use the function get_timer to get the random seed. Then the seed is used by function srand to initialize the random data.
Change-Id: Iaae6a17d22b8e85fb
lib: avb: implement the function get_random()
Use the function get_timer to get the random seed. Then the seed is used by function srand to initialize the random data.
Change-Id: Iaae6a17d22b8e85fb4d4b6c6247cd11003b64eea Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 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 ...
|
| 57c7f8fe | 11-Jun-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: support generate unlock challenge
Change-Id: Ia21746ec2bc729fd92ca7ea7a3320dfcbd4dd238 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 83ab7b49 | 11-Jun-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: rk: add authenticated unlock interface
Change-Id: Ib2aa1ac07d25f14aa08fc759ec99b6ba64d6abef Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| cb49af8f | 06-Jun-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: Change param when get share memory config
Change-Id: I572bf900af26b2c2dcfce23e912b95aa729d786b Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 981b7916 | 05-Jun-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: get share memory config to init
Change-Id: I92fff248650ff239e050fb058ee095e9bed231c6 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| f303baf0 | 30-May-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: optee os v1 support multi file system
Change-Id: I78487659e9fb5b9f2b5d468d587cd00756fdb98c Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 58737b30 | 30-May-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: update keymaster TA
compile form keymaster 8.0/develop commit:ddd71dca Features: ddd71dca ta: support emmc/nand storage for keymaster & gatekeeper 2692c551 Update export-user_ta
lib: optee_client: update keymaster TA
compile form keymaster 8.0/develop commit:ddd71dca Features: ddd71dca ta: support emmc/nand storage for keymaster & gatekeeper 2692c551 Update export-user_ta/ to support dual filesystems bc288722 keymaster: uboot write data overwrite
Change-Id: I51b84f62db15bd4825035089dbb6ee38d11d4cac Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| d30aacaf | 27-Apr-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: updata keymaster TA
compile form keymaster 8.1/develop-next commit:9d05fa8a Features: 9d05fa8a keymaster: uboot write data delete old obj ff399cf0 ta keymaster: fix null point i
lib: optee_client: updata keymaster TA
compile form keymaster 8.1/develop-next commit:9d05fa8a Features: 9d05fa8a keymaster: uboot write data delete old obj ff399cf0 ta keymaster: fix null point input panic 186df0e4 keymaster & gatekeeper: rk3326 use partition storage
Change-Id: Id15168f8782d4ab3680b9a424f8eee3843b6aa45 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 78ef5fbd | 28-Mar-2018 |
qiujian <qiujian@rock-chips.com> |
lib: optee_client: add oem unlock status func
Change-Id: If92c59650994bd2ab8e689f063acf1d65dc08e48 Signed-off-by: Qiu Jian <qiujian@rock-chips.com> |
| a6bee18f | 22-Mar-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: fix bug of rk file system
fix bug which make error when we try to create a new file, old file should be delete, but old file which fd equal to zero is exist!
Change-Id: I602e889a
lib: optee_client: fix bug of rk file system
fix bug which make error when we try to create a new file, old file should be delete, but old file which fd equal to zero is exist!
Change-Id: I602e889ae12756c0c40e409d6439ac36cc1b5382 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| c3230cf0 | 15-Mar-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: add bootloader-min-versions
The bootloader include uboot and trust. The uboot slot index number is 0. The trust slot number index is 1.
Change-Id: Ia62edbf60486fa4128756458c6312f682a83d0f
lib: avb: add bootloader-min-versions
The bootloader include uboot and trust. The uboot slot index number is 0. The trust slot number index is 1.
Change-Id: Ia62edbf60486fa4128756458c6312f682a83d0f7 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| df50318e | 15-Mar-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: add slot number to avb-min-versions
Acording to google, the avb-min-versions includes the slot number rather than the image rollback-index stored in the image.
PIK/PSK: use AVB_ATX_PSK_VE
lib: avb: add slot number to avb-min-versions
Acording to google, the avb-min-versions includes the slot number rather than the image rollback-index stored in the image.
PIK/PSK: use AVB_ATX_PSK_VERSION_LOCATION and AVB_ATX_PIK_VERSION_LOCATION as slot number.
Change-Id: I06b8d107e27f1e0f136b5e964c1287bc13f80b7c Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|