From owner-freebsd-ppc@FreeBSD.ORG Wed Feb 17 16:00:58 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 B57AD106568B for ; Wed, 17 Feb 2010 16:00:58 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC288FC18 for ; Wed, 17 Feb 2010 16:00:58 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id AA87F582A6; Wed, 17 Feb 2010 10:00:57 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id sMbyWhjEn0pk; Wed, 17 Feb 2010 10:00:57 -0600 (CST) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-200.icecube.wisc.edu [172.16.55.200]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 83E33582A5; Wed, 17 Feb 2010 10:00:57 -0600 (CST) Message-ID: <4B7C12B9.2040703@freebsd.org> Date: Wed, 17 Feb 2010 10:00:57 -0600 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.23 (X11/20091207) MIME-Version: 1.0 To: Andreas Tobler References: <4B7B1BBE.3070007@fgznet.ch> In-Reply-To: <4B7B1BBE.3070007@fgznet.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: Fwd: Re: powerpc64 status and request for testers 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: Wed, 17 Feb 2010 16:00:58 -0000 Andreas Tobler wrote: > >> >> >> host imac { >> hardware ethernet 0:d:93:48:c2:86; >> filename "loader.ppc64"; >> option root-path "/usr/netboot/powerpc64"; > > There is no hard coding of directory names, ppc64 vs powerpc64 ? > > The exports options for your /usr/netboot/powerpc64 are similar to mine? > > /export/netboot/ppc64 -alldirs 192.168.225.60 /usr/netboot/powerpc64 -maproot=root You also don't need the server IP in option root-path -- you can see diskless(7) for more info on that. >> next-server 10.0.1.37; >> } >> >> Also, options SMP isn't in GENERIC, so you may want to add that for full >> support of your machine. > > Added. > > Well, I had my problems building world on both powerpc and powerpc64. > > On powerpc I failed with some stuff in gdb, bfd_elf64_powerpc_vec > unreferenced... > > Helped myself with make -i since I do not need gdb now. It's possible I have broken building a 32-bit world, so thanks for pointing that out. > Then in powerpc64 I see the following: > > cc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wold-style-definition -Wno-pointer-sign -o uathload uathload.o ar5523.o > ar5523.o: file not recognized: File truncated > > I work around with make -i. The dangerous thing, I do not see if there > are further errors... That is very odd and should not happen. I'll look into it. Also, you asked about memory above 2 GB. It should be recognized and should work, but using DMA to that memory will likely fail in interesting ways since some bus dma support bits are not yet implemented. -Nathan