[U-Boot] Uboot-standalone-kernel.

Is it possible to load a bare-metal standalone application by using uboot, and let the standalone app load a kernel and FS, could you please propose a hint on how to it?
Many thanks.
-- View this message in context: http://u-boot.10912.n7.nabble.com/Uboot-standalone-kernel-tp180527.html Sent from the U-Boot mailing list archive at Nabble.com.

On Friday, May 23, 2014 at 12:05:02 PM, mazen.e wrote:
Is it possible to load a bare-metal standalone application by using uboot,
Yes
and let the standalone app load a kernel and FS
If you pass control to it, yes.
, could you please propose a hint on how to it?
As you gave no hints on what you're trying to do, what version of U-Boot you're using etc., I can only point you to doc/README.standalone .
Best regards, Marek Vasut

Dear Marek,
Best thanks for your reply.
Please note that I am graduate student part of my thesis involves the development of standalone bare-metal hardware aided mini-hypervisor (on the arndale exynos 5250) featuring resiliency to critical info leakage (e.g. micor-architectural leakage etc..).
For this my initial task is to let uboot set the processor in hyp mode and launch a standalone application (which shall plays the role of the mini-hypervisor), this mini hypervisor executes a bootm-like command to load an os image from the storage. This mini-hypervisor shall configure the guest to trap to it on some few privileged operation (e.g. writing to specific regions of memory)
Another design decision (I am not sure whether it works) is to extend the uboot functionality to handle some exception vector handlers trapped from the guest OS (the number of traps we are interested is very few). This might lead to a type-0 hypervisor however, in such case the design must be GPLed.
Please share your experience, how do you advise me to proceed.
Thank you very much.
-- View this message in context: http://u-boot.10912.n7.nabble.com/Uboot-standalone-kernel-tp180527p180663.ht... Sent from the U-Boot mailing list archive at Nabble.com.
participants (2)
-
Marek Vasut
-
mazen.e