All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Zaidman <michael.zaidman@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] POST related question
Date: Wed, 10 Feb 2010 16:33:14 +0200	[thread overview]
Message-ID: <660c0f821002100633p25db73aaybd3aa42fca94f4e1@mail.gmail.com> (raw)
In-Reply-To: <20100210132826.3221C4C04E@gemini.denx.de>

On Wed, Feb 10, 2010 at 3:28 PM, Wolfgang Denk <wd@denx.de> wrote:
> Dear Michael Zaidman,
>
> In message <660c0f821002100159i1a956edfx1c76945042f51954@mail.gmail.com>
you wrote:
>>
SGVsbG8sCgpXb3JraW5nIG9uIHRoZSBQT1NUIGZvciBvdXIgYm9hcmQgKHdoaWNoIEkgYW0gZ29p
...
>
> Please do not send base 64 encoded messages.
>
> Please do not send HTML messages.
>
> Please send plain text only.
>
> Message unreadable, ignored. Sorry.
>
>

Ok, sorry, I re-post my question again.

Hello,

Working on the POST for our board (which I am going to submit
to the u-boot in the near future) I was asked to output the POST tests
sequence progress to the dedicated LEDs (current test?s index and
test?s result ? PASS or FAIL) in addition to the conventional console
output. Such indication can be helpful at the customer premises when
console is not available as well as at the production testing/diagnostics
to understand which POST test has failed while serial console does not
show signs of life.
In order to fulfill this requirement I see two possibilities:

1) Common infrastructure change - add pre-test and after test callbacks
 to the post_test structure in the tests.c file. Call these callbacks
 before and after each POST test in the post_run_single routine of post.c
file.

2) Local, board specific change ? duplicate all necessary POST tests into
specific board folder and add output to LEDs interface into every
xxxx_post_test routine.

Please advise.

Thanks,
Michael

  parent reply	other threads:[~2010-02-10 14:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10  9:59 [U-Boot] POST related question Michael Zaidman
     [not found] ` <20100210132826.3221C4C04E@gemini.denx.de>
2010-02-10 14:33   ` Michael Zaidman [this message]
2010-02-10 14:36     ` Michael Zaidman
2010-02-10 15:54       ` Detlev Zundel
2010-02-11  8:53         ` Michael Zaidman
2010-02-11  9:49           ` Detlev Zundel
2010-02-11 10:29             ` Michael Zaidman
2010-02-11 11:43               ` Detlev Zundel
2010-02-11 12:49                 ` Michael Zaidman

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=660c0f821002100633p25db73aaybd3aa42fca94f4e1@mail.gmail.com \
    --to=michael.zaidman@gmail.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.