Commit Graph

11241 Commits

Author SHA1 Message Date
Till Straumann
e94aa61b68 2011-08-04 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S: BUGFIX (introduced by SMP changes
	which moved code around, apparently): *must* store i8259
	mask to frame *before* switching to IRQ stack. The code
	retrieves the mask after switching back to original stack.
	Also, the IRQ stack has no reserved space for the mask;
	storing it there could overwrite memory!
2011-08-05 00:15:50 +00:00
Joel Sherrill
18544cbd47 2011-08-02 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* ChangeLog: Spacing.
	* README: Removed.
2011-08-02 14:04:40 +00:00
Joel Sherrill
15ad13cb7d 2011-08-02 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* milkymist_networking/mm_crc32.c: Removed.
2011-08-02 14:04:31 +00:00
Joel Sherrill
5f4dd4b91f 2011-08-02 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* README: Merge content from lm32/README which was specific to
	this BSP.
2011-08-02 14:04:27 +00:00
Joel Sherrill
dce1032b6c 2011-08-01 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* startup/bspclean.c: New file.
	* include/tm27.h: Removed.
	* ChangeLog, Makefile.am, README, preinstall.am, include/bsp.h,
	include/system_conf.h, make/custom/milkymist.cfg, startup/linkcmds:
	Complete BSP for Milkymist One supporting Milkymist SOC 1.0.x.
	Includes new or updated drivers for:
	  - Multi-standard video input (PAL/SECAM/NTSC)
	  - Two DMX512 (RS485) ports
	  - MIDI IN and MIDI OUT ports
	  - VGA output
	  - AC'97 audio
	  - NOR flash
	  - 10/100 Ethernet
	  - Memory card (experimental and incomplete)
	  - USB host connectors (input devices only)
	  - RC5 infrared receiver
	  - RS232 debug port
2011-08-01 13:48:40 +00:00
Jennifer Averett
01f2692e33 2011-08-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1802
	* shared/irq/irq_asm.S, shared/irq/irq_init.c, shared/smp/smp-imps.c,
	shared/smp/smp-imps.h: Add SMP support for i386.
	* shared/smp/getcpuid.c: New file.
2011-08-01 13:41:50 +00:00
Jennifer Averett
8a7ed82647 2011-08-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1802
	* Makefile.am, configure.ac, preinstall.am, clock/ckinit.c,
	start/start16.S, startup/bspstart.c, startup/ldsegs.S: Add SMP
	support for i386.
2011-08-01 13:41:37 +00:00
Sebastian Huber
3ca8c6bc11 2011-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/.cvsignore: New file.
	* include/bspopts.h.in: Removed file.
2011-08-01 06:36:37 +00:00
Ralf Corsepius
89dc49928a 2011-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove *lib (Anachronism).
2011-07-29 14:06:56 +00:00
Till Straumann
1a1a151c48 2011-27-28 Till Straumann <strauman@slac.stanford.edu>
* start/start.S: Align stack and tag TOS with a NULL
	pointer (help terminate when walking the stack).
2011-07-28 19:50:28 +00:00
Till Straumann
6963b2e713 2011-27-28 Till Straumann <strauman@slac.stanford.edu>
* start/start.S: Tag TOS with a NULL pointer
	(help terminate when walking the stack).
2011-07-28 19:27:58 +00:00
Till Straumann
b4fdfc6093 2011-27-28 Till Straumann <strauman@slac.stanford.edu>
* start/start.S: fixed indentation. Tag TOS with a NULL
	pointer (help terminate when walking the stack).
2011-07-28 19:20:09 +00:00
Jennifer Averett
0bd3f7e5d1 2011-07-28 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1801
	* shared/irq_asm.S: Modifications to synch the sparc with the smp
	working tree.
