1. OPTEE Log
1) 5가지의 Log 가 존재
TEE Core (OPTEE OS) : CFG_TEE_CORE_LOG_LEVEL
TA(Trusted Application) : CFG_TEE_TA_LOG_LEVEL
Client : CFG_TEE_CLIENT_LOG_LEVEL
Supplicant : CFG_TEE_SUPP_LOG_LEVEL
ARM-TF(Trusted Firmware) : LOG_LEVEL
2) 각 레벨은 다음과 같이 구분 (ARM-TF 제외)
0 : None
1 : Error
2 : Error + Warning
3 : Error + Warning + Debug
4 : Error + Warning + Debug + Flow
ARM-TF : 10 ~ 50(10 단위, ERROR, NOTICE, WARINING, INFO, VERBOSE)
2. 설정 우선 순위 (ARM-TF 제외)
1. Make arguments ('make CFG_FOO=bar...')
2. The file specified by $(CFG_OPTEE_CONFIG) (if defined)
3. The environment ('CFG_FOO=bar make...')
4. The platform-specific configuration file: core/arch/arm32/plat-*/conf.mk
5. <optee-project>/optee_os/mk/config.mk
6. Subsystem-specific makefiles (*/sub.mk)
3. Make argument 제외한 실제 수정 위치
1) CFG_TEE_CORE_LOG_LEVEL : <optee-project>/build/common.mk
- Makefile에서 최초로 참조
2) CFG_TEE_TA_LOG_LEVEL : <optee-project>/optee_os/mk/config.mk
3) CFG_TEE_CLIENT_LOG_LEVEL, CFG_TEE_SUPP_LOG_LEVEL : <optee-project>/optee_client/config.mk
4) ARM-TF Log level :
(1) <optee-project>/build/Makefile
(2) <optee-project>/arm-trusted-firmware/plat/rpi3/platform.mk => RPI3_RUNTIME_UART를 -1이 아닌 값으로 변경.
# UART to use at runtime. -1 means the runtime UART is disabled.
# Any other value means the default UART will be used.
RPI3_RUNTIME_UART := -1
'OPTEE with Rasberry Pi 3B' 카테고리의 다른 글
ARM Trusted Firmware-A (0) | 2019.10.10 |
---|---|
SMC Call Sequence (0) | 2019.09.30 |
NFS boot (0) | 2019.09.17 |
Rasberry Pi 3B vs 3B+ (0) | 2019.09.04 |
OP-TEE Build for Rasberry Pi 3B (0) | 2019.09.03 |