RTEMS libbsd for beaglebone black

by 10:39 0 comments
In this post I will explain how to build rtems-libbsd for BeagleBoneBlack(BBB).

STEP 1:
Build rtems-master for beagleboneblack bsp. It will create the necessary libraries we need.
Pls refer to older posts on how to build rtems-master for BBB. We need to give an extra option during configure to tell where to install the built files. So the sequence of steps would be

1. ${HOME}/git-rtems/configure  --prefix=${HOME}/sandbox/install --target=arm-rtems4.11
        --enable-rtemsbsp=beagleboneblack
    Prefix can be any folder where you want to install the files. I am giving
    "/home/ragu/development/install"
2. make
3. make install

STEP 2:
1. Clone the rtems-libbsd repo
    https://github.com/RTEMS/rtems-libbsd
2.  Edit the config.inc file
     
# Mandatory: Select your BSP and installation prefix
TARGET = arm-rtems4.11
BSP = beagleboneblack
PREFIX = /home/ragu/development/install (The one we gave during rtems-master build)

# Optional: Separate installation base directory
INSTALL_BASE = $(PREFIX)/$(TARGET)/$(BSP)

# Optional: Network test configuration
TEST_RUNNER = $(BSP)
NET_CFG_SELF_IP = 10.117.83.42
NET_CFG_NETMASK = 255.255.255.0
NET_CFG_PEER_IP = 10.117.83.2
NET_CFG_GATEWAY_IP = 10.117.83.2
NET_TAP_INTERFACE = tap0

3. make clean

4. make

The built libraries can be found at testsuite directory.

Unknown

Developer

Open Source Ethusiast.

0 comments:

Post a Comment