svn commit: r245061 - user/hrs/releng/release/sparc64

Nathan Whitehorn nwhitehorn at freebsd.org
Sun Jan 6 05:20:46 UTC 2013


On 01/05/13 12:38, Hiroki Sato wrote:
> Nathan Whitehorn <nwhitehorn at freebsd.org> wrote
>   in <50E85612.1020903 at 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


More information about the svn-src-user mailing list