RTEMS LIBBSD汇编问题



我遵循链接中提到的步骤https://github.com/rtems/rtems-libbsd对于SPARC和4.12版本。

# cd /opt
# mkdir RTEMS
# cd RTEMS
# sandbox="$PWD/sandbox"
# mkdir sandbox
# cd "$sandbox"
# git clone git://git.rtems.org/rtems-source-builder.git
# git clone git://git.rtems.org/rtems.git
# git clone git://git.rtems.org/rtems-libbsd.git
Build and install the tools.
# cd rtems-source-builder/rtems
# ../source-builder/sb-set-builder --prefix="$sandbox/rtems-4.12" 4.12/rtems-sparc
Bootstrap the RTEMS sources:
-----------------------------
# cd "$sandbox"
# cd rtems
# PATH="$sandbox/rtems-4.12/bin:$PATH"
# ./bootstrap
# cd "$sandbox" or cd ..
# mkdir b-sis
# cd b-sis
# "$sandbox/rtems/configure" --target=sparc-rtems4.12 --prefix="$sandbox/rtems-4.12" --disable-networking --enable-tests=samples --enable-rtemsbsp=sis
# make
# make install
Build and install rtems-libbsd
================================
# cd "$sandbox"
# cd rtems-libbsd
# git submodule init
# git submodule update rtems_waf
# waf configure --prefix="$sandbox/rtems-4.12" --rtems-bsps=sparc/sis

在此步骤中,我有一个错误

Setting top to                           : /home/subhilash/RTEMS/sandbox/rtems-libbsd 
Setting out to                           : /home/subhilash/RTEMS/sandbox/rtems-libbsd/build 
No valid arch/bsps found

错误意味着WAF配置无法在您的前缀中找到安装的SPARC/SIS。可能是由于在4.12开发周期中从RTEM中删除SIS BSP而没有明显错误的配置和使失败。尝试使用erc32而不是sis。

您可以通过查询用户邮件列表中的及时响应。

您还应该注意,ERC32的SIS模拟器没有模拟的NIC。正如我所正确的那样,您可能想要的Leon CPU的Greth驱动程序还没有RTEMS-LIBBSD TCP/IP堆栈中的驱动程序。它得到了旧版IPv4堆栈的支持。

我们欢迎向港口供应新堆栈的港口捐款。

我不知道QEMU是否支持Greth驱动程序,但支持基本LEON3。

最新更新