From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 14:59:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BF7B835 for ; Thu, 30 Oct 2014 14:59:55 +0000 (UTC) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F0D01646 for ; Thu, 30 Oct 2014 14:59:54 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id tp5so5468824ieb.15 for ; Thu, 30 Oct 2014 07:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=XR4OlRD/fBQTvMxFuUPzBh4+8QcVOII3yg4nvuOktp0=; b=w3e/nIZu50Z6IYe6EYXpnILlAiYN2yaM6QpTgSgZq/l3zlWgsi5G+P9jq7K6Sy8rbz 4KrMsUgV66c8HO8rKtYEX3O01RNrT4qgbCsh994pspdMCqgXwcuO5Zow+pvOO86o/sAc 8VkO9HzQNQx7mysU9zSg3OvsqHp/o8g7ML4hR2f3zIO0ZnuOsggMCTpmJZd1e0Xzbi2F cRRX9noU8eRhT7DTqZuMR06zrjlXNB08YNK9w6DGNjl9Cmg/2NWYudIBIOrrnOouV1eo MNQBGvfV6FnE/xWKOyQLNTfGJNmzcvJLZblFS3GwilDxIzUWoNBdkFigtladgrSxas8U V/ZQ== X-Received: by 10.107.130.218 with SMTP id m87mr20109119ioi.8.1414681194351; Thu, 30 Oct 2014 07:59:54 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.29.207 with HTTP; Thu, 30 Oct 2014 07:59:34 -0700 (PDT) In-Reply-To: <1414622725.16625.22.camel@ammy.its.adelaide.edu.au> References: <1414622725.16625.22.camel@ammy.its.adelaide.edu.au> From: Ed Maste Date: Thu, 30 Oct 2014 10:59:34 -0400 X-Google-Sender-Auth: 9awyuywprs_38NwE02hrWEG-mY8 Message-ID: Subject: Re: Loader vs loader efi ficl incompatibility To: William Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 14:59:55 -0000 On 29 October 2014 18:45, William wrote: > Hi, > > To get my laptop working (Macbook pro) with freebsd, at boot you need to > outb to some memory locations before boot so that graphics works. Do you happen to have a good reference for the io ports you mention? I see them described on a number of Linux forums, but a canonical source would be nice. > Are there differences in the ficl interpreter between loader and > loader.efi? Is this perhaps a bug? The loader only includes inb and outb for i386 (the non-UEFI loader is 32-bit for both i386 and amd64): #ifdef __i386__ dictAppendWord(dp, "outb", ficlOutb, FW_DEFAULT); dictAppendWord(dp, "inb", ficlInb, FW_DEFAULT); #endif We'd need to make these available in the 64-bit loader.efi, although I'd really like to have MBP support be handled automatically in the loader itself.