Device tree

From Xen
Jump to navigationJump to search

Specifications

Xen Specific Requirements

Note: These are subject to change.

bootargs for dom0

The bootargs string for dom0 shall be provided as the xen,dom0-bootargs parameter in the /chosen node.

When preparing the device tree for dom0, Xen will set bootargs to the xen,dom0-bootargs value in the original device tree.

Example:

/ {
    [...]

    chosen {
        bootargs =  "console=serial0 dom0_mem=128M";
        xen,dom0-bootargs = "console=ttyAMA1 root=/dev/mmcblk0";
    }

    [...]
}