| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Update #3254.
Update #3268.
|
|
|
|
| |
Update #3254.
|
|
|
|
|
|
|
|
|
| |
Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP. Without the
preinstall build target each header file must have a unique source
header file.
Update #3254.
|
|
|
|
|
|
|
| |
This header file contained timing overhead values which are hard to
maintain.
Update #3254.
|
|
|
|
| |
Fix build error introduced in f535fe5311978af53635c2da8e5cb10ef9d78802.
|
|
|
|
|
| |
With this patch the preinstall.am files are in a set order and not
dependent on now perl implements a hash.
|
|
|
|
|
| |
Apparently, at some point automake output changed and these were
not updated.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.
|
|
|
|
|
|
|
|
|
|
|
| |
* make/custom/mpc5566evb_spe.cfg, make/custom/mpc5674fevb_spe.cfg,
startup/linkcmds.mpc5566evb_spe, startup/linkcmds.mpc5674fevb_spe,
startup/reset.c: New files.
* Makefile.am, preinstall.am: Reflect changes above.
* startup/early-init.c: Added missing section attribute.
* configure.ac, network/smsc9218i.c: New BSP options
SMSC9218I_EDMA_RX_CHANNEL and SMSC9218I_EDMA_TX_CHANNEL. Enable reset
at cleanup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* startup/bspgetworkarea.c, startup/linkcmds.base: Removed files.
* include/mpc55xx-config.h, make/custom/mpc5674fevb.cfg,
startup/early-init.c, startup/ebi-cal-cs-config.c,
startup/ebi-cs-config.c, startup/exc-vector-base.S,
startup/fmpll-syncr-vals.c, startup/linkcmds.mpc5674fevb,
startup/mmu-config.c, startup/siu-pcr-config.c: New files.
* Makefile.am, preinstall.am: Reflect changes above.
* startup/linkcmds.gwlcfm, startup/linkcmds.mpc5566evb,
startup/linkcmds.phycore_mpc5554: Use linker command base file.
* configure.ac: Support MPC5674F. Changed eSCI options.
* clock/clock-config.c: Support MPC5674F.
* i2c/i2c_init.c, network/smsc9218i.c, startup/sd-card-init.c: Update
due to API changes.
* include/bsp.h: Define BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN.
* network/if_smc.c: Use HAS_SMC91111.
* startup/start.S, startup/bspstart.c: Moved low-level initialization
into new files. Overall cleanup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* make/custom/phycore_mpc5554.cfg, startup/linkcmds.phycore_mpc5554,
network/if_smc.c: New files.
* Makefile.am, preinstall.am: Reflect changes above.
* configure.ac: Add support for the Phytec PhyCORE MPC5554. Includes:
- HAS_SMC91111 to indicate a BSP has that neworking.
- SMC91111_ENADDR_IS_SETUP so that it skips code to set up the MAC
address.
- MPC55XX_CLOCK_EMIOS_CHANNEL to permit one to set which eMIOS
channel to use for the clock.
- MPC55XX_BOOTFLAGS: Skips two words above the RCHW in the startup
for use in skpping over the MMU setup. Required for debugging via a
cheap emulator where code is loaded into RAM and then mapped in as
flash.
- BOARD_PHYCORE_MPC5554 If defined, use custom settings for the
Phytec PhyCORE MPC5554 SOM.
* clock/clock-config.c: Modify so that the EMIOS channel used for the
clock can be selected at configuration time. For MPC5544 only:
- Conditionally skip access to a register that faults if accessed on
the MPC5554
- Do not set the control register mode as was done for GW_LCFM
support, it breaks interrupts.
* make/custom/mpc55xx.inc: Make it possible to override the soft-float
to set the type of floating point BSP will use.
* startup/start.S: Add support for the "boot flags", two long-words
that I manipulate with the debugger to skip over MMU setup. Use an
external for the start of external SRAM instead of the hardwired
number 0x20000000. Disable write access to the internal flash.
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, startup/start.S: Use standard zero
function.
* startup/linkcmds.base: Reserve enough space for the exception
minimum prologues. Changed start section name.
* startup/bspstart.c: Removed superfluous cache initialization.
* configure.ac: Fixed option default values.
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Added I2C options. Fixed eMIOS prescaler. Use
standard linker command file support.
* include/bsp.h: Declare I2C initialization function.
* i2c/i2c_init.c: Implementation.
* make/custom/gwlcfm.cfg, make/custom/mpc5566evb.cfg,
make/custom/mpc55xx.inc: Use standard linker command file support.
* startup/bspstart.c: More board specific settings.
* Makefile.am, preinstall.am: Reflect changes above.
|
|
|
|
|
|
|
|
| |
* libcpu/powerpc/mpc55xx/include/irq.h: Move defines from
'libbsp/powerpc/mpc55xxevb/include/irq-config.h'.
* libbsp/powerpc/mpc55xxevb/include/irq-config.h: Removed file.
* libbsp/powerpc/mpc55xxevb/Makefile.am,
libbsp/powerpc/mpc55xxevb/preinstall.am: Reflect changes above.
|
| |
|
| |
|
|
|
|
|
| |
* Makefile.am, preinstall.am: Use shared tm27.h stub.
* include/tm27.h: Removed.
|
|
|
|
|
| |
* Makefile.am, preinstall.am: Now links all tests.
* include/tm27.h: New file.
|
|
|
|
| |
* Makefile.am: Cleanup ../../shared/include/bootcard.h handling.
|
|
|
|
| |
* preinstall.am: Regenerated.
|
|
|