mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-02 01:20:09 +00:00
arm-autonomy/xen-devictree: Update dom0_mem default inline with best practices
Updated default value for XEN_DEVICETREE_DOM0_MEM from "1024M" to "1024M,max:1024" to match best practice for dom0_mem command line argument. Documentation also updated to refer to new default value Issue-Id: SCM-2037 Signed-off-by: Nathan Dunne <Nathan.Dunne@arm.com> Change-Id: Ifa7e78bf22b024cb7fe4b782f628860ff44860ad Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -70,9 +70,10 @@ The following parameters are available:
|
|||||||
This variable is only used if XEN_DEVICETREE_XEN_BOOTARGS has a value
|
This variable is only used if XEN_DEVICETREE_XEN_BOOTARGS has a value
|
||||||
containing "dom0_mem=${XEN_DEVICETREE_DOM0_MEM}" as the memory assigned to
|
containing "dom0_mem=${XEN_DEVICETREE_DOM0_MEM}" as the memory assigned to
|
||||||
dom0 is defined using Xen boot arguments.
|
dom0 is defined using Xen boot arguments.
|
||||||
This variable is set by default to "1024M", and cannot be empty.
|
This variable is set by default to "1024M,max:1024", and cannot be empty.
|
||||||
The value can also be of the form "1024M,max:1024M", as documented here:
|
The value can simply specify a size, e.g. "1024M", but best practice is to
|
||||||
https://wiki.xenproject.org/wiki/Do%EF%BB%BFm0_Memory_%E2%80%94_Where_It_Has_Not_Gone
|
also provide a max, documented here:
|
||||||
|
https://wiki.xenproject.org/wiki/Xen_Project_Best_Practices
|
||||||
|
|
||||||
- XEN_DEVICETREE_DOM0_BOOTARGS: Boot arguments to pass to Dom0 Linux when
|
- XEN_DEVICETREE_DOM0_BOOTARGS: Boot arguments to pass to Dom0 Linux when
|
||||||
booting it.
|
booting it.
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ DESCRIPTION = "Add entries in DTB for Xen and Dom0"
|
|||||||
XEN_DEVICETREE_DEPEND_append = " virtual/kernel:do_deploy"
|
XEN_DEVICETREE_DEPEND_append = " virtual/kernel:do_deploy"
|
||||||
XEN_DEVICETREE_DTBS ?= "${KERNEL_DEVICETREE}"
|
XEN_DEVICETREE_DTBS ?= "${KERNEL_DEVICETREE}"
|
||||||
XEN_DEVICETREE_XEN_BOOTARGS ?= "noreboot dom0_mem=${XEN_DEVICETREE_DOM0_MEM}"
|
XEN_DEVICETREE_XEN_BOOTARGS ?= "noreboot dom0_mem=${XEN_DEVICETREE_DOM0_MEM}"
|
||||||
XEN_DEVICETREE_DOM0_MEM ?= "1024M"
|
XEN_DEVICETREE_DOM0_MEM ?= "1024M,max:1024M"
|
||||||
XEN_DEVICETREE_DOM0_BOOTARGS ?= "console=hvc0 earlycon=xen"
|
XEN_DEVICETREE_DOM0_BOOTARGS ?= "console=hvc0 earlycon=xen"
|
||||||
XEN_DEVICETREE_DOM0_ADDR ?= "0x80080000"
|
XEN_DEVICETREE_DOM0_ADDR ?= "0x80080000"
|
||||||
XEN_DEVICETREE_DOM0_SIZE ?= "0x01000000"
|
XEN_DEVICETREE_DOM0_SIZE ?= "0x01000000"
|
||||||
|
|||||||
Reference in New Issue
Block a user