|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] ARM: parse separate DT properties for different commandlines
On 07/10/2013 01:48 PM, Julien Grall wrote: On 3 June 2013 14:43, Andre Przywara <andre.przywara@xxxxxxxxxxx> wrote:Currently we use the chosen/bootargs property as the Xen commandline and rely on xen,dom0-bootargs for Dom0. However this brings issues with bootloaders, which usually build bootargs by bootscripts for a Linux kernel - and not for the entirely different Xen hypervisor. Introduce a new possible device tree property "xen,xen-bootargs" explicitly for the Xen hypervisor and make the selection of which to use more fine grained: - If xen,xen-bootargs is present, it will be used for Xen. - If xen,dom0-bootargs is present, it will be used for Dom0. - If xen,xen-bootargs is _not_ present, but xen,dom0-bootargs is, bootargs will be used for Xen. Like the current situation. - If no Xen specific properties are present, bootargs is for Dom0. - If xen,xen-bootargs is present, but xen,dom0-bootargs is missing, bootargs will be used for Dom0. The aim is to allow common bootscripts to boot both Xen and native Linux with the same device tree blob. If needed, one could hard-code the Xen commandline into the DTB, leaving bootargs for Dom0 to be set by the (non Xen-aware) bootloader. I also have a simple patch for u-boot to transfer the content of the "xen_bootargs" environment variable into the xen,xen-bootargs dtb property. I will post the u-boot patch to their ML later. Changes from v1: - fix whitespace issuesAny news about this patch ? :) Sorry for the lag ;-)
I'd say that is intended. I think those command lines directly under /chosen should have the highest priority. If someone has /chosen/xen,dom0-bootargs, that should be used instead of a most likely hard-coded value under modules. I have incorporated your previous comments and will send out a new version ASAP. Regards, Andre. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |