Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Real-Time Container based on RTEMS6 for Phytium-d2000

1. Real-Time Executive for Multiprocessing Systems

Project git repositories are located at:

Online documentation is available at:

RTEMS Doxygen for CPUKit:

RTEMS POSIX 1003.1 Compliance Guide:

RTEMS Mailing Lists for general purpose use the users list and for developers use the devel list.

The version number for this software is indicated in the VERSION file.

2. Startup

step.1 pull RTEMS6 development environment

docker pull roker405/rtems6-env:v1.0
docker run -it --name rtems6-dev \
  --net=host \
  roker405/rtems6-env:v1.0 \
  bash
docker exec -it -e "TERM=xterm-256color" rtems6-dev bash

step.2 pull phytium version source code

cd /usr/src
git clone https://github.com/The-Lyc/RTContainer.git rtems6

step.3 set config.ini

cd rtems6
cat << EOF > config.ini
[DEFAULT]
BUILD_TESTS = True
RTEMS_POSIX_API = True

[aarch64/a53_lp64_qemu]
EOF

step.4 build bsp

./waf configure --prefix=/opt/rtems6 
# append -j to use more cpu cores
./waf build 
./waf install

step.5 use qemu to virtually run target elf

apt install qemu-system-aarch64
qemu-system-aarch64 -M virt,gic-version=3 \
  -cpu cortex-a53  -smp 1  -m 512M        \
  -nographic  -no-reboot   -kernel        \
  build/aarch64/a53_lp64_qemu/testsuites/samples/hello.exe

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages