An eXtremeDB/rt package contains
make TARGET_PLATFORM=<platform>
can be used to build object code for a specific target platform.
A package for Linux Desktop is provided as well.
Extract the contents of the eXtremeDB package into a directory outside of any OpenArbor workspace.
Copy the eXtremeDB_rt/eXtremeDB
directory from the extracted package to the top level directory of your workspace.
Copy a sample from the eXtremeDB_rt/samples directory to the top level directory of the workspace. Multiple samples may be copied, but only one must be included in the target load at a time.
Add the chosen sample to the Deos™ platform project's list of dependencies to include it in the target load.
Update target load and launch the video stream to observe the sample output.
The samples contain prebuilt eXtremeDB database schemas. If a schema is changed, it needs to be rebuilt using the mcocomp utility found in the host/bin directory of the package, e.g.:
mcocomp -x32 -p /path/to/sample/src /path/to/sample/schema.mco
The samples are designed to run on a wide variety of platforms. However, the performance of these platforms may differ significantly. It may be necessary to tweak the supplied PD XML files to achieve optimal performance in some cases.
This sample demonstrates the "callback" method of transaction deadline enforcement. The sample repeatedly executes a writing transaction while readjusting the deadline. It records and displays the best and worst transaction execution times.
This sample is a demo application consisting of multiple tasks that run read-only and read-write transactions concurrently. It is designed to be simple yet configurable. For more details, refer to the supplied README file in the sample's directory.
Unpack the tarball
cd eXtremeDB_rt
make
Optionally: make MCO_BUILD_LOG=full
to view verbose build log
(see "Building eXtremeDB Libraries on Unix-Linux" for the build system description)
Unpack the tarball
cd eXtremeDB_rt
make TARGET_PLATFORM=toolchain-name
Optionally: make MCO_BUILD_LOG=full
to view verbose build log
(see "Building eXtremeDB Libraries on Unix-Linux" for the build system description)
Unpack the tarball
cd eXtremeDB_rt
{INTEGRITY installation path}/gbuild
Unpack the tarball
Start MULTI
Open eXtremeDB_RT project file
Menu File - Open Project - default.gpj
(optional) Set target platform
Menu Edit - Set Build target - Choose your target board
Build the project
Menu Build - Build Top Project default.gpj
This is a distribution of the eXtremeDB/rt for "generic" FreeRTOS™ on ARM-A3. In order to build the database kernel the following settings should be used:
TARGET_OS=FreeRTOS
passing the target OS to the build system
TARGET_PLATFORM=
toolchain defines the toolchain to use to build the kernel/applications
MCO_FREERTOS_ROOT_DIR=
path defines the path to the FreeRTOS source tree (the topmost directory)
MCO_FREERTOS_PORT_DIR=
path defines the path to the target board port files
MCO_FREERTOS_PROJECT_DIR=
path defines the path to the project's configuration files (FreeRTOSConfig.h
)
For example:
$ make TARGET_OS=FreeRTOS \ TARGET_PLATFORM=arm-none-eabi \ MCO_FREERTOS_ROOT_DIR=/home/user/FreeRTOS \ MCO_FREERTOS_PORT_DIR=/home/user/FreeRTOS/FreeRTOS/Source/portable/GCC/ARM7_AT91FR40008 \ MCO_FREERTOS_PROJECT_DIR=/home/user/FreeRTOS-package/FreeRTOS/FreeRTOS/Demo/ARM7_AT91FR40008_GCC
Furthermore, in order to link the database kernel with database-aware applications the target BSP must be set up. Please consult your board manufacturer for instructions.