Commit Graph

11326 Commits

Author SHA1 Message Date
Joel Sherrill
600bd1bb59 PR 2011/networking GRETH: Moved print to remove potential deadlock
Deadlock may arise when the EDCL bug link is used to tunnel
console output over Ethernet, when Ethernet is down one should
avoid using console (only during debugging of LEON targets)

Author: Marko Isomaki <marko@gaisler.com>
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 13:05:24 -06:00
Daniel Hellstrom
2b2e409d8d LEON3: change d-cache snoop detect implementation
PR 2010/bsps

The previous code only checked if d-cache snooping was implemented,
however snooping may be available but not enabled which may lead
to driver bugs.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 12:08:15 -06:00
Joel Sherrill
735b0ca5f4 White space correction. 2012-02-02 11:00:49 -06:00
Daniel Hellstrom
54a169db92 LEON3: CPU index intialization moved to bspstart.c
PR 2009/bsps

All LEON3/4 systems have a CPU-id, if on a single-CPU system the
ID is always zero. On a multicore system it ranges from 0 to 15.

The CPU index should always by updated even in a non-MP RTEMS OS
since the CPU running RTEMS may not always be CPU0. For example
when RTEMS runs on CPU1 and Linux on CPU0 in a mixed ASMP system.

The old code executed within the IRQ controller initialization code
makes no sense since the ASR register is a CPU register, it has
nothing to do with AMBA initialization either.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 10:55:06 -06:00
Daniel Hellstrom
6d79be5112 LEON3: fix compiler warning in SHM driver
PR 2008/bsps

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 10:33:41 -06:00
Daniel Hellstrom
2a68f53afa LEON3BSP MP: may wake one more CPU than expected
The SHM code always wakes one CPU more that configured, however
this has never been a problem since RTEMS will be running on all CPUs
or only two cores were available.

PR 2006/bsps

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 10:15:50 -06:00
Joel Sherrill
184a612ebe Merge remote branch 'remotes/origin/gitignore' 2012-02-02 08:17:25 -06:00
Joel Sherrill
52694844ce Improve comments on console select patch. 2012-02-01 15:03:18 -06:00
Joel Sherrill
d1887bafc0 Improve comments on console select patch. 2012-02-01 15:02:03 -06:00
Jennifer Averett
441b90e6c9 Correct run-time selection of console port.
This was broken by conversion of console driver to libchip style.
2012-02-01 14:32:28 -06:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Joel Sherrill
34ce24e222 Add minimal .gitignore files. 2012-02-01 10:49:55 -06:00
Joel Sherrill
41572c40c3 Fix spelling error and improve comment. 2012-01-31 15:15:20 -06:00
Sebastian Huber
77c2178501 Fixed race condition during startup. 2012-01-31 11:25:15 +01:00
Sebastian Huber
78384114f2 Revert "Support custom Makefiles."
This reverts commit 621e1c9b74.
2012-01-26 09:57:57 +01:00
Sebastian Huber
f4491f945e Revert "Disable optimization."
This reverts commit 8ae88d7f96.
2012-01-26 09:57:19 +01:00
Sebastian Huber
a762dc2a49 Support for MPC5643L.
Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.
2012-01-23 11:19:22 +01:00
Sebastian Huber
621e1c9b74 Support custom Makefiles. 2012-01-23 10:50:15 +01:00
Sebastian Huber
8ae88d7f96 Disable optimization. 2012-01-23 10:50:11 +01:00
Joel Sherrill
70fff65ff6 2011-12-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am: Change to one file per line. Clean up.
2011-12-14 19:23:49 +00:00
Ralf Corsepius
3007610e4e 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/qoriq.inc: Remove -W* flags.
2011-12-13 12:17:54 +00:00
Ralf Corsepius
fa011f35d5 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/i2c/spi-memdrv.c: Make
	spi_memdrv_minor2param_ptr, spi_memdrv_wait_ms static.
	* libchip/i2c/spi-sd-card.c: Make
	sd_card_compute_crc7, sd_card_compute_crc16 static.
2011-12-13 12:00:13 +00:00
Gedare Bloom
a1a25aeb58 2011-12-12 Gedare Bloom <gedare@rtems.org>
PR bsps/1989
	* shared/start/start.S, shared/startup/linkcmds: Boot stack and heap
	space improvements.
2011-12-12 19:31:48 +00:00
Gedare Bloom
8bc6b663f1 2011-12-12 Gedare Bloom <gedare@rtems.org>
PR bsps/1988
	* shared/start/start.S: Add _init and _fini to .init and .fini sections
2011-12-12 19:00:48 +00:00
Gedare Bloom
e17789bf3d 2011-12-12 Gedare Bloom <gedare@rtems.org>
PR bsps/1988
	* shared/startup/linkcmds: Relocate .init and .fini sections closer to
	.text.
2011-12-12 18:52:18 +00:00
Ralf Corsepius
d71462b4eb 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac (CFLAGS): Add -Wmissing-prototypes.
2011-12-10 05:53:03 +00:00
Ralf Corsepius
ac4f31c814 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/interrupts/vectorexceptions.c: Make
	mips_dump_exception_frame, mips_default_exception_code_handler
	static.
2011-12-10 04:07:46 +00:00
Ralf Corsepius
de5868fe37 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1986/libcpu
	* shared/src/cache_aligned_malloc.c:
	Include <rtems/rtems/cache.h>.
