summaryrefslogtreecommitdiffstats
path: root/post
Commit message (Collapse)AuthorAgeFilesLines
* FPU POST: fix warnings when building with 2.18 binutilsYuri Tikhonov2009-01-249-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When compile u-boot with the 2.18 binutils the following warning messages for each object file in post/lib_ppc/fpu/ is produced at the linking stage: post/libpost.a(acc1.o) uses hard float, u-boot uses soft-float ... This is because of the fact that, in general, the soft-float and hard-float ABIs are incompatible; the 2.18 binutils do checking of the Tag_GNU_Power_ABI_FP attribute of the files to be linked, and produce the worning like above if these are not compatible. The incompatibility of ABIs is concerned only the float values: e.g. the soft-float ABI assumes the float argument passing in the pair of rX registers, and the hard-float ABI assumes passing of the float argument in the fX register. When we don't pass the float arguments between the functions compiled with different floatness, then such an application will work correctly. This is the case for the FPU POST: u-boot (compiled with soft-float) doesn't pass to (and doesn't get from) the FPU POST functions any floats; there are no functions exported from the post/lib_ppc/fpu/ objects which would work with float parameters/returns too. So, we can reassure the linker not to worry about the difference in ABI attributes of linking files just by setting the 'soft-float' attribute for the objects in post/lib_ppc/fpu. And this patch does this. Also, to avoid passing both soft- and hard-float options in CFLAGS when compiling the files from post/lib_ppc/fpu (which is OK, but looks rather dirty) this patch removes the soft-float string from CFLAGS in post/lib_ppc/fpu/Makefile. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* post/Makefile: fix dependency problem with parallel buildsWolfgang Denk2008-12-161-2/+2
| | | | | | | | | | | | | Parallel builds (using "make -jN") would occasionally fail with error messages like ppc_4xxFP-objdump: string.o: File format not recognized or post/libpost.a(cpu.o): In function `cpu_post_test': /home/wd/git/u-boot/work/post/lib_ppc/cpu.c:130: undefined reference to `cpu_post_test_string' or similar. We now make sure to run the 'postdeps" step before attempting to build the specific POST libraries. Signed-off-by: Wolfgang Denk <wd@denx.de>
* POST Make: fix the sub-dir dependencies missing.Yuri Tikhonov2008-12-151-1/+6
| | | | Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-1858-213/+213
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix merge problemsStefan Roese2008-08-0610-0/+38
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* Configure DSP POST; add watchdog reset to diag commandSascha Laue2008-06-292-1/+2
| | | | Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2008-06-111-5/+5
|\
| * ppc4xx: Fix misspelled CONFIG_440SPE/440EPX/GRX config optionsStefan Roese2008-06-061-5/+5
| | | | | | | | | | | | | | | | We use upper case letters for the AMCC processor defines (like CONFIG_440SPE) in U-Boot. So the 440SPe is labeled CONFIG_440SPE and not CONFIG_440SPe. This patch fixes the last misspelled config options. Signed-off-by: Stefan Roese <sr@denx.de>
* | lwmon5: add memory-pattern-test to FPGA POST.Sascha Laue2008-06-031-0/+50
|/
* Merge branch 'lwmon5' of /home/wd/git/u-boot/projectsWolfgang Denk2008-05-214-3/+119
|\
| * POST: mark OCM test as POST_STOPYuri Tikhonov2008-05-201-1/+1
| | | | | | | | Signed-off-by: Ilya Yanok <yanok@emcraft.com>
| * POST: add POST_STOP flagYuri Tikhonov2008-05-201-2/+15
| | | | | | | | | | | | | | | | Don't run futher tests in case of a test fails that is marked as POST_STOP. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
| * POST: OCM test added.Yuri Tikhonov2008-05-203-0/+103
| | | | | | | | | | | | | | | | 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>
* | Big white-space cleanup.Wolfgang Denk2008-05-2114-147/+147
|/ | | | | | | | | | | This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
* post/cpu/ppc4xx/Makefile: line length cleanupWolfgang Denk2008-05-101-1/+7
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Prepare for v1.3.3-rc3Wolfgang Denk2008-05-041-1/+1
| | | | | | Update ChNAGELOG, minor white space cleanup. Signed-off-by: Wolfgang Denk <wd@denx.de>
* lwmon5: fix offset error in sysmon0 POSTSascha Laue2008-04-301-4/+4
| | | | | Signed-off-by: Sascha Laue <sascha.laue@liebherr.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
* lwmon5: fix manual merge error in POSTSascha Laue2008-04-301-2/+2
| | | | Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
* post/board/lwmon5/sysmon.c: fix manual merge error.Wolfgang Denk2008-04-291-5/+3
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* POST: fix Makefiles for mpc8xx, lwmon, and netta POSTs.Yuri Tikhonov2008-04-293-6/+7
| | | | Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* lwmon5: update dsPIC POST spezificationSascha Laue2008-04-281-14/+43
| | | | | | | The specification for the lwmon5 board dsPIC POST got changed. Also add defines for the temperatures and voltages. Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
* Fix watchdog POST for lwmon5Sascha Laue2008-04-281-2/+3
| | | | | | | | If the hardware watchdog detects a voltage error, the watchdog sets GPIO62 to low. The watchdog POST has to detect this low level. Signed-off-by: Sascha Laue <leglas0@legpc180.leg.liebherr.i> Signed-off-by: Wolfgang Denk <wd@denx.de>
* post: Fix building with O=Kumar Gala2008-04-283-5/+5
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* post/Makefile: make sure to use the correct flagsWolfgang Denk2008-04-261-0/+1
| | | | | | | ARFLAGS was not set, which caused "ppc_8xx-ar: creating libgenpost.a" messages to be printed. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Coding Style cleanup, update CHANGELOGWolfgang Denk2008-04-261-15/+13
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of /home/wd/git/u-boot/lwmon5Wolfgang Denk2008-04-2565-264/+110
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: common/cmd_bootm.c common/cmd_log.c include/common.h post/board/lwmon5/Makefile post/board/lwmon5/dsp.c post/board/lwmon5/dspic.c post/board/lwmon5/fpga.c post/board/lwmon5/gdc.c post/board/lwmon5/sysmon.c post/board/lwmon5/watchdog.c Signed-off-by: Wolfgang Denk <wd@denx.de>
| * POST: move CONFIG_POST to MakefilesYuri Tikhonov2008-04-227-20/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | Introduce the new logical option CONFIG_HAS_POST which is set when the platform has CONFIG_POST set. Use CONFIG_HAS_POST in the post/ Makefiles to determine should the POST libs be compiled for the selected target platform, or not. To avoid breaking u-boot linking process, the empty post/libpost.a file is created for platforms which do not have POSTs. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
| * POST: preparations for moving CONFIG_POST to MakefilesYuri Tikhonov2008-04-2258-182/+2
| | | | | | | | | | | | | | 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>
| * lwmon5: Fix register test logic to match the specific GDC h/w.Yuri Tikhonov2008-03-181-6/+12
| | | | | | | | | | Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
| * Fix backlight in the lwmon5 POST.Yuri Tikhonov2008-03-182-35/+8
| | | | | | | | | | | | | | Backlight was switcehd on even when temperature was too low. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
| * Some fixes to dspic, fpga, and gdc post tests for lwmon5.Yuri Tikhonov2008-03-183-2/+6
| | | | | | | | | | | | | | Disable external watch-dog for now. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
| * The patch introduces the CRITICAL feature of POST tests. If the testYuri Tikhonov2008-03-181-3/+15
| | | | | | | | | | | | | | | | | | marked as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
| * The patch adds new POST tests for the Lwmon5 board.Yuri Tikhonov2008-03-188-0/+816
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fix watchdog POST for lwmon5Sascha Laue2008-04-131-1/+1
| | | | | | | | | | | | | | If the hardware watchdog detects a voltage error, the watchdog sets GPIO62 to low. The watchdog POST has to detect this low level. Signed-off-by: Sascha Laue <leglas0@legpc180.leg.liebherr.i>
* | Coding Style cleanyp; update CHANGELOGWolfgang Denk2008-03-261-6/+6
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | lwmon5 SYSMON POST: fix handling of negative temperaturesYuri Tikhonov2008-03-252-24/+36
| | | | | | | | | | | | Fix errors in the LWMON5 Sysmon POST for negative temperatures. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | Merge branch 'master' of /home/wd/git/u-boot/workWolfgang Denk2008-03-221-1/+2
|\ \
| * | LWMON5: fix dsPIC POSTYuri Tikhonov2008-03-221-1/+2
| | | | | | | | | | | | | | | | | | Add test for DPIC_SYS_ERROR_REG to be zero in the LWMON5 dsPIC POST. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> ---
* | | lwmon5 POST: remove unreachable codeWolfgang Denk2008-03-201-19/+24
|/ / | | | | | | | | | | plus some coding style cleanup Signed-off-by: Wolfgang Denk <wd@denx.de>
* | LWMON5: POST RTC fixYuri Tikhonov2008-03-201-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify the RTC API to provide one a status for the time reported by the rtc_get() function: 0 - a reliable time is guaranteed, < 0 - a reliable time isn't guaranteed (power fault, clock issues, and so on). The RTC chip drivers are responsible for providing this info if the corresponding chip supports such functionality. If not - always report that the time is reliable. The POST RTC test was modified to detect the RTC faults utilizing this new rtc_get() feature. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | lwmon5: Fix register test logic to match the specific GDC h/w.Yuri Tikhonov2008-03-181-6/+12
| | | | | | | | | | Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | Fix backlight in the lwmon5 POST.Yuri Tikhonov2008-03-182-35/+8
| | | | | | | | | | | | | | Backlight was switched on even when temperature was too low. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | Some fixes to dspic, fpga, and gdc post tests for lwmon5. Disable external ↵Yuri Tikhonov2008-03-183-2/+6
| | | | | | | | | | | | | | watch-dog for now. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | The patch introduces the CRITICAL feature of POST tests. If the test marked ↵Yuri Tikhonov2008-03-181-3/+15
| | | | | | | | | | | | | | as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | The patch adds new POST tests for the Lwmon5 board. These are:Yuri Tikhonov2008-03-188-0/+811
| | | | | | | | | | | | | | | | | | | | | | * 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>
* ppc4xx: program_tlb now uses 64bit physical addessStefan Roese2008-03-151-2/+0
| | | | | | | | This patch changes the physical addess parameter from 32bit to 64bit. This is needed for 36bit 4xx platforms to access areas located beyond the 4GB border, like SoC peripherals (EBC etc.). Signed-off-by: Stefan Roese <sr@denx.de>
* Fix warnings while compilation of post/drivers/memory.cAnatolij Gustschin2008-03-021-3/+3
| | | | | | Fix warnings while compilation with new gcc in eldk-4.2 Signed-off-by: Anatolij Gustschin <agust@denx.de>
OpenPOWER on IntegriCloud