Linux running in Normal World

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

pbugalski
Posts: 15
Joined: Thu Nov 29, 2018 4:28 pm

Linux running in Normal World

Tue Apr 23, 2019 3:48 pm

Hi,

While looking into at91bootstrap I've found CONFIG_ENTER_NWD option, which is described as "Enable Enter the Normal World before Jumping". Do I need dedicated kernel configuration to use Linux in normal world?

Best Regards,
Piotr
blue_z
Location: USA
Posts: 1976
Joined: Thu Apr 19, 2007 10:15 pm

Re: Linux running in Normal World

Wed Apr 24, 2019 1:28 am

pbugalski wrote: Do I need dedicated kernel configuration to use Linux in normal world?
No.
The opposite of Normal World (I'm guessing) is Secure Boot mode.
If you're not using Secure Boot, then the SoC always executes in Normal World (i.e. non-secured mode).

Regards
pbugalski
Posts: 15
Joined: Thu Nov 29, 2018 4:28 pm

Re: Linux running in Normal World

Wed Apr 24, 2019 8:12 am

Hi blue_z,

Thank you for the answer.

Opposite to normal world is secure world so proper name is non-secure world, but it doesn't fit well customer expectations. Secure boot is totally different story and you are perfectly, right that it doesn't need dedicated drivers.
Secure world is part of TrustZone (https://developer.arm.com/ip-products/s ... /trustzone) provided by ARM, this mode is used after reset. When CONFIG_ENTER_NWD is set bootloader still runs in secure world, but before entering the kernel it switch to non-secure world so Linux works in fact in that mode.
In at91bootstrap I've found monitor implementation which provides some functionality for normal world however I can't find drivers using that hence was my question.

Best Regards,
Piotr

Return to “LINUX”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests