U-boot initialization test
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, TSEC1During 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?
Signature · 2 lines
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.
Dear eija_flight,
Quoted 4 lines · In message <[email protected]> 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.
Quoted 1 line
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
Signature · 6 lines
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
Quoted 15 lines
Dear
eija_flight,In message <[email protected]> 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.
Quoted 7 lines
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
Signature · 2 lines
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.
Dear eija_flight,
Quoted 4 lines · In message <[email protected]> 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
Signature · 6 lines
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