Thomas Doerfler
5aeed173cf
lpc24xx: new BSP
2008-09-22 11:30:09 +00:00
Thomas Doerfler
16d5668684
lpc24xx: New BSP
...
shared/startup/linkcmds.base, shared/include/linker-symbols.h, shared/include/start.h, shared/start/start.S: New files.
2008-09-22 11:28:39 +00:00
Joel Sherrill
f6be448f64
2008-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* bspgetworkarea.c: Fix typo. Add debug printk statements.
2008-09-21 20:48:40 +00:00
Joel Sherrill
13f14466bb
2008-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* startup/linkcmds: Move WorkAreaBase to be closer to end definition.
2008-09-21 20:47:47 +00:00
Joel Sherrill
250385019b
2008-09-21 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* include/bsp.h: Remove define of BSP_ZERO_WORKSPACE_AUTOMATICALLY.
2008-09-21 16:37:20 +00:00
Joel Sherrill
fe85f05c71
2008-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* startup/linkcmds: Add WorkAreaBase.
2008-09-21 16:16:33 +00:00
Joel Sherrill
0b6ca8aa24
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/network/dec21140.c, libchip/network/elnk.c: Detect when there
is no PCI bus based upon the BSP not having a base address defined.
This means this driver cannot be supported on that board.
2008-09-20 22:20:14 +00:00
Joel Sherrill
2785a80d3e
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* bspgetworkarea.c: Augment to optionally know U-Boot.
2008-09-20 21:44:57 +00:00
Joel Sherrill
f044f9c20e
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, include/bsp.h, start/start.S, startup/bspstart.c,
startup/cpuinit.c: Use top level shared bsp_get_work_area()
implementation. Augment it to know about U-Boot.
* startup/bspgetworkarea.c: Removed.
2008-09-20 21:39:53 +00:00
Joel Sherrill
144ad33774
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, include/bsp.h, network_5200/network.c, start/start.S,
startup/bspstart.c, startup/cpuinit.c: Use top level shared
bsp_get_work_area() implementation. Augment it to know about U-Boot.
* startup/bspgetworkarea.c: Removed.
2008-09-20 21:39:02 +00:00
Joel Sherrill
bb573f750f
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* shared/startup/bspgetworkarea.c, shared/startup/sbrk.c: Remove
warnings by switching to uintptr_t.
2008-09-19 21:31:43 +00:00
Joel Sherrill
bf9b8f5dfe
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h, startup/bspstart.c: Remove unused BSP_INIT_STACK_SIZE
now that the linkcmds accounts for the starting stack.
2008-09-19 21:31:22 +00:00
Joel Sherrill
c37210b1bf
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h: Remove unused BSP_INIT_STACK_SIZE.
2008-09-19 21:29:48 +00:00
Joel Sherrill
c47e486d51
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* shared/bspgetworkarea.c: Removed.
2008-09-19 21:14:05 +00:00
Joel Sherrill
127e726af6
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, startup/linkcmds: Use top level shared
bsp_get_work_area() implementation.
2008-09-19 21:14:03 +00:00
Joel Sherrill
1a3db54805
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, include/bsp.h, startup/bspstart.c: Use PowerPC level
shared bsp_get_work_area() implementation.
* startup/bspgetworkarea.c: Removed.
2008-09-19 21:04:15 +00:00
Joel Sherrill
7a2125ca39
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* shared/start/start.S, shared/startup/bspgetworkarea.c,
shared/startup/bspstart.c, shared/startup/linkcmds: Modifications
which reflect those tested on psim. Hopefully they work on all
boards. The initialization stack is explicitly declared in the
linkcmds memory layout rather than magic math.
2008-09-19 20:41:36 +00:00
Joel Sherrill
af2eb770c7
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, include/bsp.h, startup/bspstart.c, startup/linkcmds: Use
PowerPC level shared bsp_get_work_area() implementation.
* startup/bspgetworkarea.c: Removed.
2008-09-19 20:40:17 +00:00
Joel Sherrill
387a69a10e
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, include/bsp.h, startup/bspstart.c, startup/linkcmds: Use
PowerPC level shared bsp_get_work_area() implementation.
* startup/bspgetworkarea.c: Removed.
2008-09-19 19:45:18 +00:00
Joel Sherrill
4c9784e8a2
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/network/dec21140.c, libchip/network/elnk.c,
libchip/network/if_dc.c: Eliminate vestiges of mpc603e define.
2008-09-19 19:29:50 +00:00
Joel Sherrill
349475b9c1
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* custom/ep1a.cfg, custom/mtx603e.cfg, custom/mvme2100.cfg,
custom/psim.cfg, custom/score603e.cfg: Eliminate vestiges of mpc603e
define.
2008-09-19 19:27:36 +00:00
Joel Sherrill
af70ed5b19
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/shell/main_mallocinfo.c, libmisc/shell/main_wkspaceinfo.c:
Include information on whether C Program Heap and RTEMS Workspace are
separate.
2008-09-19 16:15:21 +00:00
Joel Sherrill
4bbf70bd98
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/score/m68k.h: Move set cacr, acr0, acr1 routines here to get
them out of a BSP.
2008-09-19 15:52:09 +00:00
Joel Sherrill
c01e72bdc5
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am: Split out various BSPs bspstart.c contents. Move cache
management code here.
* mcf5223x/cache/cachepd.c, mcf5235/cache/cachepd.c: New files.
2008-09-19 15:51:33 +00:00
Joel Sherrill
0dba2a55d7
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, console/debugio.c: Split out bspstart contents. Use
shared stub for bsp_start.
* startup/bsppretaskinghook.c: New file.
* startup/bspstart.c: Removed.
2008-09-19 15:50:44 +00:00
Joel Sherrill
97c64b01e7
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am: Split out bspstart contents. Use shared stub for
bsp_start.
* startup/h8bdinstallirq.c: New file.
* startup/bspstart.c: Removed.
2008-09-19 15:50:26 +00:00
Joel Sherrill
ac243c5d08
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h: Eliminate tm27 items from bsp.h
2008-09-19 15:49:54 +00:00
Joel Sherrill
8074c0b1d0
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am: Split out bspstart contents. Move cache code to libcpu.
* startup/bspgetcpuclockspeed.c: New file.
* startup/bspstart.c: Removed.
2008-09-19 15:49:36 +00:00
Joel Sherrill
2fbe159e9a
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, startup/bspstart.c: Split out bspstart contents. Move
cache code to libcpu.
* startup/bspgetcpuclockspeed.c: New file.
2008-09-19 15:49:28 +00:00
Joel Sherrill
c1dcda5d13
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h: Remove prototypes of routines in bootcard.h.
2008-09-18 21:06:53 +00:00
Joel Sherrill
4e1cc1739b
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* bootcard.c: Perform bsp_start() before bsp_get_work_area().
2008-09-18 20:48:17 +00:00
Joel Sherrill
1d18c33202
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libfs/Makefile.am: Do not build nfsclient if no networking.
2008-09-18 20:44:47 +00:00
Joel Sherrill
975021e7ec
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* unlimited/system.h: Support up to 10K tasks in loop. With 64MB on
pc386 and configured for unified workspace, you can get close to
this.
2008-09-18 20:43:48 +00:00
Joel Sherrill
17d9f5f9fa
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Use
top level shared bsp_get_work_area() implementation.
2008-09-18 20:43:07 +00:00
Joel Sherrill
3a261b9b6d
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am: Add use of shared bsppost.c
2008-09-18 20:42:46 +00:00
Joel Sherrill
ef37cb67a1
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Add
bsp_get_work_area() implementation and use more of the BSP
Initialization Framework.
* startup/bspgetworkarea.c: New file.
2008-09-18 20:41:09 +00:00
Joel Sherrill
7f09abec3e
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac, startup/bspstart.c: Add
bsp_get_work_area() implementation and use more of the BSP
Initialization Framework.
* startup/bspgetworkarea.c, startup/bsppost.c: New files.
2008-09-18 20:40:09 +00:00
Joel Sherrill
76ba5f222a
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Use
top level shared bsp_get_work_area() implementation.
2008-09-18 18:01:48 +00:00
Joel Sherrill
bcb9f8c330
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac, include/bsp.h, startup/bspstart.c: Use
PowerPC level shared bsp_get_work_area() implementation.
2008-09-18 17:54:14 +00:00
Joel Sherrill
5ce16e9ea9
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* startup/bspstart.c: Remove unused variable.
2008-09-18 17:45:04 +00:00
Joel Sherrill
b8e42cd203
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h: Remove unnecessary include of bsp.h
2008-09-18 17:43:39 +00:00
Joel Sherrill
3a1b7b8042
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* mcf5206/timer/timerisr.S: Remove unnecessary include of bsp.h
2008-09-18 17:43:06 +00:00
Joel Sherrill
ccceaf3e52
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h: Remove unnecessary boilerplate comments.
2008-09-18 17:42:45 +00:00
Joel Sherrill
89fc9341b7
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h, include/tm27.h: Remove unnecessary boilerplate
comments.
2008-09-18 17:40:14 +00:00
Joel Sherrill
75c9e48d48
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h: Remove unnecessary boilerplate comments. Eliminate use
of EXTERN.
2008-09-18 17:38:43 +00:00
Joel Sherrill
9f74843ab2
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* console/console.c, include/bsp.h: Remove unnecessary boilerplate
comments. Eliminate use of EXTERN and move unnneccessarily global
variables to console.c.
2008-09-18 17:38:26 +00:00
Joel Sherrill
67ed2a84fc
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* include/bsp.h: Remove unnecessary variables and EXTERN magic.
2008-09-18 17:34:49 +00:00
Joel Sherrill
a714cb4e0d
2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* startup/bspstart.c: Add include of rtems/libio.h.
2008-09-18 17:34:38 +00:00
Joel Sherrill
bd9b68fc3b
2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* cfg/bare-avr3.cfg, cfg/bare-avr5.cfg: Eliminate START_BASE and
START_FILE.
2008-09-18 17:34:16 +00:00
Joel Sherrill
5e30d590ba
2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* leaf.cfg, compilers/gcc-target-default.cfg, custom/default.cfg.in:
Eliminate START_BASE and START_FILE.
2008-09-18 17:34:06 +00:00