Commit Graph

8260 Commits

Author SHA1 Message Date
Joel Sherrill
931e9cc00b 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* pci/pci.c: New file.
2007-09-06 16:33:26 +00:00
Joel Sherrill
f8359c993e 2007-09-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/uart/apbuart.c: Fix some warnings.
2007-09-06 15:41:37 +00:00
Joel Sherrill
2a07d0f40d 2007-09-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* pci/pci.c: Fix some warnings.
2007-09-06 15:41:33 +00:00
Joel Sherrill
f752c246fa 2007-09-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/debugputs.c: Add missing include file.
2007-09-06 15:34:58 +00:00
Joel Sherrill
30a8915ffd 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* amba/amba.c: Add missing part of previous patch.
	* clock/ckinit.c: Update previous patch.
2007-09-06 15:22:42 +00:00
Joel Sherrill
226455f9ff 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
New drivers: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN,OC_CAN),
	Raw UART.
	* shared/1553/b1553brm.c, shared/1553/b1553brm_pci.c,
	shared/1553/b1553brm_rasta.c, shared/can/grcan.c,
	shared/can/grcan_rasta.c, shared/can/occan.c, shared/can/occan_pci.c,
	shared/spw/grspw.c, shared/spw/grspw_pci.c, shared/spw/grspw_rasta.c,
	shared/uart/apbuart.c, shared/uart/apbuart_pci.c,
	shared/uart/apbuart_rasta.c: New files missed in previous commit.
2007-09-06 13:27:25 +00:00
Joel Sherrill
e16e0caf72 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am: Add the following new drivers: PCI, b1553BRM,
	SpaceWire(GRSPW), CAN (GRCAN,OC_CAN), Raw UART.
	* shared/include/apbuart.h, shared/include/apbuart_pci.h,
	shared/include/apbuart_rasta.h, shared/include/b1553brm.h,
	shared/include/b1553brm_pci.h, shared/include/b1553brm_rasta.h,
	shared/include/debug_defs.h, shared/include/grcan.h,
	shared/include/grcan_rasta.h, shared/include/grcan_spwrtc.h,
	shared/include/grspw.h, shared/include/grspw_pci.h,
	shared/include/grspw_rasta.h, shared/include/occan.h,
	shared/include/occan_pci.h, shared/include/pci.h: New files.
2007-09-06 13:25:42 +00:00
Joel Sherrill
ce40d306b3 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* pci/pci.c: New file missed on previous commit.
2007-09-06 13:24:03 +00:00
Joel Sherrill
344ba65adb 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: New files, split of printk.
	* console/console.c, console/debugputs.c: Split printk support out.
	* include/spacewire.h: Removed.
	* Makefile.am, preinstall.am: Use the following new drivers from
	sparc/shared: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN), Raw UART.
2007-09-06 13:23:43 +00:00
Joel Sherrill
ee8933f26d 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* cchip/cchip.c, include/cchip.h, include/rasta.h,
	rasta/rasta.c: New files missed in previous commit.
2007-09-06 13:17:16 +00:00
Joel Sherrill
c468e48966 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: Use the following new drivers from
	sparc/shared: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN), Raw UART.
2007-09-06 13:16:15 +00:00
Joel Sherrill
28f3f511a7 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* console/debugputs.c: Now works on multi-CPU systems.
2007-09-06 13:11:45 +00:00
Joel Sherrill
921bb59a83 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* clock/ckinit.c, console/console.c, leon_greth/leon_greth.c,
	leon_smc91111/leon_smc91111.c: LEON3 BSP drivers updated to use new
	AMBA PnP scanning functions. Affected drivers:
	amba/amba.c,clock/ckinit.c,console/console.c,
	leon_greth/leon_greth.c, leon_smc9111.c.
2007-09-06 00:07:44 +00:00
Joel Sherrill
3d0d969b7a 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* shared/bspstart.c: LEON2 and LEON3 Data cache snooping detection on
	startup, for drivers. (LEON2,3 are configurable processors, they can
	be with or without DCache snooping. Caches without snooping needs the
	drivers to flush cache or use the sparc instruction lda to force
	cache miss...)
2007-09-06 00:03:18 +00:00
Joel Sherrill
4cb04f2250 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* include/bsp.h, startup/bspstart.c: LEON2 and LEON3 Data cache
	snooping detection on startup, for drivers. (LEON2,3 are configurable
	processors, they can be with or without DCache snooping. Caches
	without snooping needs the drivers to flush cache or use the sparc
	instruction lda to force cache miss...)
2007-09-06 00:03:16 +00:00
Joel Sherrill
5982921836 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* include/bsp.h: LEON2 and LEON3 Data cache snooping detection on
	startup, for drivers. (LEON2,3 are configurable processors, they can
	be with or without DCache snooping. Caches without snooping needs the
	drivers to flush cache or use the sparc instruction lda to force
	cache miss...)
2007-09-06 00:03:14 +00:00
Joel Sherrill
2eb4aba98f 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* shared/amba/ambapp.c, shared/include/ambapp.h: New files.
2007-09-06 00:01:53 +00:00
Joel Sherrill
4393845e3f 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am: LEON3 AMBA PnP bus scanning moved to shared/amba/amba.c
	and shared/include/ambapp.h. The AMBA scanning was improved to take
	account for PnP info address translation. This is useful when
	scanning remote AMBA busses for example when a board connected with
	PCI has an AMBA bus that needs to be scanned, before the addresses
	was hard coded. Also, LEON2 now have AMBA PnP bus scanning support.
	By using the new AMBA scanning routines it is possible to isolate the
	AMBA scanning code to ambapp.c, however existing drivers should be
	updated to use them in order to save space.
2007-09-06 00:01:33 +00:00
Joel Sherrill
1982a19574 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am, amba/amba.c, include/amba.h,
	include/leon.h: LEON3 AMBA PnP bus scanning moved to
	shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was
	improved to take account for PnP info address translation. This is
	useful when scanning remote AMBA busses for example when a board
	connected with PCI has an AMBA bus that needs to be scanned, before
	the addresses was hard coded. Also, LEON2 now have AMBA PnP bus
	scanning support. By using the new AMBA scanning routines it is
	possible to isolate the AMBA scanning code to ambapp.c, however
	existing drivers should be updated to use them in order to save
	space.
2007-09-06 00:01:30 +00:00
Joel Sherrill
4d3933b300 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: LEON3 AMBA PnP bus scanning moved to
	shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was
	improved to take account for PnP info address translation. This is
	useful when scanning remote AMBA busses for example when a board
	connected with PCI has an AMBA bus that needs to be scanned, before
	the addresses was hard coded. Also, LEON2 now have AMBA PnP bus
	scanning support. By using the new AMBA scanning routines it is
	possible to isolate the AMBA scanning code to ambapp.c, however
	existing drivers should be updated to use them in order to save
	space.
2007-09-06 00:01:14 +00:00
Joel Sherrill
2aaff51bb5 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* include/bsp.h: This patch prepares bsp.h so that shared code (new
	drivers) can easily have small small sections of BSP specific code.
2007-09-05 23:58:06 +00:00
Joel Sherrill
97734933f7 2007-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.h: Reformat -- make things line up.
2007-09-05 21:11:42 +00:00
Joel Sherrill
b26e1db6d7 2007-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb: Fix warnings.
2007-09-05 20:42:46 +00:00
Joel Sherrill
7d7d2e9326 2007-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Fix path.
	* include/bsp.h: Fix typo.
2007-09-05 20:29:38 +00:00
Joel Sherrill
ef6d26ab0d 2007-09-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Add capture to list of interative tests to skip in batch
	mode.
2007-09-04 23:48:55 +00:00
Joel Sherrill
2a645ad1ab 2007-09-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Add capture to list of interative tests to skip in batch
	mode.
2007-09-04 23:46:24 +00:00
Joel Sherrill
af3d092ee5 2007-08-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c: Add missing semi-colon.
2007-08-28 14:11:21 +00:00
Joel Sherrill
7e8039b49b 2007-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* README: Clean up.
2007-08-28 13:54:39 +00:00
Joel Sherrill
a7d19758bd Fix typo. 2007-08-10 13:35:06 +00:00
Thomas Doerfler
267c7c598f added i2c support 2007-08-10 08:17:10 +00:00
Thomas Doerfler
e35c6965bf added BSP hsc_cm01 2007-08-10 08:15:58 +00:00
Thomas Doerfler
38630e9849 applied patch from Robert Grimes to correctly set the link speed to 100MBit 2007-08-09 20:27:35 +00:00
Joel Sherrill
bf2a653958 2007-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Save changes again to make tagger happy.
2007-08-07 14:44:58 +00:00
Joel Sherrill
c3b6484f10 Upgrade to 4.7.99.2 2007-08-07 14:39:50 +00:00
Joel Sherrill
1abae1068a 2007-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, README.IceCube, preinstall.am, include/bsp.h,
	vectors/vectors.S: Rename EP5200 to IceCube since that is the
	nickname for the Freescale evaluation board it is based upon. BSP was
	tested on a Freescale MPC5200LITE.
2007-08-06 13:53:30 +00:00
Ralf Corsepius
787ca182b6 2007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp.cfg.in: Hard-code HAS_RDBG = no.
	* target.cfg.in: Hard-code RTEMS_HAS_RDBG = no.
