From owner-freebsd-questions@FreeBSD.ORG Sun Nov 2 11:35:29 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B95A74BB; Sun, 2 Nov 2014 11:35:29 +0000 (UTC) Received: from mail.firstyear.id.au (2001-44b8-016a-0004-0000-0000-0000-0001.static.ipv6.internode.on.net [IPv6:2001:44b8:16a:4::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6BEB6AAE; Sun, 2 Nov 2014 11:35:29 +0000 (UTC) Received: from [IPv6:2001:44b8:16a:3::1ab] (unknown [IPv6:2001:44b8:16a:3::1ab]) by mail.firstyear.id.au (Postfix) with ESMTPSA id 34E94453C457; Sun, 2 Nov 2014 22:05:26 +1030 (ACDT) Message-ID: <1414928126.23886.5.camel@ammy.its.adelaide.edu.au> Subject: Re: Loader vs loader efi ficl incompatibility From: William To: Adrian Chadd Date: Sun, 02 Nov 2014 22:05:26 +1030 In-Reply-To: References: <1414622725.16625.22.camel@ammy.its.adelaide.edu.au> <1414714882.16625.43.camel@ammy.its.adelaide.edu.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=5.0 tests=RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lyra.ipa.blackhats.net.au 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: Sun, 02 Nov 2014 11:35:29 -0000 Hi, On Fri, 2014-10-31 at 18:45 -0700, Adrian Chadd wrote: > Hi! > > Is the code anywhere public? If not, would you actually publish it somewhere? It's not public yet, but I plan to release the code plus documentation on how to make freebsd work on one of the Macbook pro's on my blog once I'm done. Any changes I make to core freebsd components I will of course submit as a patch. > > I'm glad you're digging into this! It sounds like it's a real > pre-requisite to make these laptops useful in FreeBSD. Yes, it really is! They are sadly quite unusable without these steps in freebsd, or linux. I'll report back to this thread when I have done some more. At this point I have patched the amd64 version of loader to support outb / inb, and I have ran a test of this functionality which worked. Sadly, I choose to test against the "power the discrete card off" switch without anything else, so now my freebsd boots to a black screen (Oops). I'll fix it up tomorrow morning once I get to work and create a live cd to fix up boot.4th. Any pointers on how to write a forth script that would run "after the user presses enter at loader, but before the kernel is loaded" would be much appreciated. >From there I hope to get Xorg working. At that point, I'll send a patch of what I did to loader to the correct mailing list (Is freebsd-devel correct?), and I'll take some notes. After than once I get wireless and some other bits working, I'll publish the kernel module, and the documentation. -- William