Hyp mode in chromeos-3.8

33 views
Skip to first unread message

newbie_osdev

unread,
May 11, 2013, 11:48:28 PM5/11/13
to chromiu...@chromium.org
Hi,

The u-boot boots kernel in HYP mode ( i think so - uboot log says so as well ) . 
However, kernel dmesg log still says " All processors in SVC mode"

I wonder how to ensure that it is at least non secure SVC and what makes it 
enter SVC from HYP?

Any help will be appreciated
 


Arthy Sundaram

unread,
May 12, 2013, 1:42:07 PM5/12/13
to Ronald Minnich, Chromium OS dev
oops, sorry.
ARM Samsung chromebook - exynos5250-snow

On Sun, May 12, 2013 at 1:38 PM, Ronald Minnich <rmin...@google.com> wrote:
what platform are you talking about here? arm, x86, what chromebook?

ron

Olof Johansson

unread,
May 12, 2013, 10:51:25 PM5/12/13
to newbie_osdev, Chromium OS dev
The u-boot that comes with the Chromebook does not start the processors in HYP mode. Neither does the 3.4 kernel handle entry in HYP mode properly.


-Olof


2013/5/11 newbie_osdev <arthys...@gmail.com>
 


--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
 
 
 

Arthy Sundaram

unread,
May 12, 2013, 10:57:31 PM5/12/13
to Olof Johansson, Chromium OS dev
Hi Olof,

I have modified Alex's u-boot to start Chromebook in HYP mode. I do see hvc calls getting through but when the kernel boots,
the famous "All CPUs in SVC mode" confuses me.

Your help will be much appreciated. I use Chromium 3.8 kernel "uImage" and it does have support of HYP mode isnt it. And it allows kernel 
booted in HYP mode to stay in HYP mode ? 

Olof Johansson

unread,
May 13, 2013, 1:28:50 AM5/13/13
to Arthy Sundaram, Chromium OS dev
2013/5/12 Arthy Sundaram <arthys...@gmail.com>
Hi Olof,

I have modified Alex's u-boot to start Chromebook in HYP mode. I do see hvc calls getting through but when the kernel boots,
the famous "All CPUs in SVC mode" confuses me.

I don't know what u-boot this is. Alexander Graf's? Or someone else?
 
Your help will be much appreciated. I use Chromium 3.8 kernel "uImage" and it does have support of HYP mode isnt it. And it allows kernel 
booted in HYP mode to stay in HYP mode ? 

Yes, 3.8 should handle it fine, minus any bugs in there. Seems suspiciously like the kernel didn't actually enter in hyp mode properly though.


-Olof

Arthy Sundaram

unread,
May 13, 2013, 1:35:54 AM5/13/13
to Olof Johansson, Chromium OS dev
Thank you.

Yes I Alexander Graf's u-boot, took changes for hypmode entry from Arndale and Linaro repo.

How do I verify the seconday cpu's smp kick in address - CONFIG_SYSFLAGS_ADDR for this board?
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages