| 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> |
| 095e2a82 | 30-Oct-2017 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: add R&W attribute flag support.
Change-Id: I682e1d9133c005022351c540f843f383703c7c65 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 46b2a054 | 30-Oct-2017 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: write attr to keymaster
updata keymaster ta and write attributes to keymaster
Change-Id: Iac3e64f7e4da1d6b5700d9f049d5fa8b1427b077 Signed-off-by: Hisping Lin <hisping.lin@rock-ch
lib: optee_client: write attr to keymaster
updata keymaster ta and write attributes to keymaster
Change-Id: Iac3e64f7e4da1d6b5700d9f049d5fa8b1427b077 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 2cd27853 | 30-Oct-2017 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: add R&W vboot key hash func
uboot can read vboot key hash from efuse and write vboot key hash to efuse, secure boot will be enable after you write vboot key hash.
Change-Id: Ibe7
lib: optee_client: add R&W vboot key hash func
uboot can read vboot key hash from efuse and write vboot key hash to efuse, secure boot will be enable after you write vboot key hash.
Change-Id: Ibe7b2a5778a3f38e13a241261617f1be8537c88e Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 16539616 | 30-Oct-2017 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: notify optee when uboot end
trusty_notify_optee_uboot_end() function is used before uboot jump into kernel, then optee will free memery and denied call some tipc functions, denied
lib: optee_client: notify optee when uboot end
trusty_notify_optee_uboot_end() function is used before uboot jump into kernel, then optee will free memery and denied call some tipc functions, denied call read write attribute hash.
Change-Id: I96b5687e1afd5bfdf1780ed1641f5fff2fc17eee Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 6ef445a4 | 30-Oct-2017 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: add support for R&W efuse
Change-Id: I8b06523c5379f253994c3ad89aa3b354d79b4c45 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| ae8ec5e1 | 30-Oct-2017 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: change file name
change OpteeClientTest.c to OpteeClientInterface.c
Change-Id: I68b32a2a4757af655bd4eaa723067f024ff112ef Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 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 ...
|
| 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> |
| ccc08591 | 12-Oct-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
tipc: add read/write flashing lock state
The new fastboot cmd need to store the flashing lock state in order to prevent flash. And the state is stored in rpmb. So the tipc provide the functions to r
tipc: add read/write flashing lock state
The new fastboot cmd need to store the flashing lock state in order to prevent flash. And the state is stored in rpmb. So the tipc provide the functions to read/write the flash_lock_state.
Change-Id: Idf6eb7de7aff1b3257fcd70d0fc87ac7634de4d0 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 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 ...
|
| 2d07abe1 | 18-Sep-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
tipc: change the tipc compile conditions
Since the tipc is not used in tpl and spl, we just compile tipc and generate in u-boot.bin.
Change-Id: Id2845aef127d209c8243cb4cfee8dfbd04ba1305 Signed-off-
tipc: change the tipc compile conditions
Since the tipc is not used in tpl and spl, we just compile tipc and generate in u-boot.bin.
Change-Id: Id2845aef127d209c8243cb4cfee8dfbd04ba1305 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 38de3d97 | 15-Sep-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
avb: add avb config to spl and tpl
Change-Id: Idc5102e29c4b66acacda554f3c61903606314025 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 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 ...
|
| 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 ...
|
| abdd2437 | 24-Aug-2017 |
hisping <hisping.lin@rock-chips.com> |
lib: add tipc functions
tipc functions is used for uboot communicate with TEE. uboot can request service for secure store or secure algorithm.
Change-Id: Ie44095aff4c044feceb5f362abf6e3d24ceb8d4c S
lib: add tipc functions
tipc functions is used for uboot communicate with TEE. uboot can request service for secure store or secure algorithm.
Change-Id: Ie44095aff4c044feceb5f362abf6e3d24ceb8d4c Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 3ccd4bb0 | 13-Sep-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
avb: support vbmeta key_pub verify
Android Things requires specific public key metadata and verification logic to correctly verify vbmeta public keys.
This commit provide fuction avb_atx_validate_v
avb: support vbmeta key_pub verify
Android Things requires specific public key metadata and verification logic to correctly verify vbmeta public keys.
This commit provide fuction avb_atx_validate_vbmeta_public_key to verify the vbmeta.
Change-Id: I227e93b342671b4395cbaa7dea2121cbf0d7234b 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 ...
|
| 5b69db07 | 13-Sep-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
avb: add the google avb to lib
The avb lib is provided by google, and it must be used in the android things to boot and verify android system. It can be getted in https://android.googlesource.com/pl
avb: add the google avb to lib
The avb lib is provided by google, and it must be used in the android things to boot and verify android system. It can be getted in https://android.googlesource.com/platform/external/avb.
Then we can use the functions suported by avb to program the a/b and avb code.
Change-Id: I09371fe53cd50233a69533cfa09d5ebca5b10871 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 54925552 | 07-Nov-2017 |
Joseph Chen <chenjh@rock-chips.com> |
arm: armv7: introduce cpu suspend and resume support
Just like linux, it supports cpu save and restore context during enter and exit low power mode. With this patch, cpu is able to suspend with core
arm: armv7: introduce cpu suspend and resume support
Just like linux, it supports cpu save and restore context during enter and exit low power mode. With this patch, cpu is able to suspend with core power off.
Workflow for trap into ATF for system suspend: cpu_suspend -> cpu_do_suspend -> arch specific fn: int (*fn)(unsigned long) -> psci_system_suspend(deliver 'cpu_resume()' address to ATF) -> ATF system suspend <- ATF system resume <- cpu_resume <- cpu_do_resume next instruction
Notice: If needed, you should remember to save and restore GIC by yourself.
Change-Id: I5cb6fb6ac5b6a7f4ec4a975b0fc38250b000b28e Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| a3584243 | 17-Aug-2017 |
Paweł Jarosz <paweljarosz3691@gmail.com> |
mtd: nand: add the rockchip nand controller driver
Add basic Rockchip nand driver.
Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit asynchronous flash interface suppor
mtd: nand: add the rockchip nand controller driver
Add basic Rockchip nand driver.
Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit asynchronous flash interface support. Other features will come later.
Change-Id: I8e766afe7358a2357d75cfe094c4cd6fe92bd281 Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| c6348130 | 13-Oct-2017 |
Zhangbin Tong <zebulun.tong@rock-chips.com> |
lib: add bit reverse library config
Change-Id: Ib3d72274b07fb088d320f751a8a576338f3a4d0b Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com> |