[U-Boot] 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, 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?

Dear eija_flight,
In message 22840615.post@talk.nabble.com you wrote:
During above initialization process of u-boot,
- 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.
- 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

Dear eija_flight,
In message 22840615.post@talk.nabble.com you wrote:
During above initialization process of u-boot,
- 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.
- 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

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
participants (2)
-
eija_flight
-
Wolfgang Denk