[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/arm: build as zImage
At 16:14 +0000 on 23 Nov (1353687242), Stefano Stabellini wrote: > On Fri, 23 Nov 2012, Ian Campbell wrote: > > If that doesn't work then this constant is actually in > > xen/arch/arm/Makefile too and for the same reason: > > # XXX: VE model loads by VMA so instead of > > # making a proper ELF we link with LMA == VMA and adjust crudely > > $(OBJCOPY) --change-addresses +0x80000000 $< $@ > > $(STRIP) $@ > > > > How about making this CONFIG_PHYSICAL_LOCAL_ADDR and plumbing through > > like we do with CONFIG_DTB_FILE? Good idea. In fact it already exists, as CONFIG_LOAD_ADDRESS in config/arm.mk, and should probably be used here, with a bit of $(()) magic to get the right offset. > Yeah, I was thinking about that. > However in this case we would want to set the default somewhere, rather > than forcing the user to specify it. > Also we would need to export CONFIG_PHYSICAL_LOCAL_ADDR to a generated > header file somewhere. Do you have any suggestions on where? We could pass it with -D when we're processing head.S, as we already do for xen.lds.S. (Though the XEN_PHYS_START name (un)used in xen.lds.S should probably also be XEN_LOAD_ADDRESS). Tim. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |