| 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.
|
|
|
|
|
|
| |
Intel has obsoleted this hardware and the BSP was never completed.
closes #3086.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Move the gdb stub from the i386 UART code to use the libchip drivers.
Use any ports discovered during the probes.
Add gdb control to the boot command line.
Change the device naming to the full device path, not a partial path.
For example /dev/com1.
|
| |
|
| |
|
| |
|
|
|
|
| |
Start to migrate private symbols to bsp/bspimpl.h.
|
| |
|
|
|
|
|
|
|
|
| |
This patch adds the "--printk=" boot command line argument to specify
the printk() device. It also enhances the "--console=" boot command
line argument to match any device configured in the console device
table. The arguments are parsed as early as possible so they take
effect early. Currently, this is immediately after PCI initialization.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configuration space
This patch fundamentally results from enhancements to the pc386 BSP
to support systems which do **NOT** have the legacy PCI BIOS. The
patch adds support for detecting when legacy PCI BIOS is not
present and then using IO space to access to PCI Configuration Space.
This resulted in dynamically selected between two implementations
of PCI and refactoring out the shared methods.
This patch adds shared implementations of pci_bus_count() and
pci_find_device(). Subsequent patches will remove implementations
of these methods in other BSPs where possible.
|
|
|
|
| |
Fixes #2515.
|
| |
|
|
|
|
|
|
|
| |
This avoids potential dead code in _Thread_Handler(). It gets rid of
the dangerous function pointer casts.
Update #2514.
|
|
|
|
|
|
|
|
| |
Call bsp_work_area_initialize() before bsp_start(). This allows
bsp_start() to use malloc() etc. which is beneficial for systems with a
plug-and-play hardware enumeration.
Update #2408.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was done by the following script run from libbsp:
find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b
do
echo $b
cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' `
bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' `
g="LIBBSP_${cpu}_${bsp}_BSP_H"
# echo $g
sed -e "s/ifndef _BSP_H/ifndef ${g}/" \
-e "s/define _BSP_H/define ${g}/" \
-i $b
done
|
|
|
|
|
|
|
|
|
| |
The current support for the Edison supports a single polled
UART for input and output plus a simulated clock tick. The
activities forward for supporting the Edison have been posted
on the RTEMS mailing lists and at:
http://rtemsramblings.blogspot.com/2014/12/intel-edison-and-rtems-road-forward.html
|
|
|
|
|
|
| |
This allows the IDE support to be completely disabled. It is needed to
prevent hangs on some hardware. In particular, the Intel Edison where
it is not present.
|
| |
|
|
|
|
| |
Some includes may use C++ and this conflicts if surrounded extern "C".
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
crt.h defines such lovely constants as "RED" and "GREEN" which
have a nasty habit of conflicting with non-BSP code. There is
no reason to include this private .h from bsp.h and pollute the
namespace for applications.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Include <bsp/default-initial-extension.h> in all BSPs. Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup(). Move previous
bsp_cleanup() code into bsp_fatal_extension().
|
| |
|
|
|
|
| |
This was broken by conversion of console driver to libchip style.
|
|
|
|
|
|
|
|
|
|
| |
PR 1925
* Makefile.am, preinstall.am, console/serial_mouse_config.c,
include/bsp.h, start/start.S: Converted 1386 console to the libchip
style console
* console/conscfg.c, console/console_control.c,
console/printk_support.c, console/vgacons.c, console/vgacons.h: New
files.
|
|
|
|
|
| |
* include/bsp.h, include/tm27.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
|
|
| |
* clock/rtc.c, console/console.c, console/inch.c, console/outch.c,
include/bsp.h, include/crt.h, ne2000/ne2000.c, startup/bspcmdline.c,
startup/bspstart.c, startup/ldsegs.S, timer/timer.c,
timer/timerisr.S: Fix typo where license said found in found in.
|
|
|
|
| |
* include/bsp.h: Add BSP_HAS_FRAME_BUFFER.
|
|
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspgetworkarea.c: Rework bsp_size_memory() to
ensure that multiboot information regarding memory size is used as
the primary source. This was broken in the move to supporting a
unified workspace. It worked this way in 4.9 so this was a
regression.
|
|
|
|
|
| |
* include/bsp.h: BSP should not define
CONFIGURE_NUMBER_OF_TERMIOS_PORTS.
|
|
|
|
|
| |
* include/bsp.h, console/console.c: Provide weak-alias
hook so that the application may choose the console.
|
|
|
|
|
| |
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Add bspcmdline.c.
* include/bsp.h: Add boot command line interfaces.
* start/start.c: Save the multiboot command line. Pass the command
line to boot_card.
* start/start.S: Update for boot_card command line change.
* startup/bspstart.c: Initialise the command line.
* startup/bspcmdline.c: New.
* console/console.c, ide/idecfg.c: Add boot command line support.
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, console/inch.c, console/keyboard.c,
include/bsp.h: Use standardized bsp_cleanup() which can optionally
print a message, poll for user to press key, and call bsp_reset().
Using this eliminates the various bsp_cleanup() implementations which
had their own implementation and variety of string constants.
|
|
|
|
|
| |
* include/bsp.h: Eliminate definitions of BSP_LIBIO_MAX_FDS since this
is NOT used anywhere.
|
|
|
|
|
|
| |
* clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate copies
of the Configuration Table. Use the RTEMS provided accessor macros to
obtain configuration fields.
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
from CPU Table to Configuration Table. Eliminate CPU Table from all
ports. Delete references to CPU Table in all forms.
|
| |
|
|
|
|
| |
* include/bsp.h: New header guard.
|
|
|
|
|
| |
* include/bsp.h: Split out tmtest27 support.
* include/tm27.h: New.
|
|
|
|
|
| |
PR 613/bsps
* include/bsp.h: Remove MAX_LONG_TEST_DURATION.
|
|
|
|
|
| |
PR 614/bsps
* include/bsp.h: Remove MAX_SHORT_TEST_DURATION (Unused).
|
| |
|