Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1618175

Re: ktest help

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: ktest help
Date 2017-04-06 18:50 +0200
Message-ID <ttiLD-3md-21@gated-at.bofh.it> (permalink)
References <ttiLD-3md-23@gated-at.bofh.it> <ttiLD-3md-25@gated-at.bofh.it> <ttiLD-3md-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <timur@codeaurora.org> 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: ktest help Steven Rostedt <rostedt@goodmis.org> - 2017-04-06 18:50 +0200
  Re: ktest help Steven Rostedt <rostedt@goodmis.org> - 2017-04-06 19:10 +0200
    Re: ktest help Timur Tabi <timur@codeaurora.org> - 2017-04-06 20:50 +0200
      Re: ktest help Steven Rostedt <rostedt@goodmis.org> - 2017-04-06 21:00 +0200
        Re: ktest help Timur Tabi <timur@codeaurora.org> - 2017-04-06 21:00 +0200
          Re: ktest help Steven Rostedt <rostedt@goodmis.org> - 2017-04-06 21:20 +0200
  Re: ktest help Timur Tabi <timur@codeaurora.org> - 2017-04-06 19:10 +0200

csiph-web