Commit Graph

11326 Commits

Author SHA1 Message Date
Sebastian Huber
d74ed4ad4b 2011-05-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* i2c/i2c-config.c: New file.
	* include/lcd.h: Removed EMC definitions.
	* misc/dma.c: Fixed initialization.
	* include/i2c.h, include/io.h, include/lpc-ethernet-config.h,
	include/lpc24xx.h, console/console-config.c, i2c/i2c.c, misc/io.c,
	misc/lcd.c, startup/bspstart.c, startup/bspstarthooks.c: New pin
	configuration API.
	* Makefile.am, preinstall.am: Update.
2011-05-19 12:30:00 +00:00
Sebastian Huber
76134c517d 2011-05-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* Makefile.am, preinstall.am: Install new header files.
	* include/bsp.h, include/emc.h, include/lpc32xx.h, misc/emc.c: Update
	for API changes.
2011-05-19 12:11:36 +00:00
Sebastian Huber
f6083f08dd 2011-05-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/lpc/include/lpc-emc.h, shared/lpc/include/lpc-lcd.h: New
	files.
	* shared/lpc/include/lpc-dma.h: API changes.
	* shared/lpc/clock/lpc-clock-config.c: Fixed nano seconds extension.
	* shared/lpc/network/lpc-ethernet.c: Format.  Multicast hash filter
	support.
2011-05-19 12:09:04 +00:00
Sebastian Huber
00d95ce002 2011-05-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/powerpc-utility.h: API changes for ppc_*_cache_*()
	functions.
2011-05-19 12:03:09 +00:00
Till Straumann
d2b877ada6 2011-05-18 Till Straumann <strauman@slac.stanford.edu>
PR1797/bsps
	* shared/bootcard.c: Fixed a typo (in code, not comment) which
	I introduced with the last change.
2011-05-18 16:09:37 +00:00
Till Straumann
4f599ed99f 2011-05-18 Till Straumann <strauman@slac.stanford.edu>
PR1797/bsps: Applied cleaned-up version of Kate's patch.
	CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK is now a 'bspopts.h'
	setting and as such configurable.
2011-05-18 05:26:53 +00:00
Till Straumann
a34815cfa2 2011-05-16 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h: define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
2011-05-16 15:14:32 +00:00
Sebastian Huber
3560b4faa3 2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/powerpc-utility.h: Added ppc_fsl_system_version*()
	functions.
2011-05-11 08:46:33 +00:00
Joel Sherrill
a87878bfc4 2011-04-25 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1783/bsps
	* include/bsp.h: Remove dead prototypes of Clock_delay() and delay().
	Neither had bodies.
2011-04-25 19:39:31 +00:00
Ralf Corsepius
9e01d150f5 New. 2011-04-23 08:34:46 +00:00
Joel Sherrill
4802bfabc8 2011-04-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Now compiles.
2011-04-22 17:07:51 +00:00
Jennifer Averett
85f5c14bd0 2011-04-21 Jennifer Averett <Jennifer.Averett@OARcorp.com
PR 1777/cpukit
	* src/lib/libbsp/powerpc/shared/startup/panic.c,
	src/lib/libcpu/sh/sh7032/score/cpu_asm.c,
	src/lib/libcpu/sh/sh7045/score/cpu_asm.c,
	src/lib/libcpu/sh/sh7750/score/cpu_asm.c,
	src/lib/libcpu/sh/shgdb/score/cpu_asm.c: Consolidated access to
	_Thread_Dispatch_disable_level.
2011-04-21 19:04:50 +00:00
Joel Sherrill
25e9d2fb93 2011-04-20 Joel Sherrill <joel.sherrilL@OARcorp.com>
* acinclude.m4: Regenerated for TLL6527M.
2011-04-20 20:25:06 +00:00
Joel Sherrill
550e2efc0f 2011-04-20 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console-io.c: Regenerated for TLL6527M.
2011-04-20 20:24:41 +00:00
Joel Sherrill
ad65fc7fb7 2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
	* ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	preinstall.am, times, console/console.c, include/bsp.h,
	include/cplb.h, include/tm27.h, make/custom/TLL6527M.cfg,
	startup/bspstart.c, startup/linkcmds: New files.
	Initial port for the TLL6527Mboard that contains blackfin 52X
	range of processors. Used eZKit533 as a reference for building
	the port.
