Commit Graph

9906 Commits

Author SHA1 Message Date
Chris Johns
6d3245b623 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/cpuboot.c: Update for boot_card command line change.
2009-04-28 06:28:20 +00:00
Chris Johns
90819e8010 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/init5329.c: Update for boot_card command line change.
2009-04-28 06:27:52 +00:00
Chris Johns
bcd1228d90 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/init52235.c: Update for boot_card command line change.
2009-04-28 06:27:15 +00:00
Chris Johns
010e93365a 2009-04-28 Chris Johns <chrisj@rtems.org>
* shared/start/start.S: Update for boot_card command line change.
2009-04-28 06:23:04 +00:00
Chris Johns
1c5ebc5421 2009-04-28 Chris Johns <chrisj@rtems.org>
* Makefile.am: Add bspcmdline.c.
        * include/bsp.h: Add boot command line interfaces.
        * start/start.c: Save the multiboot command line. Pass the command
        line to boot_card.
        * start/start.S: Update for boot_card command line change.
        * startup/bspstart.c: Initialise the command line.
        * startup/bspcmdline.c: New.
        * console/console.c, ide/idecfg.c: Add boot command line support.
2009-04-28 06:20:35 +00:00
Chris Johns
a263aa724d 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/linkcmds: Add .data.* for the C++ test.
        * include/bsp.c: Add BSP_SMALL_MEMORY.
2009-04-28 04:56:22 +00:00
Ralf Corsepius
1cb0671023 2009-04-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* leaf.cfg: Remove hard-coded .exe.
2009-04-15 08:31:09 +00:00
Thomas Doerfler
07001bab80 adapt name of assert function for breakpoint 2009-04-14 09:46:58 +00:00
Joel Sherrill
ca23484f0f 2009-04-06 Michael Walle <michael@walle.cc>
* shared/start/start.S: Now calls boot_card.
2009-04-06 21:33:48 +00:00
Joel Sherrill
69722ac959 2009-04-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: Move stack so it does not overlap workarea.
2009-04-06 15:25:56 +00:00
Joel Sherrill
7c48db8d29 2009-03-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: Stack was overlapping work area.
2009-03-30 14:10:54 +00:00
Joel Sherrill
d785ce4a56 2009-03-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, console/console.c, startup/linkcmds: Now links but
	clearly the starting stack overlaps regular memory and needs to be
	moved.
2009-03-26 11:18:03 +00:00
Joel Sherrill
8b074ee693 2009-03-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Start of RTEMS Work Area must be on 16 byte
	boundary on the SPARC.
2009-03-25 17:56:04 +00:00
Thomas Doerfler
ce7d6e62b7 * start/start.S, include/hwreg_vals.h, startup/cpuinit.c:
correct some init values for HSC_CM01 boards
2009-03-19 10:49:55 +00:00
Joel Sherrill
a33af586f1 2009-03-12 Daniel Hellstrom <daniel@gaisler.com>
PR 1392/bsps
	* libchip/i2c/spi-memdrv.c: SPI Memory driver. Fix but where writes
	over multiple pages results in extra data being written.
2009-03-12 15:42:51 +00:00
Joel Sherrill
f0a90bbba7 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* mpc5xx/irq/irq_asm.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:33:14 +00:00
Joel Sherrill
b321b10e3d 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* shared/irq/irq_asm.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:33:05 +00:00
Joel Sherrill
01d1ae3610 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* shared/irq/irq_asm.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:18:32 +00:00
Joel Sherrill
1ba9d1bb5c 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* irq/irq_asm.S: When the type rtems_boolean was switched to the C99
	bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:18:28 +00:00
Joel Sherrill
d2c730f846 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* startup/exception.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:18:21 +00:00
Joel Sherrill
96f2d87a59 2009-03-10 Eric Norum <norume@aps.anl.gov>
* bootcard.c: Swap order of RTEMS Workspace and Malloc Heap. This
	allows the potential for sbrk() to extend the heap area. This
	actually is done on PowerPC BSPs with more than 32MB which use
	dynamic loading.
2009-03-10 17:40:06 +00:00
Joel Sherrill
cdb6eae1e3 2009-03-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h: Added missing include.
2009-03-09 17:00:20 +00:00
Joel Sherrill
94da794635 2009-03-09 Antoine Lacroix <antoine.lacroix at sodern.fr>
PR 1391/bsps
	* startup/spurious.c: Format was %d but had leading 0x.
2009-03-09 16:53:27 +00:00
Eric Norum
ac4dd0b331 With Till, Joel and Eric all trying to fix this file things seem
to have been mangled.  I believe that the this version fixes things.
2009-03-05 22:27:19 +00:00
Till Straumann
05b0c8a6dd 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h, start/start.S, startup/bspstart.c:
	removed BSP_INIT_STACK_SIZE -- this BSP now also uses
	__stack defined by the linker script for the initial
	stack.
	Removed legacy code (inherited from old mvme2307 BSP
	but not relevant to this one) that tested trapping
	into PPCBug.
2009-03-05 21:17:55 +00:00
Till Straumann
0f2852d08d 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* startup/misc.c, flash/flashcfg.c, irq/irq_init.c,
	pci/detect_host_bridge.c: changed function arguments
	to silence compiler warnings.
