On 2017-02-10 17:48, [email protected] wrote:
> From: Andreas Kölbl <[email protected]>
> 
> Add documentation for configuration switches (debugging options
> or platform selectors).
> 
> Signed-off-by: Andreas Kölbl <[email protected]>
> ---
>  Documentation/hypervisor-configuration.txt | 64 
> ++++++++++++++++++++++++++++++
>  1 file changed, 64 insertions(+)
>  create mode 100644 Documentation/hypervisor-configuration.txt
> 
> diff --git a/Documentation/hypervisor-configuration.txt 
> b/Documentation/hypervisor-configuration.txt
> new file mode 100644
> index 00000000..95bccfbb
> --- /dev/null
> +++ b/Documentation/hypervisor-configuration.txt
> @@ -0,0 +1,64 @@
> +Hypervisor Configuration
> +========================
> +
> +Jailhouse supports various static compile-time configuration
> +parameters, such as platform specific settings and debugging options.
> +Those settings can optionally be defined in
> +'hypervisor/include/jailhouse/config.h'.
> +
> +Platform independent debugging options
> +--------------------------------------
> +
> +General configuration parameters
> +/* Print some Jailhouse errors to debug output */

"Print error sources with file and line number to debug console"

> +#define CONFIG_TRACE_ERROR
> +/*
> + * Set the cell's instruction pointer to 0 if it crashes. Linux inmates will
> + * dump a stack trace in this case.

"Set instruction pointer to 0 if cell CPU has caused an access
violation. Linux inmates will..."

> + */
> +#define CONFIG_CRASH_CELL_ON_PANIC
> +
> +Platform specific configuration options
> +---------------------------------------
> +
> +### ARM
> +
> +/* BananaPi M1 */
> +#define CONFIG_MACH_BANANAPI
> +#define CONFIG_ARM_GIC_V2
> +
> +/* Nvidia Jetson TK1 */
> +#define CONFIG_MACH_JETSON_TK1
> +#define CONFIG_ARM_GIC_V2
> +
> +/* Xunlong Orange Pi Zero, 256 MiB */
> +#define CONFIG_MACH_ORANGEPI0
> +#define CONFIG_ARM_GIC_V2
> +
> +/* ARM Versatile Express development board */

...or Fast Model

> +#define CONFIG_MACH_VEXPRESS
> +/* VExpress supports both, GICv2 and GICv3 */

At least the Fast Model does.

> +#define CONFIG_ARM_GIC_V2
> +/* #define CONFIG_ARM_GIC_V3 */
> +
> +### ARM64
> +
> +/* Nvidia Jetson TX1 */
> +#define CONFIG_MACH_JETSON_TX1
> +#define CONFIG_ARM_GIC_V2
> +
> +/* Xilinx Zynq UltraScale+ MPSoC ZCU102 */
> +#define CONFIG_MACH_ZYNQMP_ZCU102
> +#define CONFIG_ARM_GIC_V2
> +
> +/* HiKey LeMaker 2 GiB */
> +#define CONFIG_MACH_HIKEY
> +#define CONFIG_ARM_GIC_V2
> +
> +/* ARMv8 Foundation Model */
> +#define CONFIG_MACH_FOUNDATION_V8
> +#define CONFIG_ARM_GIC_V2
> +
> +/* AMDs ARM-Opteron A1100 */
> +#define CONFIG_MACH_AMD_SEATTLE
> +#define CONFIG_ARM_GIC_V2
> 

Looks good otherwise, thanks for reviving this!

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to