RTEMS Release Snapshot: 5.0.0-m2003 (03 Mar 2020)

Chris Johns chrisj at rtems.org
Fri Mar 6 05:40:22 UTC 2020


On 2020-03-06 13:46, Michael Davidsaver wrote:
> On 3/4/20 11:08 PM, Chris Johns wrote:
>> On 2020-03-05 15:35, Michael Davidsaver wrote:
>>> On 3/4/20 12:50 AM, Chris Johns wrote:
>>>> However libbsd for the PC will not build for the PC. The release is using the
>>>> 5-freebsd-12 branch of libbsd and this branch does not had the PC patches that
>>>> master has and we cannot back port those patches because master and 5-freebsd-12
>>>> use different FreeBSD branches.
>>>
>>> So none of the x86 BSPs currently has a working network stack with rtems5?
>>
>> I saw recently patches for the PC were pushed to the master branch of libbsd to fix a build problem. I assume this has also made the stack work. I have not tested it. The RSB builds the 5-freebsd-12 branch as this is the branch we will release with RTEMS 5.
>>
>> Also the legacy stack may work. This is available with the --enable-networking option to RTEMS's configure.
> 
> How would you go about building a toolchain for pc686 with the legacy stack using RSB?

This is a good question as it is missing from the documentation.

A quick command list is:

$ ../source-builder/sb-set-builder \
    --prefix=/opt/rtems/5 --log=i386.txt \
    5/rtems-i386
$ ../source-builder/sb-set-builder \
    --prefix=/opt/rtems/rsb/5 --log=i386-pc.txt \
    --target=i386-rtems5 --with-rtems-bsp=pc686 \
    --with-rtems-legacy-network 5/rtems-kernel

> (my track record at guessing CLI arguments isn't good)

I welcome the testing and feedback.

Chris


More information about the users mailing list