============================================ Linux-ready firmware developer kit: HOWTO RUN STANDALONE ============================================ CONTENTS --------- 1. Run _all_ tests on your running Linux distro 2. Compile and run individual tests on your running Linux distro ------------------------------------------------- 1. Run _all_ tests on your running Linux distro ------------------------------------------------- - # cd linuxfirmwarekit/ - # make - This will create the binary: 'biostest' - # ./biostest - This will run all the tests in the plugins/ directory on your running Linux distro. - The ending results will reside in results/ ----------------------------------------------------------------- 2. Compile and run individual tests on your running Linux distro ----------------------------------------------------------------- - Each test is contained in its own dir (e.g. battery/ cpufreq/ fan/, etc.) - Either run 'make' in root dir to compile all tests, or cd into the individual's test dir and run 'make' - The resulting binaries will be copied into the plugins/ dir - Execute .exe, .sh or .pl. Preface with DEBUG=1 to output readable (non-hex) output of tests. e.g. # DEBUG=1 ./fan.exe - ( note, make sure you can link with linuxfirmwarekit/libstandalone.so ) - ( note, for shelltests, make sure that linuxfirmwarekit/shelltools is in your $PATH ) * Root user note: Running with 'root' privileges needed when performing some plugin tests. * Proxy note: make sure your proxy is set correctly for wget commands (set variables http_proxy, ftp_proxy, etc.) Contributer: Rolla Selbak (rolla.n.selbak@intel.com)