2011-07-28 17:33:07 +00:00
Till Straumann
38ccd6fa1a 2011-07-27 Till Straumann <strauman@slac.stanford.edu>
* shared/start/start.S, shared/start/preload.S:
	Make sure stack is 16-byte aligned and the TOS
	is tagged with a NULL pointer (used as a terminator
	when printing stack traces).
2011-07-28 01:13:20 +00:00
Till Straumann
586d915fc9 2011-07-26 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/openpic_i8259_irq.c: silenced compiler warnings.
2011-07-27 04:21:25 +00:00
Till Straumann
9ec86ede39 2011-07-21 Till Straumann <strauman@slac.stanford.edu>
* shared/motorola/motorola.c: removed
	PCI_FIXUP_OPT_OVERRIDE_NAME for qemu - qemu gets it
	right and this option messes things rather up.
2011-07-22 00:39:49 +00:00
Joel Sherrill
f37f593da4 2011-07-21 Jorge Lopez <jorge.lopez.trescastro@esa.int>
PR 1766/bsps
	* clock/ckinit.c: Add missing read of Timer_Counter_1.
2011-07-21 20:52:19 +00:00
Sebastian Huber
acb692d37b 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/lpc24xx.h: Added ADC defines.
	* make/custom/lpc24xx.inc: Workaround for GCC bug 49641.
2011-07-21 15:32:08 +00:00
Sebastian Huber
d7e676fd4c 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/uart-output-char.h, src/uart-output-char.c: Support for
	getchark().
2011-07-21 15:28:32 +00:00
Sebastian Huber
dc0a7df674 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1799/bsps
	* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	clock/clock-config.c, console/console-config.c,
	console/uart-bridge-master.c, console/uart-bridge-slave.c,
	include/.cvsignore, include/bsp.h, include/hwreg_vals.h,
	include/intercom.h, include/irq.h, include/mmu.h, include/qoriq.h,
	include/tm27.h, include/tsec-config.h, include/u-boot-config.h,
	include/uart-bridge.h, irq/irq.c, make/custom/qoriq.inc,
	make/custom/qoriq_core_0.cfg, make/custom/qoriq_core_1.cfg,
	make/custom/qoriq_p1020rdb.cfg, network/if_intercom.c,
	network/network.c, rtc/rtc-config.c, shmsupp/intercom-mpci.c,
	shmsupp/intercom.c, shmsupp/lock.S, start/start.S,
	startup/bsppredriverhook.c, startup/bspreset.c, startup/bspstart.c,
	startup/linkcmds.base, startup/linkcmds.qoriq_core_0,
	startup/linkcmds.qoriq_core_1, startup/linkcmds.qoriq_p1020rdb,
	startup/mmu-config.c, startup/mmu-tlb1.S, startup/mmu.c: New files.
2011-07-21 15:18:02 +00:00
Sebastian Huber
98335feb08 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1799/bsps
	* acinclude.m4: Update for qoriq BSPs.
	* shared/include/linker-symbols.h: New file.
2011-07-21 15:12:06 +00:00
Sebastian Huber
e715727613 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/clock/clock.c: Fix to clear the first pending decrementer
	exception.
2011-07-21 15:10:07 +00:00
Sebastian Huber
fdd9de8001 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1799/bsps
	* new-exceptions/bspsupport/ppc_exc_async_normal.S: New file.
	* new-exceptions/cpu.c, new-exceptions/cpu_asm.S,
	new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/ppc_exc_global_handler.c,
	new-exceptions/bspsupport/ppc_exc_prologue.c,
	new-exceptions/bspsupport/vectors.h: Added support for SPE.
	* configure.ac, preinstall.am, Makefile.am: Added support for qoriq
	BSPs.
2011-07-21 15:03:31 +00:00
Jennifer Averett
5e8bfe22d7 2011-07-20 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* start/start16.S: Removed tabs and added OAR standard copyright header
	in preperation for merging SMP support.
