[U-Boot] KVM on ARM Chromebook

Hello all,
Since there was much interest, as of late, to see KVM/ARM running on Samsung's Exynos5250 Chromebook, and given the fact that we are not aware of any current work done on this, we take the opportunity to inform you that you can test KVM on the ARM Chromebook by following this guide: http://www.virtualopensystems.com/media/chromebook/chromebook.pdf
The method used to boot a kernel in HYP mode is with a chained u-boot, while the laptop is in developer mode. Parts of the work are based on v3 of Andre Pryzawa's "Add HYP mode switching support" patch series.
Source code for a working u-boot for this purpose can be also found at: https://github.com/virtualopensystems/u-boot
Please let us know of any comments.
Best regards.

On 2013-07-30 18:07, Alexander Spyridakis wrote:
Hi Alexander,
Since there was much interest, as of late, to see KVM/ARM running on Samsung's Exynos5250 Chromebook, and given the fact that we are not aware of any current work done on this, we take the opportunity to inform you that you can test KVM on the ARM Chromebook by following this guide: http://www.virtualopensystems.com/media/chromebook/chromebook.pdf
The method used to boot a kernel in HYP mode is with a chained u-boot, while the laptop is in developer mode. Parts of the work are based on v3 of Andre Pryzawa's "Add HYP mode switching support" patch series.
Source code for a working u-boot for this purpose can be also found at: https://github.com/virtualopensystems/u-boot
Please let us know of any comments.
Thanks for putting this together. One remark though:
I don't see any code in u-boot to handle errata specific to the A15 revision used by the Exynos5250. The original Chromebook kernel takes care of this (it runs in secure mode), but as you're running your kernel in non-secure mode, you need to have these errata applied on each core before switching to non-secure mode.
I believe Alex Graf (CC-ed) did this some time ago for Arndale.
Cheers,
M.

On 31 July 2013 09:27, Marc Zyngier marc.zyngier@arm.com wrote:
Thanks for putting this together. One remark though:
I don't see any code in u-boot to handle errata specific to the A15 revision used by the Exynos5250. The original Chromebook kernel takes care of this (it runs in secure mode), but as you're running your kernel in non-secure mode, you need to have these errata applied on each core before switching to non-secure mode.
Hello Marc,
Thanks for the heads-up. We will have a look and update u-boot accordingly.
Best regards.
participants (2)
-
Alexander Spyridakis
-
Marc Zyngier