summaryrefslogtreecommitdiffstats
path: root/post/tests.c
Commit message (Collapse)AuthorAgeFilesLines
* POST: add new memory regions testValentin Longchamp2011-10-051-0/+13
| | | | | | | | | | | | | | | This test is similar to the actual POST memory test but quicker and far less complete. It checks the address and data lines and then only tests some regularly placed sub regions of the RAM. This can be useful when we want to test the RAM but we do not have enough time to run the full memory test. The POST memory test code was rearranged in order to avoid code duplication between the two tests but the memory test functionnality remains the same. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Ackey-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: post: generalize led/button tests with GPIOsMike Frysinger2011-09-291-0/+2
| | | | | | Make it easy for any Blackfin board to enable led/push button tests. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* post: new nor flash testMike Frysinger2011-07-261-1/+14
| | | | | | | | This adds a simple flash test to automatically verify erasing, writing, and reading of sectors. The code is based on existing Blackfin tests but generalized for everyone to use. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* post: use ARRAY_SIZEMike Frysinger2011-07-261-1/+1
| | | | | | | We've got a handy dandy macro already for calculating the number of elements in an array, so use it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ppc4xx/POST: Add board specific UART POST test to lwmon5Stefan Roese2010-10-201-0/+4
| | | | | | | | | Add CONFIG_POST_UART to implement a board specific UART POST test. This is done since lwmon5 needs to set POST_ALWAYS to run this test on each reboot. And we don't want to change the default behavious of this this. Signed-off-by: Stefan Roese <sr@denx.de>
* mpc5121: pdm360ng: add coprocessor POSTAnatolij Gustschin2010-04-241-0/+13
| | | | | | Adds coprocessor communication POST code Signed-off-by: Anatolij Gustschin <agust@denx.de>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-181-40/+40
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Configure DSP POST; add watchdog reset to diag commandSascha Laue2008-06-291-1/+1
| | | | Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
* POST: mark OCM test as POST_STOPYuri Tikhonov2008-05-201-1/+1
| | | | Signed-off-by: Ilya Yanok <yanok@emcraft.com>
* POST: OCM test added.Yuri Tikhonov2008-05-201-0/+13
| | | | | | | | Added OCM test to POST layer. This version runs before all other tests but doesn't yet interrupt post sequence on failure. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* POST: typo fixYuri Tikhonov2008-05-201-1/+1
| | | | Signed-off-by: Ilya Yanok <yanok@emcraft.com>
* POST: preparations for moving CONFIG_POST to MakefilesYuri Tikhonov2008-04-221-4/+0
| | | | | | | Remove CONFIG_POST ifdefs from the post/ source files. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
* The patch adds new POST tests for the Lwmon5 board.Yuri Tikhonov2008-03-181-0/+26
| | | | | | | | | | | | | These are: * External Watchdog test; * dsPIC tests; * FPGA test; * GDC test; * Sysmon tests. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* Enable CODEC POST with CFG_POST_CODEC rather than with CFG_POST_DSP.Yuri Tikhonov2008-03-181-1/+1
| | | | Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
* Add attribute POST_PREREL to ECC memory POSTLarry Johnson2008-02-071-2/+2
| | | | Signed-off-by: Larry Johnson <lrj@acm.org>
* POST: Execute SPR test after relocationStefan Roese2008-01-091-1/+1
| | | | | | | | | | On LWMON5 we now use d-cache as init-ram and stack. The SPR POST test uses self modifying code and this doesn't work with stack in d-cache, since I can't move the code from d-cache to i-cache. We move the SPR test to be executed a little later, after relocation. Then stack is located in SDRAM and this self-modifying code is no problem anymore. Signed-off-by: Stefan Roese <sr@denx.de>
* POST: Add ECC POST for the lwmon5 boardPavel Kolesnikov2007-07-201-0/+13
| | | | | | | | | This patch adds ECC Post test for the Lwmon5 board based on PPC440EPx to U-Boot. Signed-off-by: Pavel Kolesnikov <concord@emcraft.com> Acked-by: Yuri Tikhonov <yur@emcraft.com> Acked-by: Stefan Roese <sr@denx.de>
* Extend POST support for PPC440Igor Lisitsin2007-06-221-0/+14
| | | | | | | Added memory, CPU, UART, I2C and SPR POST tests for PPC440. Signed-off-by: Igor Lisitsin <igor@emcraft.com> --
* Patch by Pantelis Antoniou, 5 May 2004:wdenk2004-06-071-0/+13
| | | | | - Intracom board update. - Add Codec POST.
* * Patches by Pantelis Antoniou, 30 Mar 2004:wdenk2004-04-151-0/+13
| | | | | | | - add support for the Epson 156x series of graphical displays (These displays are serial and not suitable for using a normal framebuffer console on them) - add infrastructure needed in order to POST any DSPs in a board
* * Patches by Yuli Barcohen, 13 Jul 2003:wdenk2003-07-141-4/+4
| | | | | | | | | | | | | | | | | | - Correct flash and JFFS2 support for MPC8260ADS - fix PVR values and clock generation for PowerQUICC II family (8270/8275/8280) * Patch by Bernhard Kuhn, 08 Jul 2003: - add support for M68K targets * Patch by Ken Chou, 3 Jul: - Fix PCI config table for A3000 - Fix iobase for natsemi.c (PCI_BASE_ADDRESS_0 is the IO base register for DP83815) * Allow to enable "slow" POST routines by key press on power-on * Fix temperature dependend switching of LCD backlight on LWMON * Tweak output format for LWMON
* * Code cleanup:wdenk2003-06-271-85/+85
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
* * LWMON extensions:wdenk2003-04-271-0/+40
| | | | | | | | | | | - Splashscreen support - modem support - sysmon support - temperature dependend enabling of LCD * Allow booting from old "PPCBoot" disk partitions * Add support for TQM8255 Board / MPC8255 CPU
* * Improve log buffer code; use "loglevel" to decide which messageswdenk2002-12-081-13/+28
| | | | to log on the console, too (like in Linux); get rid of "logstart"
* Initial revisionwdenk2002-10-071-0/+148
OpenPOWER on IntegriCloud