2011-07-20 16:50:19 +00:00
Joel Sherrill
e7f95e81db 2011-07-20 Till Straumann <strauman@slac.stanford.edu>
PR 1837/bsps
	* shared/motorola/motorola.c, shared/motorola/motorola.h: Add MVME2400
	board with 750 CPU to list of supported Motorola boards.
2011-07-20 16:39:31 +00:00
Till Straumann
267d6104e9 2011-07-18 Till Straumann <strauman@slac.stanford.edu>
* README.qemu: added.
2011-07-18 17:40:55 +00:00
Till Straumann
6464a2bd2f 2011-07-18 Till Straumann <strauman@slac.stanford.edu>
* shared/bootloader/qemu_fakerom.S: Added work-around for
	qemu bug 811683.
2011-07-18 16:38:54 +00:00
Till Straumann
96d81ef516 2011-07-18 Till Straumann <strauman@slac.stanford.edu>
* shared/bootloader/head.S: disable USE_PPCBUG under qemu.
2011-07-18 16:37:25 +00:00
Till Straumann
4b6692f270 2011-07-18 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/bspstart.c: Select console *before* doing
	any potential printk() (e.g., panic).
2011-07-18 16:35:08 +00:00
Till Straumann
9515b955fe 2011-07-18 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/ppc_idle.c: Need to enable HID0[NAP] on
	a 7400/7455/7457 for MSR[POW] to have an effect.
2011-07-18 16:33:39 +00:00
Joel Sherrill
894a2c910a 2011-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/apic.h, shared/smp/smp-imps.c, shared/smp/smp-imps.h:
	Reformat to be more compliant with RTEMS style.
2011-07-18 16:33:30 +00:00
Till Straumann
2682dc9cac 2011-07-18 Till Straumann <strauman@slac.stanford.edu>
* motorola_powerpc/make/custom/qemuprep-altivec.cfg,
	motorola_powerpc/Makefile.am: added altivec-enabled variant.
2011-07-18 16:32:29 +00:00
Till Straumann
f616734f3a 2011-07-15 Till Straumann <strauman@slac.stanford.edu>
* motorola_powerpc/Makefile.am,
	motorola_powerpc/configure.ac, motorola_powerpc/preinstall.am,
	motorola_powerpc/include/bsp.h, motorola_powerpc/make/custom/qemuprep.cfg,
	motorola_powerpc/qemu_fakerom/Makefile.am,
	motorola_powerpc/qemu_fakerom/.cvsignore:
	Added 'qemuprep' BSP variant.
2011-07-16 01:29:45 +00:00
Till Straumann
581272301a 2011-07-15 Till Straumann <strauman@slac.stanford.edu>
* shared/bootloader/mm.c, shared/bootloader/pci.c,
	shared/bootloader/qemu_fakeres.c, shared/bootloader/qemu_fakerom.S,
	shared/irq/irq.h, shared/motorola/motorola.c, shared/residual/residual.h,
	shared/startup/bspstart.c,
	Added 'qemuprep' BSP variant.
2011-07-16 01:29:05 +00:00
Till Straumann
9c39236d0d 2011-07-15 Till Straumann <strauman@slac.stanford.edu>
* shared/bootloader/misc.c: Copy residual data
	_before_ decompressing the kernel since the firmware
	may have stored it in an area that is overwritten
	by decompress_kernel().
