All of lore.kernel.org
 help / color / mirror / Atom feed
From: julien.grall@arm.com (Julien Grall)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] Support for building in a Xen binary
Date: Tue, 12 Jul 2016 11:40:28 +0100	[thread overview]
Message-ID: <5784C91C.30709@arm.com> (raw)
In-Reply-To: <20160620150934.1729-2-andre.przywara@arm.com>

Hi Andre,

On 20/06/16 16:09, Andre Przywara wrote:
> diff --git a/Makefile.am b/Makefile.am
> index 692d2cc..1a801c0 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -85,7 +85,6 @@ TEXT_LIMIT	:= 0x80080000
>   endif
>
>   LD_SCRIPT	:= model.lds.S
> -IMAGE		:= linux-system.axf
>
>   FS_OFFSET	:= 0x10000000
>   FILESYSTEM_START:= $(shell echo $$(($(PHYS_OFFSET) + $(FS_OFFSET))))
> @@ -108,6 +107,11 @@ CHOSEN_NODE	:= chosen {						\
>   		   };
>   endif
>
> +if XEN
> +XEN		:= -DXEN=$(XEN_IMAGE)
> +XEN_OFFSET	:= 0x08200000
> +endif
> +
>   CPPFLAGS	+= $(INITRD_FLAGS)
>   CFLAGS		+= -Iinclude/ -I$(ARCH_SRC)/include/
>   CFLAGS		+= -Wall -fomit-frame-pointer
> @@ -117,11 +121,11 @@ LDFLAGS		+= --gc-sections
>   OFILES		+= boot_common.o bakery_lock.o platform.o $(GIC) cache.o lib.o
>   OFILES		+= $(addprefix $(ARCH_SRC),boot.o stack.o $(BOOTMETHOD) utils.o)
>
> -all: $(IMAGE)
> +all: $(IMAGE) $(XIMAGE)

I cannot find where XIMAGE is set. What XIMAGE is used for?

Regards,

-- 
Julien Grall

WARNING: multiple messages have this Message-ID (diff)
From: Julien Grall <julien.grall@arm.com>
To: Andre Przywara <andre.przywara@arm.com>,
	Mark Rutland <mark.rutland@arm.com>
Cc: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>,
	xen-devel@lists.xenproject.org,
	linux-arm-kernel@lists.infradead.org,
	Christoffer Dall <christoffer.dall@linaro.org>,
	Ian Campbell <ijc@hellion.org.uk>
Subject: Re: [PATCH 1/4] Support for building in a Xen binary
Date: Tue, 12 Jul 2016 11:40:28 +0100	[thread overview]
Message-ID: <5784C91C.30709@arm.com> (raw)
In-Reply-To: <20160620150934.1729-2-andre.przywara@arm.com>

Hi Andre,

On 20/06/16 16:09, Andre Przywara wrote:
> diff --git a/Makefile.am b/Makefile.am
> index 692d2cc..1a801c0 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -85,7 +85,6 @@ TEXT_LIMIT	:= 0x80080000
>   endif
>
>   LD_SCRIPT	:= model.lds.S
> -IMAGE		:= linux-system.axf
>
>   FS_OFFSET	:= 0x10000000
>   FILESYSTEM_START:= $(shell echo $$(($(PHYS_OFFSET) + $(FS_OFFSET))))
> @@ -108,6 +107,11 @@ CHOSEN_NODE	:= chosen {						\
>   		   };
>   endif
>
> +if XEN
> +XEN		:= -DXEN=$(XEN_IMAGE)
> +XEN_OFFSET	:= 0x08200000
> +endif
> +
>   CPPFLAGS	+= $(INITRD_FLAGS)
>   CFLAGS		+= -Iinclude/ -I$(ARCH_SRC)/include/
>   CFLAGS		+= -Wall -fomit-frame-pointer
> @@ -117,11 +121,11 @@ LDFLAGS		+= --gc-sections
>   OFILES		+= boot_common.o bakery_lock.o platform.o $(GIC) cache.o lib.o
>   OFILES		+= $(addprefix $(ARCH_SRC),boot.o stack.o $(BOOTMETHOD) utils.o)
>
> -all: $(IMAGE)
> +all: $(IMAGE) $(XIMAGE)

I cannot find where XIMAGE is set. What XIMAGE is used for?

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2016-07-12 10:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 15:09 [PATCH 0/4] boot-wrapper: arm64: Xen support Andre Przywara
2016-06-20 15:09 ` [PATCH 1/4] Support for building in a Xen binary Andre Przywara
2016-06-20 15:09   ` Andre Przywara
2016-07-12 10:40   ` Julien Grall [this message]
2016-07-12 10:40     ` Julien Grall
2016-07-15 10:12     ` Christoffer Dall
2016-07-15 10:12       ` Christoffer Dall
2016-06-20 15:09 ` [PATCH 2/4] Xen: Support adding DT nodes Andre Przywara
2016-06-20 15:09   ` Andre Przywara
2016-07-12 10:48   ` Julien Grall
2016-07-12 10:48   ` Julien Grall
2016-06-20 15:09 ` [PATCH 3/4] Xen: Select correct dom0 console Andre Przywara
2016-06-20 15:09   ` Andre Przywara
2016-07-12 10:49   ` Julien Grall
2016-07-12 10:49   ` Julien Grall
2016-06-20 15:09 ` [PATCH 4/4] Explicitly clean linux-system.axf and xen-system.axf Andre Przywara
2016-06-20 15:09   ` Andre Przywara
2016-07-12 10:58   ` Julien Grall
2016-07-12 10:58   ` Julien Grall
2016-07-12 10:31 ` [PATCH 0/4] boot-wrapper: arm64: Xen support Julien Grall
2016-07-12 10:31 ` Julien Grall
2016-08-16 18:01 ` Julien Grall
2016-08-16 18:01 ` Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5784C91C.30709@arm.com \
    --to=julien.grall@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.