3 years ago[FOSS_TLK]platform: tegra: use DT to enable rollback
Scott Long [Thu, 4 Dec 2014 18:21:16 +0000]
[FOSS_TLK]platform: tegra: use DT to enable rollback

Bootloader will pass address of the DT to TLK which can
then use it to search for the "rollback-protection"
node to determine if rollback should be enabled or not.

Change-Id: I9b97fbd96168dc46f84778807b00ffae537eb330
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: http://git-master/r/707298
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>

3 years ago[FOSS_TLK]platform: tegra: more fuse handling changes
Scott Long [Wed, 3 Dec 2014 00:32:33 +0000]
[FOSS_TLK]platform: tegra: more fuse handling changes

The new rollback protection scheme no longer requires
TLK to be involved in detecting whether the rollback
key should be programmed so that support can be removed.

Also modified the SS_GET_CONFIG call handling accordingly.

Change-Id: I96891de0c71654fb5812081f25331f7b1d58ff79
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: http://git-master/r/707297
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>

3 years ago[FOSS_TLK]platform: tegra: add libfdt
Scott Long [Wed, 3 Dec 2014 09:11:57 +0000]
[FOSS_TLK]platform: tegra: add libfdt

TLK needs device table access to determine if rollback
protection should be enabled.

This patch brings over the libfdt implementation from
cboot for use in accessing the device tree from within
TLK.

Change-Id: Iba6a4707a72e9302b70ee5b3112b21c33032d7f0
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: http://git-master/r/707296
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>

3 years ago[FOSS_TLK]platform: tegra: cleanup fuse handling
Scott Long [Wed, 19 Nov 2014 23:31:46 +0000]
[FOSS_TLK]platform: tegra: cleanup fuse handling

Move chip-specific details on fuse handling into arch-specific
file (e.g. platform/tegra4/fuse.c).

This code exports interfaces (fuse_read, fuse_make_visible,
fuse_make_invisible) to the common tegra fuse code that hides
details like register offsets/layouts, etc.

Change-Id: I6472861f89a50bee7541395bd1ea048a27c181e3
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: http://git-master/r/707295
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>

3 years ago[FOSS_TLK]platform: tegra: common: add ss get config syscall
Scott Long [Tue, 18 Nov 2014 21:11:28 +0000]
[FOSS_TLK]platform: tegra: common: add ss get config syscall

This change adds a new syscall (OTE_IOCTL_SS_GET_CONFIG) that will
be used by the secure storage TA to retrieve a mask of configuration
options (e.g. rollback protection-related values).

These configuration options are determined by reading various fuse
values using new fuse I/O support.

Change-Id: I4716d2a4472f05b53fb799c5d1c7b6680d752a72
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: http://git-master/r/707294
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>

3 years ago[FOSS_TLK] lib: debug: display buffer overflow prints for release builds
Varun Wadekar [Wed, 12 Nov 2014 09:51:28 +0000]
[FOSS_TLK] lib: debug: display buffer overflow prints for release builds

The buffer overflow prints are a debugging mechanism and hence can
be disabled for RELEASE builds.

Change-Id: If91042a581712a24821ae821ccf1675352f73c73
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/707293
Reviewed-by: Automatic_Commit_Validation_User

4 years agotlk: 10/24 update
Dennis Huang [Fri, 10 Oct 2014 23:37:10 +0000]
tlk: 10/24 update

- Improve resource releasing when unloading tasks.
- Support task update
- pass tsec carveout base/size via argc/argv to hdcp_service
- PSCI support for CPU suspend/on/off
- stage T132 AARCH64 trampoline code
- Fix dependencies
- handle T132 trampoline to AARCH64
- add support for public vs. TA login type
- improve VPR region checking
- enable non-priv access to CNTVCT
- add version support
- Check GPU reset before resizing VPR
- add persistent membuf param support
- align syscalls and TA setup to new libc
- support for new secure storage protocol
- Remove lib/monitor, old arch code, and p/t/monitor
- Build tos.img from external monitor bin/lib
- Split up platform_p.h into extra headers
- fix 64-bit address usage during memmap
- cleanup mem map handling
- Flush the task mem region from cache before starting it.
- Deal with the 8 bit range of context_id value.
- use SMC_TOS_PREEMPT_BY_IRQ for interrupt handling
- use SMC_TOS_PREEMPT_BY_FS for SS
- add tsec service.
- platform: tegra: common: fix timer name

Change-Id: I4791508e1e8b25b5781880acd5cb3e60c0dea2d0
Reviewed-on: http://git-master/r/563017
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dennis Huang <denhuang@nvidia.com>
Tested-by: Dennis Huang <denhuang@nvidia.com>