2011-07-16 01:21:36 +00:00
Till Straumann
d2e68e07b5 2011-07-15 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/ppc_idle.c: added an 'idle task' body
	which switches the CPU into power-save mode. IIRC, this
	cannot be used on real hardware due to errata :-( but
	it still saves valuable host-CPU cycles when used by
	the qemuprep BSP.
2011-07-16 01:18:25 +00:00
Till Straumann
048fd36c9f 2011-07-15 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/init_irq.c, shared/irq/openpic_i8259_irq.c,
	shared/pci/detect_raven_bridge.c: conditionally compile
	ISA and PCI-interrupt related stuff only if BSP defines
	BSP_ISA_IRQ_NUMBER > 0 and/or BSP_PCI_IRQ_NUMBER > 0,
	respectively.
2011-07-16 01:15:06 +00:00
Joel Sherrill
47bae47647 2011-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/apic.h, shared/smp/smp-imps.c, shared/smp/smp-imps.h: Per
	email with Erich Boleyn, change license to BSD style.
2011-07-15 19:04:38 +00:00
Jennifer Averett
ad2cefe0c0 2011-07-14 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_init.c: Add
	initial support for APIC.
2011-07-14 17:30:28 +00:00
Jennifer Averett
1d007c60ee 2011-07-14 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* shared/irq/apic.h, shared/smp/README, shared/smp/smp-imps.c,
	shared/smp/smp-imps.h: New files.
2011-07-14 16:50:22 +00:00
Jennifer Averett
7521e439b0 2011-07-14 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* start/start.S: Moved enable_sse into a subroutine that may be called
	from other cores on an SMP system.
2011-07-14 15:07:21 +00:00
Joel Sherrill
1ca54022df 2011-07-14 Till Straumann <strauman@slac.stanford.edu>
PR 1833/bsps
	* ne2000/ne2000.c: Addition of multicast support disabled broadcast
	reception. Patch also includes support to work on big endian CPUs.
2011-07-14 14:44:59 +00:00
Jennifer Averett
58679ac700 2011-07-14 Jennifer Averett
* make/custom/pcp4.cfg: New file.
2011-07-14 14:44:47 +00:00
Joel Sherrill
bbacebe209 2011-07-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1832/libcpu
	* at91rm9200/irq/irq.c: he bsp_interrupt_dispatch routine does not
	determine the correct interrupt source number. According to the
	datasheet, the reading of the interrupt vector register (AIC_IVR)
	notifies the hardware that the OS is taken care of the interrupt.
	Only after AIC_IVR have been read can the correct source number be
	read from the interrupt status register (AIC_ISR).
2011-07-13 20:24:04 +00:00
Joel Sherrill
f4adc0d1a1 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
	* startup/bspclean.c: Return exit/shutdown status back to boot_card().
	boot_card() propagates this to bsp_cleanup() and returns it to the
	assembly that started the application. bsp_cleanup() prototype
	changed.
2011-07-13 18:35:43 +00:00
Joel Sherrill
99cf980373 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
	* misc/interr.c, spurious/spinit.c: Return exit/shutdown status back to
	boot_card(). boot_card() propagates this to bsp_cleanup() and returns
	it to the assembly that started the application. bsp_cleanup()
	prototype changed.
2011-07-13 18:35:33 +00:00
Joel Sherrill
9c0a884e96 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
	* include/bsp.h, startup/bspclean.c: Return exit/shutdown status back
	to boot_card(). boot_card() propagates this to bsp_cleanup() and
	returns it to the assembly that started the application.
	bsp_cleanup() prototype changed.
2011-07-13 18:35:31 +00:00
Joel Sherrill
c48524314b 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
	* startup/bspclean.c, startup/bspstart.c: Return exit/shutdown status
	back to boot_card(). boot_card() propagates this to bsp_cleanup() and
	returns it to the assembly that started the application.
	bsp_cleanup() prototype changed.
2011-07-13 18:35:19 +00:00
Joel Sherrill
1e1ee0c017 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
	* bootcard.c, bspclean.c, include/bootcard.h: Return exit/shutdown
	status back to boot_card(). boot_card() propagates this to
	bsp_cleanup() and returns it to the assembly that started the
	application.
2011-07-13 18:35:04 +00:00
Joel Sherrill
3f05b150df 2011-07-12 Joel Sherrill <joel.sherrilL@OARcorp.com>
* shared/start.S, shared/mvme/mvme16x_hw.h: Check on MVME167 at OAR
	after RTC replaced.
2011-07-12 16:20:41 +00:00