2009-03-05 21:15:17 +00:00
Till Straumann
b0d9310de7 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* bootcard.c: use aligned heap_start (instead of
	original heap_start) when calculating default heap
	size (to take into account loss due to alignment).
2009-03-05 21:10:07 +00:00
Till Straumann
6987eeccf1 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* startup/misc.c, flash/flashcfg.c, irq/irq_init.c,
	pci/detect_host_bridge.c: changed function arguments
	to silence compiler warnings.
2009-03-05 21:07:01 +00:00
Till Straumann
7e7f6d7147 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeTsi148.h, vmeUniverse/vmeTsi148.c:
	fixed function declarations to silence compiler
	warnings.
2009-03-05 21:05:13 +00:00
Till Straumann
ad82bec5d1 - must return original memory size in *heap_size_p if policy == -1 2009-03-05 20:09:59 +00:00
Thomas Doerfler
21ae805dc1 * shared/clock/clock.c: Standard decrementer exception is now more
robust against erroneous external exception disable times.
2009-03-05 13:45:06 +00:00
Joel Sherrill
b96bd98f46 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, console/console.c: Use shared polled console framework.
2009-03-03 12:20:30 +00:00
Joel Sherrill
f0f8e4deb2 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, include/bsp.h, startup/setvec.c: Now
	compiles again but applications do not link.
2009-03-03 00:10:56 +00:00
Joel Sherrill
188a3fc62f 2009-03-02 Till Straumann <strauman@slac.stanford.edu>
PR 1375/bsps
	* clock/clock.c: Correct implementation of nanoseconds since last tick
	handler.
2009-03-02 18:57:11 +00:00
Joel Sherrill
27d29e18b8 2009-03-02 Daniel Hellstrom <daniel@gaisler.com>
PR 1390/bsps
	* startup/linkcmds: Fix sections so C++ global constructors and
	destructors work with late model (>= 4.3) gcc versions.
2009-03-02 17:27:54 +00:00
Joel Sherrill
bdc8d46647 2009-03-02 Ray Xu <rayx.cn@gmail.com>
* shared/irq/irq_asm.S: Newer compilers handle alignment better.
2009-03-02 17:10:31 +00:00
Joel Sherrill
b900586702 2009-03-02 Ray Xu <rayx.cn@gmail.com>
PR 1380/bsps
	* include/bsp.h: Switch to English comments.
2009-03-02 17:03:10 +00:00
Joel Sherrill
eb148a2680 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Remove unnecessary copy of cpu_asm.S
	* console/Modif_cpu_asm.S: Removed.
2009-02-27 19:19:46 +00:00
Joel Sherrill
08ed3c3ece 2009-02-27 Daniel Hellstrom <daniel@gaisler.com>
PR 1386/bsps
	* shared/start.S: Stack space not correctly initialized. Causes
	failures on unoptimized applications.
2009-02-27 15:33:08 +00:00
Joel Sherrill
5d01560bb4 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* bspgetworkarea.c: Add check to determine if current stack pointer is
	in work area.
2009-02-27 15:09:37 +00:00
Joel Sherrill
67cad729e6 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspgetworkarea.c: Add check to determine if current
	stack pointer is in work area.
2009-02-27 15:09:14 +00:00
Thomas Doerfler
949166d6c0 added missing files 2009-02-27 12:12:08 +00:00
Thomas Doerfler
9647f7feac * README: Added NCS.
* Makefile.am, configure.ac, preinstall.am: Added BSP variants.
	* console/console-config.c, clock/clock-config.c, ssp/ssp.c: Fixed
	register settings.  Cleanup.
	* include/bsp.h: Added network defines and functions.
	* include/lpc24xx.h: Added AHB and EMC defines.  Fixed Ethernet status
	sizes.
	* include/system-clocks.h, misc/system-clocks.c: Added micro seconds
	delay function that uses Timer 1.  Changed PLL setup.
	* network/network.c, startup/bspreset.c, startup/linkcmds.lpc2478,
	startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram: New
	files.
	* startup/bspstart.c: Added EMC initialization.  Changes for ROM boot.
2009-02-27 11:26:44 +00:00
Thomas Doerfler
92cbf96514 * bsp_specs: Added crtbegin.o and crtend.o to support global C++
constructors and destructors.
2009-02-27 11:25:30 +00:00
Thomas Doerfler
ca5bcd88a0 PR 1356
* libchip/i2c/spi-sd-card.c: Added support for high capacity and MMC
	cards.
2009-02-27 11:10:46 +00:00
Joel Sherrill
9cc70d8007 2009-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/cpu.c: Now compiles. Does not run.
2009-02-26 21:16:03 +00:00
Joel Sherrill
5d64375f71 2009-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/clock/ckinit.c, shared/start/start.S, shared/timer/timer.c:
	Run better on simulator. Timer is probably not right yet but
2009-02-26 20:45:48 +00:00
Joel Sherrill
be9f085602 2009-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, include/bsp.h: Run better on simulator. Timer is
	probably not right yet but
2009-02-26 20:45:44 +00:00
Joel Sherrill
9f127d2123 2009-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspgetworkarea.c: Make debug messages same as
	standard.
2009-02-26 17:38:05 +00:00
Joel Sherrill
7b1d93dbe9 2009-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/irq.c: Add bsp_interrupt_handler_default() so this BSP will link.
2009-02-26 17:37:43 +00:00