2011-04-20 20:23:39 +00:00
Joel Sherrill
cb4c90b227 2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
	* bf52x/include: Added additional MMR.
	* bf52x/interrupt: The BF52X processors have a different
	System interrupt controller than present in the 53X range of
	processors. The 52X have 8 interrupt assignment registers. The
	implementation uses tables to increase predictability.
	* serial/uart.?: Added DMA based and interrupt based transfer
	support. The uart code used a single ISR for TX and RX and tried
	to identify and multiplex inside the ISR. In the new code the
	type of interrupt is identified by the central ISR dispatcher
	bf52x/interrupt or interrupt/.	This simplifies the UART ISR.
2011-04-20 20:20:47 +00:00
Joel Sherrill
5eb50f38e9 2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
	* console/console-io.c: The UART RX and TX are different ISR
	now. So the array containing the registeration changes. The
	change is due to change in the libcup uart function.
2011-04-20 20:20:17 +00:00
Joel Sherrill
3bc1585cdc 2011-04-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/irq_asm.S: Rename rtems_smp_maximum_processors to
	rtems_configuration_smp_maximum_processors since it is defined in
	confdefs.h.
2011-04-11 17:16:50 +00:00
Sebastian Huber
2bda489ed9 2011-04-11 Keith Robertson <kjrobert at alumni dot uwaterloo dot ca>
* ne2000/ne2000.c: Add multicast support.  Patch submitted to mailing
	list 2005-12-21.
2011-04-11 11:55:42 +00:00
Joel Sherrill
9c24c7332c 2011-04-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1768/bsps
	* shared/irq/irq_asm.S: The nbench benchmark highlighted the fact that
	we do not perform a cld before calling C code in the ISR. This was
	historically not a problem but gcc 4.3 changed the behavior. From
	http://gcc.gnu.org/gcc-4.3/changes.html
2011-04-04 16:44:46 +00:00
Joel Sherrill
3953cb4d66 2011-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, Makefile.inc.in, configure.ac, target.cfg.in: Update to
	account for movement of .cfg files.
2011-04-01 18:12:07 +00:00
Ralf Corsepius
49a97a9130 2011-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Use '|' as sed-delimiter.
2011-03-29 03:43:00 +00:00
Sebastian Huber
c4d9f31372 2011-03-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/lpc/network/lpc-ethernet.c: Support multicast.
2011-03-28 12:27:29 +00:00
Sebastian Huber
f4371073f2 2011-03-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* configure.ac, include/bspopts.h.in: New BSP option
	LPC32XX_SCRATCH_AREA_SIZE.  Disable BSP option
	LPC32XX_DISABLE_READ_ONLY_PROTECTION for all BSPs.
	* include/boot.h: Removed application specific defines.
	* include/nand-mlc.h, misc/nand-mlc.c: Changed configuration layout.
	* include/mmu.h, misc/mmu.c: Documentation.  Bugfix.
	* include/bsp.h, startup/bspstarthooks.c, misc/restart.c,
	startup/linkcmds.lpc32xx_mzx, startup/linkcmds.lpc32xx_mzx_stage_1,
	startup/linkcmds.lpc32xx_mzx_stage_2,
	startup/linkcmds.lpc32xx_phycore: Support for scratch area.  Moved
	code into macros for reusability.
2011-03-28 09:00:01 +00:00
Sebastian Huber
305234f7ab 2011-03-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/start/start.S: Default exception handler will result in
	bsp_reset().
	* shared/startup/linkcmds.base: Move unsupported sections into
	read-only section.  Changed barrier sections.
2011-03-28 08:49:58 +00:00
Ralf Corsepius
77b9907728 2011-03-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/usiii.cfg (CFLAGS_OPTIMIZE_V):
	Replace -gstabs with -g.
2011-03-23 11:56:34 +00:00
Ralf Corsepius
f4d3b134e1 2011-03-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/niagara.cfg (CFLAGS_OPTIMIZE_V):
	Replace -gstabs with -g.
2011-03-23 11:55:24 +00:00
Ralf Corsepius
92d53ad93a 2011-03-23 Gedare Bloom <giddyup44@yahoo.com>
PR 1769/bsps
	* make/custom/niagara.cfg (CFLAGS_OPTIMIZE_V): Add -O2
2011-03-23 11:52:50 +00:00
Ralf Corsepius
8c475a663c 2011-03-23 Gedare Bloom <giddyup44@yahoo.com>
PR 1769/bsps
	* make/custom/usiii.cfg (CFLAGS_OPTIMIZE_V): Add -O2
2011-03-23 11:52:18 +00:00
Joel Sherrill
4ca0bfcb38 2011-03-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1772/bsps
	* console/sci.c: Use same default baud rate as monitor.
