public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Device chaining, anyone interested?
Date: 21 Aug 2003 17:36:40 +0200	[thread overview]
Message-ID: <87n0e3aupj.fsf@deepthought.outer.space.org> (raw)
In-Reply-To: <FD2AC9A020DDD51194710008C7089B200BEE22F3@dlee17.itg.ti.com>

Hello Richard,

> I looked at the POST code and it seemed "so" PPC centric that I was thinking
> it would be faster to make a parallel type directory.  I had written a bunch
> of tests for another compiler/loader and am starting to port them over.
> 
> Actually, I was considering using the new "standalone" code model as a way
> to call the tests.  This way they could be more decoupled from the actually
> u-boot code itself.

Yes, the POST code _is_ PPC centric due to the customer who wanted
it.  It would _still_ be nice to make an effort and integrate new CPUs
into this framework pointing out the weaknesses in the current
framework so it will be easier to merge in more arch specific stuff
later on.

It seems like a waste to me to write e.g. RAM tests for every arch
when the code _already_ in the POST is a very thorough test which
should be usable by other architectures as well.  I am sure that if
the POST framework was made ready for other architectures, everyone
will win in the end.

Note that there is already the concept of "slow" and "fast" POST tests
meant for daily usage aiming at fast boot speeds and trouble-shooting
usage for thorough testing of the hardware.  Concepts like this are
sure to crop up for every CPU so why not solve them in a common way?

> The device chaining seems to be working for us, it pretty much
> implements a list of devices which are called in order with heads
> being stdin/out/error.  The person who did the work this week did
> seem to indicate that the deregister stuff that was there wasn't
> done very well.

I guess this is because there are no real users of the de-registering
code.  To borrow an often read statement from Wolfgang:

FFTSAP (Feel Free To Submit A Patch) ;)

Cheers
  Detlev

-- 
You live and learn

  reply	other threads:[~2003-08-21 15:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-21 15:11 [U-Boot-Users] Device chaining, anyone interested? Woodruff, Richard
2003-08-21 15:36 ` Detlev Zundel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-08-20 21:20 Woodruff, Richard
2003-08-21 15:01 ` Detlev Zundel

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=87n0e3aupj.fsf@deepthought.outer.space.org \
    --to=dzu@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox