installationvirtualboxsparcrtems

no build set file found 4.11/rtems-sparc on rtems (VB)


. ~/rtems-4.11-work/setenv 
cd /home/rtems/rtems-source-builder/rtems
../source-builder/sb-set-builder \
--log=1-sparc.txt \
--prefix=${HOME}/rtems-4.11-work/tools 4.11/rtems-sparc

I did all steps well.Lastly I am trying to install sparc tools ,but when I try to do this commend line, it return to me

"Rtems Source Builder - Set Builder, 5 (35c533f545c8)
Build set: 4.11/rtems-sparc
error: no build set file found: 4.11/rtems-sparc.bset
Build FAILED"

I am vorking RTEMS on VirtualBox Does anyone help me? Because this will be my graduation Project


Solution

  • I note multiple possible reasons:

    To get some more details, you could try the following command:

    ../source-builder/sb-set-builder --list-bsets
    

    This will give you a list of valid build sets.

    If you are trying to build for an existing project, please ask your colleagues for the exact version of RTEMS you should use. Otherwise I would recommend to use the development HEAD which is version 5.

    Edit:

    With the new information that you gave in your comments I'll try to make that answer a little more useful:

    If you really want to use that old VM: It should be enough to replace your last command by the following:

    ../source-builder/sb-set-builder \
        --log=1-sparc.txt \
        --prefix=${HOME}/rtems-4.11-work/tools 5/rtems-sparc
    

    Note that this will give you a RTEMS 5 while a lot of the paths still have an 4.11 in it.

    My recommended way would be to set up some up to date Linux in an VM (for example an CentOS 7 with development packets) and follow the guides in some of the last years GSoC blogs. I think most of the students wrote something about their first steps.

    Basically it should be about the following steps. Note that this is normally my approach. You can also use RSB to build the BSP directly. I do it in an extra step in the following. Please also note that I wrote these down from my head. So I might miss some step or have some typo in it.

    For the BBB I also created a repo some time back that contains scripts to do all the necessary steps. See https://gitlab.com/c-mauderer/rtems-bbb.