Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jan 2013 00:20:41 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, svn-src-user@FreeBSD.org
Subject:   Re: svn commit: r245061 - user/hrs/releng/release/sparc64
Message-ID:  <50E909A9.2080102@freebsd.org>
In-Reply-To: <20130106.023817.477940685460339224.hrs@allbsd.org>
References:  <201301051623.r05GNIwK079250@svn.freebsd.org> <50E85612.1020903@freebsd.org> <20130106.023817.477940685460339224.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/05/13 12:38, Hiroki Sato wrote:
> Nathan Whitehorn <nwhitehorn@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E909A9.2080102>