From 9fans-admin@cse.psu.edu Fri Jun 15 01:33:29 2001
Received: from mailman.lanl.gov (mailman.lanl.gov [128.165.5.1]) by acl.lanl.gov
(8.11.3/8.8.5) with ESMTP id f5F7XSp3068716; Fri, 15 Jun 2001 01:33:28 -0600 (MDT)
Received: from mailproxy1.lanl.gov (mailproxy1.lanl.gov [128.165.0.26])
	by mailman.lanl.gov (8.10.1/8.10.1/(cic-5, 6/12/00)) with ESMTP id
	f5F7XSm04765;
	Fri, 15 Jun 2001 01:33:28 -0600
Received: from mail.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6])
	by mailproxy1.lanl.gov (8.11.4/8.11.4/(ccn-5)) with ESMTP id f5F7XSE12083;
	Fri, 15 Jun 2001 01:33:28 -0600
Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.20.6])
	by mail.cse.psu.edu (CSE Mail Server) with ESMTP
	id 6CD4D199FD; Fri, 15 Jun 2001 03:33:13 -0400 (EDT)
Received: from nautilus.dat.escet.urjc.es (nautilus.dat.escet.urjc.es
[212.128.1.37])
	by mail.cse.psu.edu (CSE Mail Server) with SMTP id 09C19199E9
	for <9fans@cse.psu.edu>; Fri, 15 Jun 2001 03:32:16 -0400 (EDT)
To: 9fans@cse.psu.edu
From: "F.J.Ballesteros" <nemo@gsyc.escet.urjc.es>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Message-Id: <20010615073217.09C19199E9@mail.cse.psu.edu>
Subject: [9fans] change to bitsy/devsac.c to use the new bootldr
Sender: 9fans-admin@cse.psu.edu
Errors-To: 9fans-admin@cse.psu.edu
X-BeenThere: 9fans@cse.psu.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
Reply-To: 9fans@cse.psu.edu
List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu>
List-Archive: <http://lists.cse.psu.edu/archives/9fans/>
Date: Fri, 15 Jun 2001 09:28:11 +0200
Status: RO
X-Status:

Hi,

	To load and use a ramdisk on the bitsy with
the new boot loaders you need to change devsac.c:

where it said
	p = (uchar*)Flash_tar+4;
it should say now
	p = (uchar*)Flash_tar;

This seems to be due to a change in the bootldr that
now has a partition table. So the tar file created in
ramdisk now gets placed exactly at 0x100000, not at
0x100004. Beware that this change can make devsac.c
fail with previous verions of the bootldr, but you are
likely to upgrade it anyway...

BTW, you also need to create a ramdisk partition in the
bootldr. I'll post in a minute an updated howto file
(i.e. Booting101) for the new bootldr.