From owner-freebsd-amd64@FreeBSD.ORG Tue Jan 3 23:32:16 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1304616A41F for ; Tue, 3 Jan 2006 23:32:16 +0000 (GMT) (envelope-from markus@trippelsdorf.de) Received: from blue-ld-041.synserver.de (blue-ld-041.synserver.de [217.119.50.242]) by mx1.FreeBSD.org (Postfix) with SMTP id 7C21C43D48 for ; Tue, 3 Jan 2006 23:32:14 +0000 (GMT) (envelope-from markus@trippelsdorf.de) Received: (qmail 14557 invoked by uid 0); 3 Jan 2006 23:32:04 -0000 X-SynServer-RemoteDnsName: port-212-202-34-162.dynamic.qsc.de X-SynServer-AuthUser: markus@trippelsdorf.de Received: from port-212-202-34-162.dynamic.qsc.de (HELO bsd.trippelsdorf.de) (212.202.34.162) by mx-07.synserver.de with SMTP; 3 Jan 2006 23:32:04 -0000 Date: Wed, 4 Jan 2006 00:32:10 +0100 From: Markus Trippelsdorf To: John Baldwin Message-ID: <20060103233210.GB688@bsd.trippelsdorf.de> References: <200512301245.57820.andrea@brancatelli.it> <20060103171458.GA688@bsd.trippelsdorf.de> <43BAB237.8020002@samsco.org> <200601031306.25611.jhb@freebsd.org> <20060103222717.GA688@bsd.trippelsdorf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060103222717.GA688@bsd.trippelsdorf.de> Cc: freebsd-amd64@freebsd.org Subject: Re: AMD64 boot floppies X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 23:32:16 -0000 On Tue, Jan 03, 2006 at 11:27:17PM +0100, Markus Trippelsdorf wrote: ... > > > > Should be pretty simple actually (untested): > > > > Index: Makefile > > =================================================================== > > RCS file: /usr/cvs/src/release/Makefile,v > > retrieving revision 1.895 > > diff -u -r1.895 Makefile > > --- Makefile 2 Jan 2006 13:29:58 -0000 1.895 > > +++ Makefile 3 Jan 2006 18:05:12 -0000 > > @@ -219,6 +219,12 @@ > > MFSLABEL= auto > > SEPARATE_LIVEFS= > > .elif ${TARGET_ARCH} == "amd64" > > +MAKE_FLOPPIES= true > > +FLOPPYSIZE= 1440 > > +FLOPPYSPLITSIZE= 1392 > > +FLOPPYINODE= 40000 > > +FLOPPYLABEL= fd1440 > > +BOOTINODE= 80000 > > MFSSIZE= 4096 > > MFSINODE= 8192 > > MFSLABEL= auto > > > ... > Making the kernel boot floppies... > sh /usr/src/release/scripts/split-file.sh /R/stage/kernels/kernel.gz > /R/stage/floppyset/kern "Kernel" > + FILE=/R/stage/kernels/kernel.gz > + shift > + DEST=/R/stage/floppyset/kern > + shift > + CHUNK_SIZE=Kernel > + shift > + DESCR= > + shift > shift: can't shift that many > *** Error code 2 It's actually working. I had to copy the patched Makefile to the chrootdir by hand. Then I did a "make floppies.1" and now have four floppy images in the /R/stage/floppies directory. Sorry for the noise; I will test the images tomorrow. -- Markus