Thanks Stefan. I did try Norman's suggestion of turning of the MMU after turning it on, nothing printed on the console.
Thanks for your help I'll keep digging though the system control settings to see what I can find.
Bob
Sent with AquaMail for Android http://www.aqua-mail.com
On November 19, 2013 4:40:20 AM Stefan Kalkowski <stefan.kalkowski@...1...> wrote:
Hi Bob,
On 11/18/2013 11:20 PM, bob wrote:
I haven't heard back from the TI E2E group, but if the kernel was not in
the Secure state it would not be able to read the Scr register because it has restricted access. Thanks to Christian reading what I should have read, the kernel is starting in user mode. Do I have to generate some kind of excpetion in order to change the mode to a privileged one? How would I go about getting into a correct mode?
Thanks for all the time you guys have spent responding to me.
I'm afraid, you misunderstood Christian's mail. He just stated, that the kernel starts in non-secure mode. It is most likely in supervisor mode, and not in user mode ;-)
So I assume the whole TrustZone discussion leads to a dead end. Everything is correct if you just set SECURITY_EXTENSION back to zero. If set to one, the kernel assumes to run in secure mode on top of a TrustZone supported CPU, which obviously isn't the case regarding your board. In general, setting the SECURITY_EXTENSION to zero is the safe path even if your platform is starting in secure mode. This flag should be switched on only, if the base-hw kernel acts as a TrustZone hypervisor.
I strongly advise you to follow Norman's second proposal to first check whether you've a working UART. First, I would print something before the MMU is enabled, just to ensure you've the right physical addresses used to initialize the UART driver. If that works, follow Norman's approach to enable, and immediately disable the MMU again, and then print something. Just to see, whether the MMU, and the kernel's page-table are really the problem.
Regards Stefan
-- Stefan Kalkowski Genode Labs
http://www.genode-labs.com/ ยท http://genode.org/
Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main