2011-12-10 04:03:50 +00:00
Joel Sherrill
2eddd4d61b 2011-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* make/custom/gen68360.cfg, make/custom/gen68360_040.cfg,
	make/custom/pgh360.cfg: Simplify and clean up.
2011-12-09 16:12:46 +00:00
Ralf Corsepius
b9c2f07d59 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/sonic.c: Activate SONIC_STATIC.
2011-12-09 13:16:25 +00:00
Ralf Corsepius
bf5d715672 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/vt.c: Make _kd_mksound static.
	* ide/ide.c: Make pc386_ide_probe, pc386_ide_initialize,
	pc386_ide_read_reg, pc386_ide_write_reg, pc386_ide_write_block,
	pc386_ide_control, pc386_ide_config_io_speed static.
2011-12-09 13:12:40 +00:00
Ralf Corsepius
32f2304ac3 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/pci/pcibios.c: Make pcib_find_by_devid static.
2011-12-09 13:10:15 +00:00
Ralf Corsepius
ba5df99c89 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/vgacons.c: Add VGACONS_STATIC.
	* console/vgacons.h: Remove VGACONS_STATIC.
2011-12-09 07:20:28 +00:00
Ralf Corsepius
884a581346 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/if_fxp.c: Add missing initializer.
2011-12-09 07:16:48 +00:00
Joel Sherrill
57bbd5cbce 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1589/build
	* configure.ac: Remove obsolete optional manager capability.
2011-12-08 21:42:36 +00:00
Joel Sherrill
5fa9b7069d 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1589/build
	* leaf.cfg, target.cfg.in, compilers/gcc-target-default.cfg: Remove
	obsolete optional manager capability.
2011-12-08 21:40:23 +00:00
Joel Sherrill
bbf8816ab2 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1589/build
	* optman/.cvsignore, optman/Makefile.am, optman/preinstall.am,
	optman/rtems/no-barrier.c, optman/rtems/no-dpmem.c,
	optman/rtems/no-event.c, optman/rtems/no-mp.c, optman/rtems/no-msg.c,
	optman/rtems/no-part.c, optman/rtems/no-region.c,
	optman/rtems/no-rtmon.c, optman/rtems/no-sem.c,
	optman/rtems/no-signal.c, optman/rtems/no-timer.c,
	optman/sapi/no-ext.c, optman/sapi/no-io.c: Removed.
2011-12-08 21:39:52 +00:00
Ralf Corsepius
ef92e48c4a 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/sonic.c: Make sonic_enable_interrupts,
	sonic_disable_interrupts, sonic_clear_interrupts,
	sonic_command static.
2011-12-08 14:17:07 +00:00
Ralf Corsepius
ff335a373d 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* umon/tfsDriver.c: Include <rtems/umon.h> (Missing prototype).
	* umon/monlib.c: Make DisableMonLock, EnableMonLock static.
2011-12-07 18:13:14 +00:00
Ralf Corsepius
3bbffec7b0 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/umonsupp.c: Include <rtems/umon.h> (Missing prototype).
2011-12-07 18:10:52 +00:00
Ralf Corsepius
9e9fb50869 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.c: Make ata_interrupt_on, ata_interrupt_off,
	ata_interrupt_isOn static.
2011-12-06 15:39:29 +00:00
Sebastian Huber
f41fb2b6b6 2011-12-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* misc/system-clocks.c: New file.
	* Makefile.am: Reflect change from above.
	* include/nand-mlc.h: Fixed lpc32xx_mlc_is_bad_page().
	* make/custom/lpc32xx.inc, make/custom/lpc32xx_mzx_stage_1.cfg: Flags
	for EABI tool chain.
	* configure.ac, include/bsp.h, include/lpc32xx.h, misc/emc.c,
	misc/i2c.c, rtc/rtc-config.c, startup/bspstarthooks.c: Avoid compile
	time ARM_CLK and HCLK.
2011-12-06 14:01:55 +00:00
Sebastian Huber
6dbbe5b86b 2011-12-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* make/custom/lpc24xx.inc: Flags for EABI tool chain.
2011-12-06 13:52:48 +00:00
Ralf Corsepius
2186f401e4 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/mc68681.c (mc68681_open):
	Var "status" needs to be signed.
2011-12-06 06:35:24 +00:00
Gedare Bloom
96d29be2bb 2011-12-05 Gedare Bloom <gedare@rtems.org>
* ChangeLog: Add PR number to ChangeLog entry
2011-12-05 15:22:51 +00:00
Gedare Bloom
5144142533 2011-12-05 Sebastien Bourdeauducq <seb@tmplab.org>
* milkymist_midi/midi.c: move MIDI message detection from higher layers
	to the MIDI interrupt handler
2011-12-05 15:21:50 +00:00
Sebastian Huber
5d64fef2a7 2011-12-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1975/misc
	* libchip/ide/ata.c, libchip/ide/ata_util.c: Fixed warnings.
2011-12-05 09:21:11 +00:00
Ralf Corsepius
86c7984988 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.c: Make ata_interrupt_handler static.
	* libchip/ide/ide_controller.c: Include libchip/ide_ctrl.h.
2011-12-03 05:16:57 +00:00
Ralf Corsepius
f2c6c44440 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/display/disp_hcms29xx.c: Add missing initializer.
2011-12-03 05:09:40 +00:00
Joel Sherrill
0a962fb946 2011-12-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Add bsp_reset() label to exit point.
2011-12-02 16:44:46 +00:00