From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH OSSTEST v4 07/13] Osstest/Debian: Remove hardcoded addresses from boot.scr Date: Wed, 21 Jan 2015 12:25:14 +0000 Message-ID: <1421843114.13271.24.camel@citrix.com> References: <1421839070.4899.8.camel@citrix.com> <1421839094-10857-7-git-send-email-ian.campbell@citrix.com> <21695.38123.570902.609821@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21695.38123.570902.609821@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-01-21 at 12:00 +0000, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST v4 07/13] Osstest/Debian: Remove hardcoded addresses from boot.scr"): > > Those are specific to the midway platform. > > > > This depends on a change to the hostdb to add "0x01000000" as the > > value of a new UBootSetXenAddrR property of the midway machines. > > > > Most platforms will need something similar. For both cubietruck and > > arndale 0x41000000. > > Acked-by: Ian Jackson > > (I expect you agree with me that the fact we can't get this > information some other way is a defect elsewhere, but this is a fine > workaround.) Yeah, all the other similar envvars are part of the board configuration in the u-boot source. We could start trying to upstream a patch for each platform to define an address for Xen, but I don't know how well it would go down, or we could try and (ab)use e.g. $script_addr. For now I prefer to just add it to the hostdb and the relevant wiki page for the platform. Ian.