* [U-Boot] U-boot initialization test
@ 2009-04-02 4:20 eija_flight
2009-04-02 6:57 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: eija_flight @ 2009-04-02 4:20 UTC (permalink / raw)
To: u-boot
Hello,
Below is my board initialization process :
U-Boot 1.3.1 (Nov 27 2008 - 08:30:43) MPC83XX
Reset Status: Software Hard, External/Internal Soft, External/Internal Hard
CPU: e300c1, MPC8349E, Rev: 31 at 528 MHz, CSB: 264 MHz
Board: MPX8349GC
PCI1: 32 bit, 33 MHz
SRAM: 1 MB
I2C: ready
DRAM: 512 MB (DDR2, 64-bit, ECC on)
FLASH: 16 MB
PCI: Bus Dev VenId DevId Class Int
00 0f 10cf 202b 0380 00
In: serial
Out: serial
Err: serial
Net: TSEC0, TSEC1
During above initialization process of u-boot,
1. Does it conduct a test to all board hardware listed?
2. If above answer is yes, what method is used to do the test?
--
View this message in context: http://www.nabble.com/U-boot-initialization-test-tp22840615p22840615.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] U-boot initialization test
2009-04-02 4:20 [U-Boot] U-boot initialization test eija_flight
@ 2009-04-02 6:57 ` Wolfgang Denk
2009-04-02 8:37 ` eija_flight
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2009-04-02 6:57 UTC (permalink / raw)
To: u-boot
Dear eija_flight,
In message <22840615.post@talk.nabble.com> you wrote:
>
> During above initialization process of u-boot,
>
> 1. Does it conduct a test to all board hardware listed?
No. In general, there is no testing performed. Minor exceptions from
this rule exist, for example the RAM auto-sizing code also performas a
minimal non-destructive memory test, but this is not strong enough to
be called serious testing.
If you need real Power-On Self Tests (POST), then you must enable
POST in your board configuration and configure it according to your
needs.
> 2. If above answer is yes, what method is used to do the test?
If you need such tests, then use the code in post/, see doc/README.POST
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"In the face of entropy and nothingness, you kind of have to pretend
it's not there if you want to keep writing good code."
- Karl Lehenbauer
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] U-boot initialization test
2009-04-02 6:57 ` Wolfgang Denk
@ 2009-04-02 8:37 ` eija_flight
2009-04-02 11:32 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: eija_flight @ 2009-04-02 8:37 UTC (permalink / raw)
To: u-boot
>Dear eija_flight,
>In message <22840615.post@talk.nabble.com> you wrote:
>
> During above initialization process of u-boot,
>
> 1. Does it conduct a test to all board hardware listed?
>No. In general, there is no testing performed. Minor exceptions from
>this rule exist, for example the RAM auto-sizing code also performas a
>minimal non-destructive memory test, but this is not strong enough to
>be called serious testing.
>If you need real Power-On Self Tests (POST), then you must enable
>POST in your board configuration and configure it according to your
>needs.
> 2. If above answer is yes, what method is used to do the test?
>If you need such tests, then use the code in post/, see doc/README.POST
I've read through the README.post, and I can see that there's many
implemented test feature built in U-boot. I find it very useful.
Using U-boot 1.3.1 version, It is possible (as a user) to apply all of
these test feature into a standalone applications?
because I need to log the result using standalone app.
Regards,
Eija_flight
--
View this message in context: http://www.nabble.com/U-boot-initialization-test-tp22840615p22843365.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] U-boot initialization test
2009-04-02 8:37 ` eija_flight
@ 2009-04-02 11:32 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2009-04-02 11:32 UTC (permalink / raw)
To: u-boot
Dear eija_flight,
In message <22843365.post@talk.nabble.com> you wrote:
>
> Using U-boot 1.3.1 version, It is possible (as a user) to apply all of
> these test feature into a standalone applications?
> because I need to log the result using standalone app.
U-Boot 1.3.1 is very old and basicly unsupported here. Please use
current code.
POST results get logged in the log buffer (of course you need log
buffer support). You probably can extend the standalone application
interface to access the log buffer, but I'm not sure if this makes
sense. Why not just using the existing U-Boot facilities? Or pass the
log buffer to Linux (see shared log buffer feature in Linux) and
process it therer using standard syslog technology?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The fundamental principle of science, the definition almost, is
this: the sole test of the validity of any idea is experiment."
- Richard P. Feynman
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-02 11:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-02 4:20 [U-Boot] U-boot initialization test eija_flight
2009-04-02 6:57 ` Wolfgang Denk
2009-04-02 8:37 ` eija_flight
2009-04-02 11:32 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox