From 6e82fb6becb95b2334529462be29b5362d7c025a Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Wed, 6 Mar 2024 21:32:56 +0000 Subject: [PATCH] update README --- README.md | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 8ecfab5..fc4b883 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# rtems6-powerpc - A container that makes the RTEMS powerpc beatnik Board Support Package (BSP). This container gets the sources from RTEMS releases, builds the toolchain and then compiles the BSP. +The developer target serves as an archive for the source code. The runtime target is a minmal container with the RTEMS powerpc-beatnik BSP only, intended to be used as a base for epics-base builds. + The current configuration is:- - rtems version: 6.1-rc2 - patches for MVME5500 boards used at DLS @@ -12,23 +12,3 @@ The current configuration is:- This container can be run to experiment with building components with the RSP and prebuilt rtems6 toolchain. See https://docs.rtems.org/branches/master/user/start/index.html - -To just get the Board Support Package (BSP) with toolchain, you can extract these products into your own container with: - -``` -ENV RTEMS_VERSION=6.1-rc2 -ENV RTEMS_TOP=/rtems${RTEMS_VERSION}-beatnik-legacy/rtems/${RTEMS_VERSION}/ -ENV RTEMS_BSP_IMAGE=ghcr.io/epics-containers/rtems6-powerpc-linux-developer - -COPY --from=${RTEMS_BSP_IMAGE}:${RTEMS_VERSION} ${RTEMS_TOP} ${RTEMS_TOP} -``` - -Or you can get the BSP locally with: -``` -docker run --rm -v $(pwd):/workdir ghcr.io/epics-containers/rtems6-powerpc-linux-developer:6.1-rc2 -# in another terminal -mkdir -p /rtems6-beatnik-legacy/rtems/ -docker cp $(docker ps -lq):/rtems6-beatnik-legacy/rtems/6.1-rc2/ /rtems6-beatnik-legacy/rtems/6.1-rc2/ -``` - -IMPORTANT: the BSP contains absolute paths so you must copy it to the same path as inside the container.