| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A speciality of the RTEMS build system was the make preinstall step. It
copied header files from arbitrary locations into the build tree. The
header files were included via the -Bsome/build/tree/path GCC command
line option.
This has at least seven problems:
* The make preinstall step itself needs time and disk space.
* Errors in header files show up in the build tree copy. This makes it
hard for editors to open the right file to fix the error.
* There is no clear relationship between source and build tree header
files. This makes an audit of the build process difficult.
* The visibility of all header files in the build tree makes it
difficult to enforce API barriers. For example it is discouraged to
use BSP-specifics in the cpukit.
* An introduction of a new build system is difficult.
* Include paths specified by the -B option are system headers. This
may suppress warnings.
* The parallel build had sporadic failures on some hosts.
This patch removes the make preinstall step. All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.
The new cpukit include directories are:
* cpukit/include
* cpukit/score/cpu/@RTEMS_CPU@/include
* cpukit/libnetworking
The new BSP include directories are:
* bsps/include
* bsps/@RTEMS_CPU@/include
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include
There are build tree include directories for generated files.
The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.
The "bootstrap -p" option was removed. The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.
Update #3254.
|
|
|
|
| |
The GNU ld sort by name or alignment needs distinct input sections.
|
|
|
|
| |
Add ability to place data in a non-loadable cache-inhibited area.
|
|
|
|
|
| |
This avoids consumption of a loadable address space for the nocache
heap.
|
| |
|
| |
|
|
|
|
| |
This requires at least Binutils 2.24.
|
| |
|
|
|
|
|
|
|
| |
In case the VMA and LMA regions differ, the LMA start address is now no
longer aligned with the alignment of the input sections:
http://sourceware.org/bugzilla/show_bug.cgi?id=15222
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
| |
|
|
|
|
|
|
| |
PR 1799/bsps
* acinclude.m4: Update for qoriq BSPs.
* shared/include/linker-symbols.h: New file.
|
|
|
|
|
|
| |
* shared/uboot_dump_bdinfo.c: Include <bsp/u-boot.h> if necessary.
* shared/include/u-boot-board-info.h: New file.
* shared/include/u-boot.h: Removed file.
|
|
|
|
| |
* shared/include/start.h, shared/src/bsp-start-zero.S: New files.
|
|
|
|
| |
* shared/include/nvram.h: Fix typo.
|
|
|
|
| |
- u-boot header file
|
|
|
|
|
| |
* include/bsp.h: Remove (Unused).
* Makefile.am: Reflect change above.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* bootloader/exception.S: Include <rtems/asm.h> instead of <asm.h>.
* bootloader/head.S: Include <rtems/asm.h> instead of <asm.h>.
* irq/irq_asm.S: Include <rtems/asm.h> instead of <asm.h>.
* start/rtems_crti.S: Include <rtems/asm.h> instead of <asm.h>.
* start/start.S: Include <rtems/asm.h> instead of <asm.h>.
* vectors/vectors.S: Include <rtems/asm.h> instead of <asm.h>.
* include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
* include/bsp.h: Include <rtems/console.h> instead of <console.h>.
|
|
|
|
|
|
| |
* bootloader/misc.c, bootloader/pci.c, console/inch.c,
include/bsp.h, pci/pci.c, startup/bspstart.c, startup/sbrk.c:
Convert to using c99 fixed size types.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Merge-in bootloader/Makefile.am, clock/Makefile.am,
console/Makefile.am, include/Makefile.am, irq/Makefile.am,
motorola/Makefile.am, openpic/Makefile.am, pci/Makefile.am,
residual/Makefile.am, start/Makefile.am, startup/Makefile.am,
vectors/Makefile.am, vme/Makefile.am. Use automake compilation rules.
* bootloader/Makefile.am, clock/Makefile.am, console/Makefile.am,
include/Makefile.am, irq/Makefile.am, motorola/Makefile.am,
openpic/Makefile.am, pci/Makefile.am, residual/Makefile.am,
start/Makefile.am, startup/Makefile.am, vectors/Makefile.am,
vme/Makefile.am: Remove.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bootloader/Makefile.am: Put all files into EXTRA_DIST.
* vme/Makefile.am: Ditto.
* console/Makefile.am: Move H_FILES to include_bsp_HEADERS.
Add preinstallation dirstamp support.
* irq/Makefile.am: Ditto.
* motorola/Makefile.am: Ditto.
* openpic/Makefile.am: Ditto.
* pci/Makefile.am: Ditto.
* residual/Makefile.am: Ditto.
* vectors/Makefile.am: Ditto.
* Makefile.am: Remove empty lines.
* clock/Makefile.am: Ditto.
* include/Makefile.am: Ditto.
* startup/Makefile.am: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bootloader/bootldr.h, bootloader/em86.c, bootloader/em86real.S,
bootloader/exception.S, bootloader/head.S, bootloader/lib.c,
bootloader/misc.c, bootloader/mm.c, bootloader/pci.c,
clock/p_clock.c, console/console.c, console/consoleIo.h,
console/inch.c, console/keyboard.h, console/polled_io.c,
include/bsp.h, irq/i8259.c, irq/irq.c, irq/irq.h, irq/irq_asm.S,
irq/irq_init.c, motorola/motorola.c, motorola/motorola.h,
openpic/openpic.c, openpic/openpic.h, pci/pci.c, residual/residual.c,
start/start.S, startup/bspstart.c, vectors/vectors.h,
vectors/vectors_init.c: URL for license changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makefile.am: Reflect having moved automake.
bootloader/Makefile.am: Reflect having moved automake.
clock/Makefile.am: Reflect having moved automake.
console/Makefile.am: Reflect having moved automake.
include/Makefile.am: Reflect having moved automake.
irq/Makefile.am: Reflect having moved automake.
motorola/Makefile.am: Reflect having moved automake.
openpic/Makefile.am: Reflect having moved automake.
pci/Makefile.am: Reflect having moved automake.
residual/Makefile.am: Reflect having moved automake.
start/Makefile.am: Reflect having moved automake.
startup/Makefile.am: Reflect having moved automake.
vectors/Makefile.am: Reflect having moved automake.
vme/Makefile.am: Reflect having moved automake.
|
|
|
|
|
|
|
| |
PR 415/bsps
* include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c:
Support enabling MCP exceptions on the host bridge. This can
be used for memory probing on the VME bus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bootloader/misc.c, console/Makefile.am, console/console.c,
console/consoleIo.h, console/inch.c, console/polled_io.c,
console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am,
irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c,
openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h,
residual/Makefile.am, start/start.S, startup/bspstart.c,
vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c:
Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
with the goal to make it more flexible and reusable by other
BSPs. The main strategies were:
- eliminate hardcoded base addresses; devices use offsets
and a BSP defined base address.
- separate functionality into different files (e.g. reboot from
inch.c to reboot.c) which can be overridden by a 'derived' BSP.
- separate initialization code into separate files (e.g. PCI
bridge detection/initialization was separated from the more
generic PCI access routines), also to make it easier for
'derived' BSPs to substitute their own initialization code.
There are also a couple of enhancements and fixes:
- IRQ handling code now has a hook for attaching a VME bridge.
- OpenPIC is now explicitely initialized (polarities, senses).
Eliminated the implicit assumption on the presence of an ISA PIC.
- UART and console driver now supports more than 1 port. The current
maximum of 2 can easily be extended by enlarging a table (it
would even be easier if the ISR API was not broken by design).
- fixed polled_io.c so it correctly supports console on COM2
- fixed TLB invalidation code (start.S).
- exception handler prints a stack backtrace.
- added BSP_pciFindDevice() to scan the pci bus for a particular
vendor/device/instance.
|
|
|
|
|
|
|
| |
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
|
|
|
| |
* include/Makefile.am: Use _HEADER instead of H_FILES.
* irq/Makefile.am: Ditto.
* openpic/Makefile.am: Ditto.
* include/bsp.h: Include <bspopts.h>.
|
|
|
|
|
|
| |
* Makefile.am, console/consoleIo.h, include/bsp.h:
These modifications are part of the conversion of the
mpc8xx CPU to the "new exception processing model."
|
| |
|
|
|
|
| |
adds .cvsignore.
|
|
|
|
|
|
|
|
|
|
| |
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain:
* Modifications, (minor) corrections, cleanups to most existing
Makefile.ams
* Adds automake support to all remaining BSPs which have not yet been
converted to automake.
* Makefile.am for all remaining wrapup/Makefile.ams
|
| |
|
|
|
|
|
|
|
|
| |
which converts the PowerPC BSPs to configuration and more automake.
* Besides adding partial automake support, rsp converting all powerpc
BSPs to make them compliant to the new configuration scheme, this patch
attempts to fix several configuration bugs in powerpc related Makefiles.
|
|
|
|
|
|
| |
Kulpinski <jskulpin@eng01.gdds.com>, the bsp_specs now defines
USE_ENHANCED_INTR_API and powerpc/shared/include/bsp.h uses that
to enable its tm27 support.
|
| |
|
|
|
|
| |
<valette@crf.canon.fr> and Jay Kulpinski <jskulpin@eng01.gdds.com>.
|
|
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
|