Commit Graph

7 Commits

Author SHA1 Message Date
Luo Ji 3cbf9e37a3 [iot] Fix build break for arm64
Change some includes in include/trusty/sysdeps.h
to match our platform.

Test: build pass for imx7d and imx8m.

Change-Id: I01fd3634413f358ead8c9b67d05def544682c274
Signed-off-by: Luo Ji <ji.luo@nxp.com>
2018-11-12 09:18:36 +08:00
Arve Hjønnevåg 5e7a599439 ql-tipc: Compile fixes
Change-Id: I1c800fe39b5999169edd6e2acb9f66e557a3a86e
2018-11-12 09:18:36 +08:00
Roberto Pereira 1939a7914f ql-tipc: sysdeps.h: separate memory allocation from getting attributes
Obtaining the memory attributes can be done indepentently of the
bootloader environment and is now done by the ipc layer.

Updated u-boot example to reflect this.

Change-Id: I8e649a1367ba02981419c43aac6e55b469dcf651
2018-11-12 09:18:35 +08:00
Roberto Pereira 8b91ad3b1e ql-tipc: sysdeps: Change memory allocation to be page based
Changed trusty_membuf_alloc and trusty_membuf_free to trusty_alloc_pages and
trusty_free_pages. The memory allocated by these functions is intended
to be shared with the secure world so it should be inherently page based.

Updated u-boot sysdeps and trusty_ipc_dev_create/shutdown to use these
new functions

Change-Id: Ica1aa5b0cb50eba6ce18914d048e731133d94c4f
2018-11-12 09:18:35 +08:00
Roberto Pereira 755d07edf2 ql-tipc: sysdpes.h: Don't require UTF-8 support
Change-Id: I53c44e1b6641a8b7fddfa24d125b20868ef3496b
2018-11-12 09:18:35 +08:00
Jocelyn Bohr fe28fb6482 [iot] Update Trusty IPC code to latest
Update to commit bb39a2b12dce8b6c9df9012faf231648de795e6d

List of changes:

bb39a2b ql-tipc: Support ATAP operations from bootloader
62b8d61 ql-tipc: Move serialization code to keymaster_serializable
8283307 avoid dead loop if tipc is closed by peer
cf3f7f5 [ql-tipc] Refactor U-boot rpmb_storage_send
4b1d74d Make logging more readable

Test: build + manual TIPC tests

Change-Id: Ib2c0e7a4a8313b6e62c1fe4f58b923c0c2d3f695
2018-08-20 21:25:42 +08:00
Haoran.Wang 0ccdd527a7 MLK-18591-4 android: iot: Import ql-tipc lib for Trusty OS
The lib provided ql-tipc communication channel with
Trusty OS.
Also the AVB, Keymaster and SecureStorage service
tipc client implement in this lib.

Change-Id: I0ab1ec9ee1b6f272b960c2e944008283c2c9249a
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
(cherry picked from commit 8fb370dd80fbb293b58115d2e7fc4970813773c7)
2018-06-13 03:06:36 -07:00