Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755281AbdDFQtZ (ORCPT ); Thu, 6 Apr 2017 12:49:25 -0400 Received: from mail.kernel.org ([198.145.29.136]:38650 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933955AbdDFQtG (ORCPT ); Thu, 6 Apr 2017 12:49:06 -0400 Date: Thu, 6 Apr 2017 12:49:01 -0400 From: Steven Rostedt To: Timur Tabi Cc: "John 'Warthog9' Hawley" , LKML Subject: Re: ktest help Message-ID: <20170406124901.0e5efe12@gandalf.local.home> In-Reply-To: References: <20170405215350.0c43734c@grimm.local.home> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1381 Lines: 38 I added LKML (others may want to know this too), and John, who's going to help me maintain ktest. On Thu, 6 Apr 2017 11:34:45 -0500 Timur Tabi wrote: > On 04/05/2017 08:53 PM, Steven Rostedt wrote: > >> > Why is it prompting me for the MACHINE when I've specified it in the > >> > ktest.conf file? > > My answer is above. If you have other questions, feel free to ask. > > Thank you, that fixed it. I will submit a patch that adds a note so that no > one else makes that mistake. > > Do you have any more sample kconf files? I'm trying to get ktest to work I have lots of kconf files. ktest is basically the only way I build my kernels now :-) > with my environment. The way I boot my target is, after it's powered on, > the system PXE boots a Grub. From that screen, I press 'c' to get the > command line, where I enter a command prompt and then type in "boot". Like > this: > > grub> linux AUSB33_SDP_Linux/Image.q rootwait rw ip=dhcp root=/dev/sda2 > rootfstype=ext4 panic=1 acpi.debug_level=2 > earlycon=pl011,0xff78ed1000,qdf2400_e44 > grub> boot > > This tftp's the kernel image (Image.q) and then boots. I'm having > difficulty figuring out how to implement that in ktest. > Can you make a script do this? If so, then you can simply tell ktest to call that script. See the options SWITCH_TO_TEST and SWITCH_TO_GOOD. -- Steve