Building rtems-libbsd for pc686

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Dec 16 14:37:19 UTC 2019


On 16/12/2019 15:33, Joel Sherrill wrote:
> 
> 
> On Mon, Dec 16, 2019 at 7:37 AM <Jan.Sommer at dlr.de 
> <mailto:Jan.Sommer at dlr.de>> wrote:
> 
>     Hello,
> 
>     I tried to build the branch 5-freebsd-12 for the pc686 BSP of the
>     current RTEMS master.
>     The compilation stops at:
> 
>     [  64/1156] Compiling freebsd/sbin/sysctl/sysctl.c
>     ../../freebsd/sbin/sysctl/sysctl.c:72:10: fatal error:
>     machine/pc/bios.h: No such file or directory
>       #include <machine/pc/bios.h>
>                ^~~~~~~~~~~~~~~~~~~
>     compilation terminated.
> 
>     Waf: Leaving directory
>     `/home/somm_ja/workspace/refex/rtems-libbsd/build/i386-rtems5-pc686-minimal'
>     Build failed
>       -> task in 'objs02' failed with exit status 1 (run with -v to
>     display more information)
> 
>     I tried to build the default and minimal buildset with the same results.
>     The missing bios.h is available in the full freebsd sources.
> 
>     Do I need to use the freebsd-to-rtems.py script to integrate the
>     missing header into the freebsd directory or do I need to do
>     something different?
> 
> 
> The code worked on the pc at one point.
> 
> What is it getting from bios.h?
> 
> My first cut at it would be to import that file. Long term, we would 
> probably
> be better off if the PC BSP used more infrastructure from FreeBSD. The 
> current BSP
> is marginally supporting non-legacy PCs.

The i386 support is in heavy bit rot mode and needs a proper maintainer 
from my point of view.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the users mailing list