2007-08-04 05:45:16 +00:00
Joel Sherrill
2154cd30a2 2007-08-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/start/start.S: Fix typo of pO versus p0.
2007-08-03 15:22:44 +00:00
Joel Sherrill
261f99bdac 2007-08-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, wrapup/Makefile.am: Remove RDBG.
	* aclocal/check-rdbg.m4, aclocal/enable-rdbg.m4, librdbg/.cvsignore,
	librdbg/Makefile.am, librdbg/preinstall.am,
	librdbg/include/rdbg/rdbg.h, librdbg/include/rdbg/servrpc.h,
	librdbg/include/rdbg/i386/rdbg_f.h, librdbg/include/rdbg/i386/reg.h,
	librdbg/include/rdbg/m68k/rdbg_f.h, librdbg/include/rdbg/m68k/reg.h,
	librdbg/include/rdbg/powerpc/rdbg_f.h,
	librdbg/include/rdbg/powerpc/reg.h, librdbg/src/_servtgt.c,
	librdbg/src/awk.svc, librdbg/src/excep.c, librdbg/src/ptrace.c,
	librdbg/src/rdbg.c, librdbg/src/remdeb.x, librdbg/src/servbkpt.c,
	librdbg/src/servcon.c, librdbg/src/servrpc.c, librdbg/src/servtgt.c,
	librdbg/src/servtsp.c, librdbg/src/servutil.c,
	librdbg/src/i386/excep_f.c, librdbg/src/i386/rdbg_cpu_asm.S,
	librdbg/src/i386/rdbg_f.c, librdbg/src/i386/any/remdeb.h,
	librdbg/src/i386/any/remdeb_f.x, librdbg/src/i386/any/remdeb_svc.c,
	librdbg/src/i386/any/remdeb_xdr.c, librdbg/src/m68k/excep_f.c,
	librdbg/src/m68k/rdbg_cpu_asm.S, librdbg/src/m68k/rdbg_f.c,
	librdbg/src/m68k/any/remdeb.h, librdbg/src/m68k/any/remdeb_f.x,
	librdbg/src/m68k/any/remdeb_svc.c, librdbg/src/m68k/any/remdeb_xdr.c,
	librdbg/src/powerpc/excep_f.c, librdbg/src/powerpc/rdbg_cpu_asm.S,
	librdbg/src/powerpc/rdbg_f.c,
	librdbg/src/powerpc/new_exception_processing/remdeb.h,
	librdbg/src/powerpc/new_exception_processing/remdeb_f.x,
	librdbg/src/powerpc/new_exception_processing/remdeb_svc.c,
	librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c: Removed.
2007-08-02 15:00:07 +00:00
Joel Sherrill
51131354d0 2007-08-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Remove RDBG.
2007-08-02 14:59:41 +00:00
Joel Sherrill
0c640d3d88 2007-08-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* debug_ada/cmds, debug_c/cmds: Remove RDBG.
2007-08-02 14:56:32 +00:00
Joel Sherrill
dd3e53ecf3 2007-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/startup/bspstart.c: Split out ShowBATS() so it can be shared
	by more BSPs.
	* shared/showbats.c: New file.
2007-08-02 13:54:07 +00:00
Joel Sherrill
403fe9a8e0 2007-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* ide/pcmcia_ide.c: Added prototype of mpc5200_pcmciaide_dma_blockop to
	eliminate warning.
2007-08-02 13:53:12 +00:00
Joel Sherrill
65762c815c 2007-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add shared ShowBATS().
	* startup/cpuinit.c: Split out BAT initialization into subroutine
	that is defined based upon conditionals set.  More critically
	added code to detect and correct for a buggy U-Boot found on
	some Freescale LITE5200B boards which report Flash memory to
	be for 32MB at 0xFF000000 instead of 0xFE000000.  If we use
	the reported information, the system gives an exception just
	after the BAT is programmed.
	* vectors/vectors_init.c: Turn off message unless verbose is on.
2007-08-02 13:51:14 +00:00
Joel Sherrill
67ef0f1ea2 2007-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: ShowBATS() split out to helper routine so sharable by
	more BSPs.
2007-08-02 13:45:18 +00:00
Joel Sherrill
5797b67d2d 2007-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/bspstart.c: Use shared ShowBATS() method.
2007-08-01 21:51:23 +00:00
Joel Sherrill
eec7c441d7 2007-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, preinstall.am: You need main() to link all applications.
	There is no C++ specific way to link currently.
2007-08-01 00:49:03 +00:00
Joel Sherrill
8661209e6e 2007-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1249/build
	* configure.ac: Jerry Needell <jerry.needell@unh.edu> reported that the
	leon3 was left out of the cache enable logic. Thus the cache
	management support code was empty on LEON3 CPUs.
2007-07-31 20:23:52 +00:00
Ralf Corsepius
2aaa164372 2007-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* nfsclient/src/dirutils.c: Use PATH_MAX instead of MAXPATHLEN.
2007-07-27 16:35:15 +00:00
Joel Sherrill
15b81bb58d Formatting. 2007-07-27 13:37:36 +00:00
Thomas Doerfler
ab66cf0d24 removed superfluous bss section 2007-07-27 06:39:21 +00:00