Skip to content

Diag log - #46

Draft
pawarai123 wants to merge 4 commits into
qualcomm-linux:qcom-nextfrom
pawarai123:diag-log
Draft

Diag log#46
pawarai123 wants to merge 4 commits into
qualcomm-linux:qcom-nextfrom
pawarai123:diag-log

Conversation

@pawarai123

Copy link
Copy Markdown
Contributor

No description provided.

Shikra is a Qualcomm IoT chipset in the Bruin architecture family,
featuring a quad-core Cortex-A55 CPU and a GICv3 interrupt controller.

Testing:

Tested optee boot-up on Shikra board.

Reviewed-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
Tested-by: Harshal Dev <harshal.dev@oss.qualcomm.com>

Change-Id: Ic9663b32e84c46f6295fee53aabec988ac9f2127
Signed-off-by: Pawan Rai <pawarai@qti.qualcomm.com>
Add the platform configuration required by the diagnostic ring buffer
on the Wildcat architecture, including the buffer layout shared by all
Wildcat targets and the IMEM base and size for Nord.

Default CFG_QCOM_DIAG_LOG to CFG_TEE_CORE_DEBUG so that the buffer
is enabled on debug builds.

Change-Id: I227b39adb70ac099e3b7f642768a1e36579235be
Signed-off-by: Pawan Rai <pawarai@qti.qualcomm.com>
Cacao already carries IMEM_BASE and IMEM_SIZE in its target_config.h,
and the Wildcat arch_config.h now defines the shared buffer layout
(IMEM_DIAG_OFFSET, DIAG_SIZE, DIAG_BASE, DIAG_LOG_START_INFO).

Default CFG_QCOM_DIAG_LOG to CFG_TEE_CORE_DEBUG so that the buffer
is enabled on debug builds.

Change-Id: I09d38a4bd15f873a0fa611c81e6d47c0d668be69
Signed-off-by: Pawan Rai <pawarai@qti.qualcomm.com>
Shikra already carries IMEM_BASE and IMEM_SIZE in its target_config.h.
Add the shared buffer layout macros (IMEM_DIAG_OFFSET, DIAG_SIZE,
DIAG_BASE, DIAG_LOG_START_INFO) to the Bruin arch_config.h, and
default CFG_QCOM_DIAG_LOG to CFG_TEE_CORE_DEBUG so the buffer is
enabled on debug builds.

Change-Id: I62c18bfa00208e302b7a43a0fcd08c3416bf79ad
Signed-off-by: Pawan Rai <pawarai@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant