| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Close #3250.
Close #4081.
|
|
|
|
| |
Updates #3425.
|
|
|
|
|
|
|
|
|
|
|
| |
This AC_CONFIG_SRCDIR() is just a sanity check in this insane build
system. Since all content of
c/src/lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@ is bound to be moved it
makes no sense to keep it.
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
| |
The subdir-objects do not work currently due to BSP sources in bsps and
c and the existing build tree layout.
Update #3387.
|
|
|
|
|
|
|
|
|
|
|
| |
This option silences warning with automake-1.16.1 allowing us to
upgrade to that version.
This change has been tested with automake-1.12.6 and automake-1.16.1.
It seems version 1.16.1 configures slower than 1.12.6 for the same
source and BSP. The newer versions is 6 second slower.
Close #3387.
|
|
|
|
|
|
|
|
| |
Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs.
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.
|
|
|
|
| |
Updates #3250.
|
|
|
|
|
|
|
|
|
| |
Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify
the BSP configuration and documentation. Change defaults to:
BSP_PRESS_KEY_FOR_RESET=0
BSP_RESET_BOARD_AT_EXIT=1
BSP_PRINT_EXCEPTION_CONTEXT=1
|
|
|
|
|
|
| |
This was the only configure.ac file with bspopts.h present in
AC_CONFIG_FILES(). This somehow prevented the generation of this file
leading to build errors for this BSP.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove MPC55XX_ESCI_CONSOLE_MINOR.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
* configure.ac, startup/start.S: Use standard cache BSP options.
|
|
|
|
| |
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* configure.ac: Remove AC_CHECK_SIZEOF([void *]).
|
|
|
|
| |
* configure.ac: Added AC_CHECK_SIZEOF macro.
|
| |
|
| |
|
| |
|
|
|
|
| |
* configure.ac: Don't add -ansi -fasm to CFLAGS.
|
|
|
|
| |
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|