batty — Hardware unit test tool for ABLE.
batty
[--nomem] [--nonet] [--nocore] [--novideo] [--noadc] [--nocpld] [--noextserloop] [--noserial] [-s, --sbqs] [-i indent
] [--help] [--version]
--nomem
Do not perform the memory tests.
--nonet
Do not perform networking device tests.
--nocore
Do not perform core system tests.
--novideo
Do not test video devices.
--noadc
Do not test the ADCs.
--nocpld
Do not test the core system logic.
--noextserloop
Do not test the serial external loopback.
--noserial
Do not test serial devices.
-i
Adjust the indentation level when operating in human readable mode.
-s, --sbqs
Enable SBQS formatting mode.
--help
Show basic help message and exit.
--version
Show batty version and exit.
Batty is an ABLE tool which performs hardware unit tests. It runs on all platforms. The number and nature of its tests vary between platforms depending on factors such as availability of hardware and features preset. To be used effectively batty must be run on ABLE versions later than 2.05.
The latest version is usually available either from the ABLE support page or the specific board support page on the Simtec Electronics website.
Example 19.10. Starting batty from the command line
A typical execution of batty on an EB2410ITX. On this particular platform a fairly small number of tests are performed, specifically a series of memory tests and a verification that the ABLE stored in flash is viable. The DONE line shows the number of tests attempted and the number passed along with any warnings.
>batty Simtec Board Test Tool, Version 1.00 Copyright 2005-2009 Simtec Electronics BAST (EB2410ITX) Test Suite Testing S3C24XX CPU Core CPU ID 32410002, OK [S3C2410A] Testing S3C24XX 4kB internal SRAM block Pattern: all ones Pattern: all zeros Pattern: alternate zero/ones (LSB set) Pattern: alternate zero/ones (LSB unset) Writing address to each location Testing system RAM [0x00400000..0x07a00000] Pattern: all ones Pattern: all zeros Pattern: alternate zero/ones (LSB set) Pattern: alternate zero/ones (LSB unset) Writing address to each location Testing ABLE CRC CRC OK Testing ABLE version information Version 252 Release 2009012101 Supported machine number 3 Supported machine number 6 Supported machine number 9 Supported machine number 11 Testing CPLD registers CPLD ID register (value 00) OK Hardware voltage monitoring Vcore is 1.959V (raw 608) [] Testing NE2000 MAC Address 00:11:ac:00:01:6a Testing Davicom DM9000 ID 0a46, 9000 rev 01 MAC Address 00:01:3d:00:01:6a Verifying packet RAM. Checking with zeroes Checking with ones Checking with alternation (lsb=0) Checking with alternation (lsb=1) Checking with addresses Checking with zeroes once more (to clear packet ram) Testing 16550 style UART Testing UART presence Testing internal loopback Testing external loopback External serial loopback test disabled. Assuming success. Testing 16550 style UART Testing UART presence Testing internal loopback Testing external loopback External serial loopback test disabled. Assuming success. Checking that all 16550s are unique (2) UART blocks are unique DONE: 27 tests, 27 ok, 0 failed, 0 warnings PASSED: all tests OK >