This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TCI6638K2K: Linux/TCI6638K2K: disable secure privilege mode in kernel

Part Number: TCI6638K2K

Tool/software: Linux

Hi,

SDK:  ti-processor-sdk-linux-rt-k2hk-evm-04.02.00.09

U-boot: U-Boot 2017.01
Kernel: Linux 4.9.59   

I have to disable secure privilege mode in kernel. I don't want to install skern. Can anyone please let me know how to disable it?

With regards,

Yashavanth

  • Hi,

    You should modify the boot parameters in u-boot. See the include/configs/k2hk_evm.h & include/configs/ti_armv7_keystone2.h files. Trace the name_mon parameter in those files.
    Also check the readme.txt file in board-support/boot-monitor-4.0+gitAUTOINC+e1f885ab6d folder.

    Best Regards,
    Yordan
  • Hi,

    What exactly I need to change in ti_armv7_keystone2.h and k2hk_evm.h files. There is no much information in readme.txt file inside board-support/boot-monitor-4.0+gitAUTOINC+e1f885ab6d/docs/.

    Can you please help me with more details? and also can you please tell what is the effect, if I disable secure boot.

    With regards,
    Yashavanth K S

  • Hi, Yashavanth,

    ARMv7 architecture requires certain configuration be performed in the privilege mode.  Boot monitor does the configuration then switch back to non-secure mode. Could you explain why do you want to disable the secure privilege?

    Rex