From owner-freebsd-ppc@FreeBSD.ORG Sun Apr 18 23:13:48 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 383DE106566B for ; Sun, 18 Apr 2010 23:13:48 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id E3C568FC17 for ; Sun, 18 Apr 2010 23:13:47 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so1382686qwi.7 for ; Sun, 18 Apr 2010 16:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=sp5uO8wgjucNXYUyMRBcTRp974fsPRCdpOsvfTaTMqw=; b=b9K7QyhGRP03KwxAEVuzSEqfQEKzqV3jxBrGvs1zfDQf9B/IVl7yw5vToCR7QsSVKh u0Qx/NFlJcwKCFZSVIzefFWWBE23pSCuSv/hfo8dmeIK81bj6xnjm0WbVnO4WAbZIhpk VMhZ8qkYzYJHnlgx6MYiTrWx+9u9TgI17MFnI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fzdMSDZ/dxNhM5+S2Rg36Vu87tLkUuWWOFX3TxGMU9pcqAChV2xtREZYiNeV9XlB+r qFwHMeGvlHnOeyk2YOacOkzMG1qlxrdo23G5kYcszYr/NPyW6dxcpRlEQpLWilpTJlFu QR7TQrgmvTXIaETtm/nsCtC2cde5qLRQriHZ8= MIME-Version: 1.0 Received: by 10.229.28.85 with HTTP; Sun, 18 Apr 2010 16:13:46 -0700 (PDT) In-Reply-To: <675627.32516.qm@web110101.mail.gq1.yahoo.com> References: <675627.32516.qm@web110101.mail.gq1.yahoo.com> Date: Sun, 18 Apr 2010 16:13:46 -0700 Received: by 10.229.251.69 with SMTP id mr5mr5740743qcb.91.1271632426996; Sun, 18 Apr 2010 16:13:46 -0700 (PDT) Message-ID: From: Garrett Cooper To: Super Biscuit Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ppc@freebsd.org Subject: Re: On x86, boot1.hfs does not exist in /usr/src X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2010 23:13:48 -0000 On Sun, Apr 18, 2010 at 3:16 PM, Super Biscuit wrote: > %locate boot1 > /boot/boot1 > /usr/src/sys/boot/i386/boot2/boot1.S > /usr/src/sys/boot/powerpc/boot1.chrp > /usr/src/sys/boot/powerpc/boot1.chrp/Makefile > /usr/src/sys/boot/powerpc/boot1.chrp/Makefile.hfs > /usr/src/sys/boot/powerpc/boot1.chrp/boot1.c > /usr/src/sys/boot/powerpc/boot1.chrp/bootinfo.txt > /usr/src/sys/boot/powerpc/boot1.chrp/generate-hfs.sh > /usr/src/sys/boot/powerpc/boot1.chrp/hfs.tmpl.bz2.uu > /usr/src/sys/boot/sparc64/boot1 > /usr/src/sys/boot/sparc64/boot1/Makefile > /usr/src/sys/boot/sparc64/boot1/_start.s > /usr/src/sys/boot/sparc64/boot1/boot1.c Next time you should use probably grep not locate: $ grep -r boot1.hfs * | grep -v svn boot1.chrp/Makefile:FILES= boot1.hfs boot1.chrp/Makefile:boot1.hfs: boot1.elf bootinfo.txt boot1.chrp/Makefile:CLEANFILES= boot1.hfs > Once the disk is partitioned, you must install the bootloader by hand to the > 800 K partition. If that is ad0s1, you can do that as follows: > dd if=/boot/boot1.hfs of=/dev/ad0s1" make -C sys/boot/powerpc/boot1.chrp all install ? You also might want to read more information about chrp: http://en.wikipedia.org/wiki/Common_Hardware_Reference_Platform > My options for building it are: x86 FreeBSD or Debian powerPC. How in the world does Debian PPC factor into the equation? > I am also seeing uboot and a few maps in /usr/src. > Can this be placed such that yaboot would let it load? If you're really determined to use yaboot on your Mac, here's something I popped up with a simple search: http://ubuntuforums.org/archive/index.php/t-198983.html . The first and fourth posts are the posts you should probably pay attention to. There are also some posts on forums.freebsd.org that might be of some use (there's a powerpc section of the forums), as well as archives for this mailing list. Thanks, -Garrett