From: Ian Jackson Subject: Re: [PATCH osstest 00/10] Add initial support for testing arm32 on arm servers (Calxeda Midway) Date: Fri, 6 Sep 2013 17:13:58 +0100 Message-ID: <21033.65350.761307.516321@mariner.uk.xensource.com> References: <1378313870.17510.172.camel@kazak.uk.xensource.com> <1378480352.14745.137.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1378480352.14745.137.camel@kazak.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 Campbell Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH osstest 00/10] Add initial support for testing arm32 on arm servers (Calxeda Midway)"): > I've ended up with a bunch of Wheezy related fixes in here too, all > mixed in I'm afraid... Excellent, thanks. Here's my review notes, from irc. Ian. 16:25 ijc: Thanks :-). 16:25 I'll read them and maybe throw them in. 16:25 throw them in> Depends if I get a push of my switch to 3.4.y 16:28 Thanks. I'm not totally convinced by the parameteriztion of the consoles and stuff, if you have any better ideas please let me know. 16:29 It looks OK to me. 16:29 You mean the ttyS0 thing 16:30 yeah 16:30 if you are fine with it then great ;-) 16:31 That uboot thing ("New host flag need-uboot-bootstr") is a bit full of magic, but it's ARM magic so I'll just take it I think. 16:31 Does the d-i pkgsel/include thing work on x86 ? 16:32 it'll eventually need teaching about different arm and uboot platforms. I think it'll do for now though 16:32 Or I guess, I mean, if u-boot-tools does not exist (which maybe it doesn't on x86 squeeze) 16:32 I thought it did, but I may be thinking of Wheezy 16:32 there was a second transitional/dummy package now I think about it 16:33 "make an armhf flight" should be called "make some armhf jobs" but no matter. 16:33 ijc: Hmm. You might want to test that before I merge it and complain. 16:33 it was called uboot-envtools in Squeeze 16:34 So what happens if you mention an unknown package there ? 16:34 I have no idea... I'll need to dig out an x86 box to test on I guess 16:34 Or I could just make it conditiona; 16:34 Well, you could wait until I complain. Right. 16:35 "PDU: support for xenuse controlled machines" has a mysterious ipmitool rune in it which surely doesn't belong. 16:35 oh, oops, that's peculiar to this machine 16:35 which seems to have a oneshot pxe thing in its firmware.... 16:35 Right 16:35 I think if "xenuse --on" doesn't work that means xenuse needs to do the weird rune. 16:36 xenuse --on would work though, just the system will boot from hdd not pXE 16:36 I have a feeling this is a firmware bug -- the docs suggest the pxe thing should be permanent... 16:36 "TestSupport: Massage host props with space in them" can you turn them to _ ? Because I think we currently distinguish "-"-aka-"StudlyCaps" from " " 16:37 AH, I used - precisely so it would get further munged into StudlyCps for consistency -- you don't want that? 16:38 Some existing property names are of the form "some-words other-words" 16:38 - binds more tightly, in other words. 16:39 ok 16:39 "ts-xen-install: wheezy has libyajl2 not 1" <- Does this work ? Because qw() doesn't do $-interpolation. 16:40 It succeeds but yajl isn't installed, I guess because the shell hid the $yajl... 16:40 For all these -- do you prefer I rebase or incrementally fgix? 16:41 You might as well incrementally fix, esp. since you seem already to have merged. 16:42 I can rebase -i -p if you prefer. 16:42 Nah. 16:42 Might as well have the history as you wrote it. 16:42 I don't think we need to stand on a nice tidy history in osstest 16:43 "ts-xen-build: allow per-host CONFIG_EARLY_PRINTK" definitely wrong 16:43 This should be done on the kernel command line. 16:43 Or maybe arch-specific. 16:43 You mustn't make the results of the build depend on the build host like that. Builds can get reused. 16:44 kernel command line> Which I think there should already be a host property to add to. If not there should be one created. 16:46 "$xenkopt" and "$kopt" in the bootloader setup code 16:47 CONFIG_EARLY_PRINTK is a compile time option I'm afraid. It's debug=y onlkly 16:47 * Diziet gets to the end. 16:47 How unpleasant. 16:47 As I said in the comment, this is only really useful for standalone builds 16:47 Surely even standalone things can build here and test there ? 16:48 only really useful for standalone builds ... if you know what you are doing 16:48 I don't hitnk it is technically possible to make our earlyprintk more flexible, it is used from before we have anything like an FDT parser avaiable, from the early asm code 16:49 How annoying. 16:49 That's before the command line is read ? 16:49 Can it be binary-edited into the kernel image ? 16:49 A la that rootdev utility or whatever it used to be called. 16:51 no, it defines asm macros which are inlined into the head.S code. We can just revert that patch for oSStest, it was just conveinent for me locally 16:52 (it's start of day code which needs to be PIC and often has no stack) 16:52 I guess we can leave it in, but can you put a comment near the call to get_host_property warning about not setting it ?