From owner-svn-src-user@FreeBSD.ORG Sun Jan 6 05:20:45 2013 Return-Path: Delivered-To: svn-src-user@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EE50A9B; Sun, 6 Jan 2013 05:20:45 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id C8572260; Sun, 6 Jan 2013 05:20:45 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0MG600J00UUKZV00@smtpauth1.wiscmail.wisc.edu>; Sat, 05 Jan 2013 23:20:44 -0600 (CST) Received: from wanderer.tachypleus.net (dhcp107-17-54-205.hil-sfofhhh.sfo.wayport.net [107.17.54.205]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0MG600CJRUUIGE40@smtpauth1.wiscmail.wisc.edu>; Sat, 05 Jan 2013 23:20:43 -0600 (CST) Date: Sun, 06 Jan 2013 00:20:41 -0500 From: Nathan Whitehorn Subject: Re: svn commit: r245061 - user/hrs/releng/release/sparc64 In-reply-to: <20130106.023817.477940685460339224.hrs@allbsd.org> Sender: whitehorn@wisc.edu To: Hiroki Sato Message-id: <50E909A9.2080102@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=107.17.54.205 X-Spam-PmxInfo: Server=avs-15, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.1.6.51219, SenderIP=107.17.54.205 References: <201301051623.r05GNIwK079250@svn.freebsd.org> <50E85612.1020903@freebsd.org> <20130106.023817.477940685460339224.hrs@allbsd.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 Cc: src-committers@FreeBSD.org, svn-src-user@FreeBSD.org X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2013 05:20:46 -0000 On 01/05/13 12:38, Hiroki Sato wrote: > Nathan Whitehorn wrote > in <50E85612.1020903@freebsd.org>: > > nw> With these changes, if you add -B big to the makefs flags for the boot > nw> fs and find a way to do sunlabel on not-sparc64 (this is the same as > nw> geom_part_vtoc8, right?), you should be able to cross-build sparc64 > nw> media (as you can already do with all other platforms). > > Thank you! I will add -B to makefs. So, is a powerpc build on LE > platforms also affected? > > For sunlabel replacement I am trying gpart since g_part_vtoc8 is > available as a kernel module even for non-sparc64 platforms. > However, it is difficult to set CHS parameters manually. In the ISO > image generation script, I just concatenated an ISO image and a UFS > image then wrote a VTOC8 label over it. While this needs the offset > parameter of the UFS image and it must be in cylinders, the > sectors/cylinder parameter is dynamically determined by the media > size. > > -- Hiroki > PPC ISO generation already has all the correct flags (and uses g_part_apm), and so already can be cross-built. I haven't tried IA64 but it looks like it should work. -Nathan