From owner-freebsd-current@FreeBSD.ORG Sun Apr 9 22:02:18 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86CE516A405 for ; Sun, 9 Apr 2006 22:02:18 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7321C43D48 for ; Sun, 9 Apr 2006 22:02:12 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.47] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.4/8.13.4) with ESMTP id k39MHIKC090903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 9 Apr 2006 15:17:20 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <44398452.6030007@FreeBSD.org> Date: Sun, 09 Apr 2006 15:01:54 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Bruce M Simpson , Luigi Rizzo , Mark Sergeant , freebsd-current@FreeBSD.org References: <4433CFA1.90509@centtech.com> <2C74BB8F-271B-4505-9D94-B270B3A4ACBA@nordahl.net> <44348603.9070503@FreeBSD.org> <20060406190944.G56354@lexi.siliconlandmark.com> <4435B303.5040205@FreeBSD.org> <196C209A-A585-4AD5-B7C9-A27DD57ECD8C@snsonline.net> <20060408103224.GR80492@spc.org> <20060408034357.A44217@xorpc.icir.org> <20060408105014.GV80492@spc.org> In-Reply-To: <20060408105014.GV80492@spc.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: [DOCUMENT] Re: Intel Macs that boot FreeBSD? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2006 22:02:18 -0000 Some progress: further investigation revealed that cdboot has been hanging when trying to enable A20 line, apparently Mac simply don't have relevant legacy hardware. After commenting out appropriate routine call in cdboot I was able to get loader working just fine. The loader works normally, but unfortunately attempt to start kernel hangs up machine. I suspect that either Mac doesn't have real text mode or kernel also waits for some nonexisting legacy hardware indefinitely. -Maxim Bruce M Simpson wrote: > On Sat, Apr 08, 2006 at 03:43:58AM -0700, Luigi Rizzo wrote: >> Ii wonder if we can do more progress if we use >> a picobsd-like approach namely bypass btx and load the kernel >> directly. Reading your list we may well get stuck at the pci >> probe, but at least we should see the initial kernel messages. > > I would suggest that anyone who wants to get FreeBSD booting on the > mini-mac purchases a port 0x80 POST diag card (<$10 on eBay), and > instruments the early boot paths to output to such a device. > > If hacking kernel code then probably quicker to just use NFS and > PXE for starter bootstrap :-) > > Of course those of us who are lucky enough to have a PCI logic analyzer > (not me, though I bought an FPGA card explicitly for this purpose, > ENOTIME to learn hardware design language) will be able to do this > right away. > > It shouldn't be too difficult to implement PCI Configuration Register > Type 1 support. Ideally of course we'd support EFI natively w/o the shim. > > Regards, > BMS > >