4 years ago[Docs] Updates TLK FOSS documentation daily-2014.07.14.1_release-tlk daily-2014.07.17.0_release-tlk
Kathy Stone [Mon, 23 Jun 2014 23:32:56 +0000]
[Docs] Updates TLK FOSS documentation

Adds ote_task_load.h to the api reference.

Change-Id: Ib7324abeb826b307fc0a15d78b975d0b850e4943
Reviewed-on: http://git-master/r/427405
Tested-by: Kathy Stone <kstone@nvidia.com>
Reviewed-by: Gail Mead <gmead@nvidia.com>
Reviewed-by: Hadi Nahari <hnahari@nvidia.com>
Tested-by: Hadi Nahari <hnahari@nvidia.com>

4 years agotlk: 6/19 update daily-2014.06.20.0_release-tlk
Dennis Huang [Fri, 20 Jun 2014 00:36:33 +0000]
tlk: 6/19 update

- import clean copy of NetBSD elf.h
- add brk syscall failure debug print
- remove unused makefile variable
- fix return code in get_property ioctl routines
- add task unloading
- enable perf counter access during init
- use dcache flush routine from LK

Change-Id: Iad16fbe37d18200534e0cdc8eb2e73a055a4b3eb
Reviewed-on: http://git-master/r/426320
Reviewed-by: Dennis Huang <denhuang@nvidia.com>
Tested-by: Dennis Huang <denhuang@nvidia.com>

4 years agoTLK: Clean up obsolete files
Dennis Huang [Sat, 14 Jun 2014 01:30:49 +0000]
TLK: Clean up obsolete files

Change-Id: Ife77dcfce4f40d352132ef6c8bbfc8cb37edcb5d
Reviewed-on: http://git-master/r/423455
Reviewed-by: Dennis Huang <denhuang@nvidia.com>
Tested-by: Dennis Huang <denhuang@nvidia.com>

4 years ago[Docs] Adds TLK FOSS documentation
Kathy Stone [Fri, 6 Jun 2014 00:51:28 +0000]
[Docs] Adds TLK FOSS documentation

This documentation is for inclusion in the TLK FOSS release.

Change-Id: Ieb8e88377d874ccfa40fb9dc841ac270abddc409
Reviewed-on: http://git-master/r/419797
Tested-by: Kathy Stone <kstone@nvidia.com>
Reviewed-by: Chris Johnson <cwj@nvidia.com>

4 years agotlk: 5/22 update
Dennis Huang [Thu, 22 May 2014 23:51:17 +0000]
tlk: 5/22 update

- fix race during BSS clear
- storage callback for T132
- add WITH_ARM_PSCI_SUPPORT
- fix reset vector programming during lp0
- support new T132 boot flow
- add basic RPMB support
- add dynamic task loading
- make program VPR a true fastcall

Change-Id: I5249fe2ca6a85d878800100a7cbc1f3d80b09766
Reviewed-on: http://git-master/r/413484
Reviewed-by: Dennis Huang <denhuang@nvidia.com>
Tested-by: Dennis Huang <denhuang@nvidia.com>

5 years agoAdd README file
Dennis Huang [Wed, 23 Apr 2014 21:41:43 +0000]
Add README file

Change-Id: Ia9dde92f9f53d8380b79dfa29b9a3b29c5e3b171
Reviewed-on: http://git-master/r/400529
Reviewed-by: Dennis Huang <denhuang@nvidia.com>
Tested-by: Dennis Huang <denhuang@nvidia.com>

5 years agomakefile change to build standalone binary
Dennis Huang [Wed, 23 Apr 2014 18:19:44 +0000]
makefile change to build standalone binary

- To make the image, e.g.
  TARGET=t124 make -e

Change-Id: Id0feba4bd8b9a6e9f685d4278210872d5cc7baa1
Reviewed-on: http://git-master/r/400526
Reviewed-by: Dennis Huang <denhuang@nvidia.com>
Tested-by: Dennis Huang <denhuang@nvidia.com>

5 years agoFirst version
Dennis Huang [Wed, 23 Apr 2014 02:20:59 +0000]
First version

- from: d6307262d90da371b345c23f2b69c5c40fbc79b4

Change-Id: I276b23eef2e64716eb6c8e2e53e39b6f0ffed2c5
Reviewed-on: http://git-master/r/400525
Reviewed-by: Dennis Huang <denhuang@nvidia.com>
Tested-by: Dennis Huang <denhuang@nvidia.com>

5 years agoInitial empty repository
Varun Colbert [Fri, 18 Apr 2014 05:55:43 +0000]
Initial empty repository