Failure to Compile tee_upgrade.ko When Upgrading the Confidential OS
Symptom
When the confidential OS is being upgraded, tee_upgrade.ko fails to be compiled and an error is reported stating "chip type not set." See the following figure.

Key Process and Cause Analysis
Compiling tee_upgrade depends on the header file and kernel symbol in tzdriver. However, the header file path of tzdriver may not be correctly configured.