[LinuxBIOS] LinuxBIOS and FreeBSD

Uwe Hermann uwe at hermann-uwe.de
Thu Oct 25 18:54:40 CEST 2007


On Thu, Oct 25, 2007 at 04:44:28PM +0200, Philip Schulz wrote:
>   I recently played around with LinuxBIOS and FreeBSD. In short, it 
> somewhat works in QEMU using ADLO, see [1]. While trying to build 

Great to hear, thanks!


> LinuxBIOS and ADLO on FreeBSD, I came across some problems. They all 
> come from the assumption that "make" is "GNU make" which isn't true on 
> the BSDs. I've uploaded some really hackish patches to [2]. 

Please post all patches to the list, with a Signed-off-by:
http://linuxbios.org/index.php/Development_Guidelines#Sign-off_Procedure

Much easier to review that way, and we don't commit any patches which
are lacking a proper Signed-off-by line.


> Unfortunately, I have no idea how to detect FreeBSD from a Makefile or a 
> Python script. But maybe someone on this list knows and wants enhance 
> the patches so they can be included in the LinuxBIOS tree.

There are some good hints in the Debian GNU/kFreeBSD porting website:
http://glibc-bsd.alioth.debian.org/porting/PORTING

Partly Debian/kFreeBSD specific, but most of it should also be true for
plain FreeBSD.

Most of your patch is just make -> gmake, so it should be easy to use
$(MAKE) everywhere and set that to "gmake" on FreeBSD and "make"
everywhere else.


> [1] http://linuxbios.org/index.php/Booting_FreeBSD_using_LinuxBIOS

Nice, thanks for adding that page!

Can you please attach a license to that wiki page? Either GPL, or
Creative Commons, or public domain, anything free-ish will do.
There are wiki templates you can use, e.g. {{GPL}}, {{PD-self}} etc.


Thanks, Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071025/943c04a9/attachment.sig>


More information about the coreboot mailing list