|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/4] Xen: Support adding DT nodes
Hi Andre, On 20/06/16 16:09, Andre Przywara wrote: From: Christoffer Dall <christoffer.dall@xxxxxxxxxx> Support adding xen,xen-bootargs node via --with-xen-bootargs to the configure script and automatically add the Dom0 node to the DT as well. Signed-off-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx> --- Makefile.am | 34 +++++++++++++++++++++------------- configure.ac | 9 +++++++++ 2 files changed, 30 insertions(+), 13 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1a801c0..d83b417 100644 --- a/Makefile.am +++ b/Makefile.am @@ -93,24 +93,32 @@ FILESYSTEM_END := $(shell echo $$(($(FILESYSTEM_START) + $(FILESYSTEM_SIZE)))) FDT_OFFSET := 0x08000000 +if XEN +XEN := -DXEN=$(XEN_IMAGE) +XEN_OFFSET := 0x08200000 +KERNEL_SIZE := $(shell stat -Lc %s $(KERNEL_IMAGE) 2>/dev/null || echo 0) +DOM0_OFFSET := $(shell echo $$(($(PHYS_OFFSET) + $(KERNEL_OFFSET)))) +XEN_BOOTARGS := xen,xen-bootargs = \"$(BOOTARGS)\"; \ I would prefer BOOTARGS with XEN_ to avoid confusion. This code was added in the previous patch. Can you add the code in the correct place directly in patch #1? I would name the option xen-cmdline to stay inline with the kernel one. Same suggestion here "Xen command line". +fi echo "" Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |