All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: use invd instead of wbinvd in real mode start code
Date: Tue, 18 Feb 2020 09:43:33 -0500	[thread overview]
Message-ID: <20200218144333.GQ18302@bill-the-cat> (raw)
In-Reply-To: <CAHp75VfQVCLp1QmbXwxbYibQHh98wXcm+QN1X0+_Bhxw2kPwFA@mail.gmail.com>

On Tue, Feb 18, 2020 at 01:29:04PM +0200, Andy Shevchenko wrote:
> On Tue, Feb 18, 2020 at 1:06 PM Heiko Schocher <hs@denx.de> wrote:
> > Am 18.02.2020 um 11:45 schrieb Andy Shevchenko:
> > > On Tue, Feb 18, 2020 at 7:48 AM Heiko Schocher <hs@denx.de> wrote:
> 
> ...
> 
> > > How the feed back line is organized? I mean how host system will know that
> > >   a) we done flash correctly?
> > >   b) the booted image is bad or good?
> >
> > For both questions the answer is, that you need to write a testcase
> > which answer this question.
> >
> > For a) you flash the image in some way through U-Boot commands. You
> > start this commands from a tbot testcase written in python and parse
> > the output and/or return code of the command and than decide ...
> >
> > Same for b) reboot the board, check if new version is installed
> > by parsing the U-Boot bootlog, than start U-Boot commands to find
> > out, if current installed version is good or bad.
> 
> Thank you for elaboration.
> I hoped and still hope that x86 won't be broken so drastically that I
> need real bisection.
> Above mentioned test cases is somewhat time consuming (yes, I agree
> that is ~one time big effort), and for now it seems much bigger effort
> than just guess by reading the code. Maybe in the future I'll consider
> to do something like this, but I think that U-Boot may gain some
> patches and config option to have BAT cases enabled (like predefined
> output on the serial when we consider commit is good and some C&C
> interface during the test).

Please note that you don't need to go and write a test case for "does it
boot" as we already have one as part of our test/py/ code.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200218/88787d5b/attachment.sig>

  reply	other threads:[~2020-02-18 14:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAHp75VdtevMO=AWeZZ-kfmo0Dx5RrGBZEW8Mm5ubLU2pm3Nh=g@mail.gmail.com>
2020-02-17 12:31 ` Fwd: use invd instead of wbinvd in real mode start code Andy Shevchenko
2020-02-17 12:33   ` Andy Shevchenko
     [not found] ` <CAK7LNASQuuEWCypyK+TDYa1eYk__KKRZ1Z8JgsEbhd+4KNFNjw@mail.gmail.com>
     [not found]   ` <CAHp75Veri=85osuFy0xDukEKN9zAULJpk+1sTdHynTL_deK=0Q@mail.gmail.com>
2020-02-17 13:47     ` Andy Shevchenko
2020-02-17 13:52       ` Bin Meng
2020-02-17 14:00         ` Andy Shevchenko
2020-02-17 14:49           ` Bin Meng
2020-02-17 15:31             ` Andy Shevchenko
2020-02-17 15:09       ` Wolfgang Denk
2020-02-17 15:13         ` Tom Rini
2020-02-17 15:32         ` Andy Shevchenko
2020-02-17 15:33           ` Andy Shevchenko
2020-02-17 16:02             ` Tom Rini
2020-02-17 16:04           ` Wolfgang Denk
2020-02-18  5:48             ` Heiko Schocher
2020-02-18 10:45               ` Andy Shevchenko
2020-02-18 11:06                 ` Heiko Schocher
2020-02-18 11:29                   ` Andy Shevchenko
2020-02-18 14:43                     ` Tom Rini [this message]
2020-02-18 15:37                       ` Andy Shevchenko
2020-02-19 13:14                   ` Wolfgang Denk
2020-02-19 13:42                     ` Tom Rini
2020-02-19 14:04                       ` Heiko Schocher
2020-02-17 16:05           ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200218144333.GQ18302@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.