From owner-freebsd-small Sat May 8 8: 1:42 1999 Delivered-To: freebsd-small@freebsd.org Received: from ns1.tu-graz.ac.at (ns1.tu-graz.ac.at [129.27.2.3]) by hub.freebsd.org (Postfix) with ESMTP id 27187155E3 for ; Sat, 8 May 1999 08:01:37 -0700 (PDT) (envelope-from mbretter@sbox.tu-graz.ac.at) Received: from babsi.tu-graz.ac.at (teleweb-17.vc-graz.ac.at [193.171.247.17]) by ns1.tu-graz.ac.at (8.8.6/8.8.6) with SMTP id RAA01691 for ; Sat, 8 May 1999 17:01:35 +0200 (MET DST) From: Michael Bretterklieber To: freebsd-small@FreeBSD.ORG Subject: Re: 4MB DiskOnChip Date: Sat, 8 May 1999 16:59:14 +0200 X-Mailer: KMail [version 1.0.17] Content-Type: text/plain References: <37320638.FB5D8844@gta.com> MIME-Version: 1.0 Message-Id: <99050817043500.00291@babsi.tu-graz.ac.at> Content-Transfer-Encoding: 8bit X-KMail-Mark: Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Am Do , 06 Mai 1999 schrieb Larry Baird: > Has anyone had any luck booting from a 4MB diskOnChip using FreeBSD > 3.1.0? > Yes, It works fine. > I can boot just fine from a 2MB model. > > I get the following error from boot2 when it tries to load loader: > Disk error 0x1 (lba=0x1af0) > > If I revert back to the 2.2.8 boot2 file I get: > 1724 > 1023 (BIOS limit) > > Chasing thru the code it would appear that when boot1 uses int13 to read > > the drive parameters from bios, they are somehow incorrect. I just > need > to figure out how to get some I/O out of this assembly code to prove > this > theory. > I use the bootloader from 3.1-RELEASE. I prepared the DOC2k disk with this script #!/bin/sh dd if=/dev/zero of=/dev/rfla0 count=64 fdisk -v -f doc2k4.conf -i fla0 disklabel -w -r fla0 auto disklabel -B -b /boot/boot1 -s /boot/boot2 fla0 newfs /dev/fla0s1c and doc2k4.conf: p 1 165 0 7888 a 1 Bye, -- \|/ @ @ +---------------------------oOO-(_)-OOo---------------------------+ Michael Bretterklieber Office: Michael.Bretterklieber@gamed.com Privat: mbretter@sbox.tu-graz.ac.at URL: http://www.sbox.tu-graz.ac.at/home/m/mbretter/ +-----------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message