2011-03-22 14:14:24 +00:00
Joel Sherrill
b3d2ed680c 2011-03-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am: Remove stub version.
	* shmsupp/addrconv.c, shmsupp/getcfg.c, shmsupp/lock.c,
	shmsupp/mpisr.c: Removed.
2011-03-21 20:24:07 +00:00
Sebastian Huber
f61b2f814b 2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1770/bsps
	* shared/console/conscfg.c: Rely on default device file registration.
2011-03-21 08:21:41 +00:00
Sebastian Huber
c08604436f 2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console.c: Make device file optional.
2011-03-21 08:19:19 +00:00
Joel Sherrill
d5f3485e5d 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* aclocal/check-smp.m4, aclocal/enable-smp.m4: New files.
2011-03-16 20:07:11 +00:00
Joel Sherrill
7f32fa4643 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* smp/getcpuid.c, smp/smp_stub.c: New files.
2011-03-16 20:06:04 +00:00
Joel Sherrill
5d69cd33e9 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* shared/irq_asm.S: New file.
2011-03-16 20:05:30 +00:00
Joel Sherrill
20546ace87 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* Makefile.am, configure.ac: Add next step in SMP support. This adds an
	allocated array of the Per_CPU structures to support multiple cpus vs
	a single instance of the structure which is still used if SMP support
	is disabled. Configuration support is also added to explicitly enable
	or disable SMP. But SMP can only be enabled for the CPUs which will
	support it initially -- SPARC and i386. With the stub BSP support, a
	BSP can be run as a single core SMP system from an RTEMS data
	structure standpoint.
2011-03-16 20:05:26 +00:00
Joel Sherrill
66729db311 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* shared/irq/irq_asm.S: Add next step in SMP support. This adds an
	allocated array of the Per_CPU structures to support multiple cpus vs
	a single instance of the structure which is still used if SMP support
	is disabled. Configuration support is also added to explicitly enable
	or disable SMP. But SMP can only be enabled for the CPUs which will
	support it initially -- SPARC and i386. With the stub BSP support, a
	BSP can be run as a single core SMP system from an RTEMS data
	structure standpoint.
2011-03-16 20:05:17 +00:00
Joel Sherrill
a5082ff841 2011-03-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* README: Add example mkimage command.
2011-03-16 17:13:20 +00:00
Joel Sherrill
d75792b353 2011-03-15 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Fix clock code on qemu. Also ensure UART is
	initialized early for printk.
2011-03-15 21:34:44 +00:00
Joel Sherrill
7d0e70214f 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.h: Remove warnings.
2011-03-14 17:37:00 +00:00
Joel Sherrill
1fef02ca1a 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1762/cpukit
	* Makefile.am, preinstall.am, console/console.c, console/keyboard.c,
	console/keyboard.h, console/pc_keyb.c, console/ps2_mouse.c,
	console/vgainit.c: Made mouse parser engine generic. Now use generic
	serial mouse driver. Moved many externs from C to .h.
	* console/kbd_parser.c, console/serial_mouse_config.c: New files.
	* console/mouse_parser.c, console/mouse_parser.h,
	console/serial_mouse.c, console/serial_mouse.h: Removed.
2011-03-14 14:57:00 +00:00
Sebastian Huber
73406bfbbf 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cpuIdent.h: Fixed warnings.
2011-03-10 15:04:22 +00:00
Joel Sherrill
53a27c2f96 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1760/misc
	* compilers/gcc-target-default.cfg: Fix typo in CPP definition.
2011-03-09 00:10:03 +00:00
Joel Sherrill
671ce2e8af 2011-03-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.inc.in: Fix PROJECT_ROOT to match usage in templates and
	existing Makefiles.
2011-03-08 23:56:52 +00:00
Ralf Corsepius
48588ab33d 2011-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am, configure.ac: Move file generation into Makefile.
2011-03-07 04:05:18 +00:00
Ralf Corsepius
cc669290c0 2011-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.inc.in: Set PROJECT_ROOT = @pkgdatadir@.
2011-03-07 04:03:26 +00:00
Ralf Corsepius
f2ffb7ec05 2011-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Install *.cfgs into $(pkgdatadir)/make.
2011-03-07 04:01:03 +00:00
Ralf Corsepius
8d6df023c3 2011-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Add pkgdatadir.
2011-03-07 03:54:49 +00:00
Ralf Corsepius
f2d4ef5503 2011-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove dead code.
2011-03-07 03:52:47 +00:00