From owner-freebsd-hackers Thu May 14 06:09:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA24699 for freebsd-hackers-outgoing; Thu, 14 May 1998 06:09:56 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from att.com (kcgw2.att.com [192.128.133.152]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA24694 for ; Thu, 14 May 1998 06:09:52 -0700 (PDT) (envelope-from sbabkin@dcn.att.com) From: sbabkin@dcn.att.com Received: by kcgw2.att.com; Thu May 14 07:51 CDT 1998 Received: from dcn71.dcn.att.com ([135.44.192.112]) by kcig2.att.att.com (AT&T/GW-1.0) with ESMTP id IAA24582 for ; Thu, 14 May 1998 08:09:50 -0500 (CDT) Received: by dcn71.dcn.att.com with Internet Mail Service (5.0.1458.49) id ; Thu, 14 May 1998 09:09:40 -0400 Message-ID: To: abial@nask.pl Cc: hackers@FreeBSD.ORG, al@cn.ua Subject: RE: Q. Work on boot code for Intel Flash 2 PCMCIA card? Date: Thu, 14 May 1998 09:09:35 -0400 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > ---------- > From: Andrzej Bialecki[SMTP:abial@nask.pl] > > > I think the best solution would be to make an ISA card (yes, ISA, > > not PCI because there are many other good things to insert into > > PCI slots while ISA slots are commonly unused) that makes interface > > to a flash card through a 8K (or some other small) window, exposing > > the first 8K of flash memory at boot up. It must be mapped into ISA > > hole. This will allow to put the bootstrap code into this area of > the > > flash memory, that will be automatically called by any BIOS during > > boot-up. This bootstrap can then do anything from immediate boot > > to simulating a floppy drive. May be a good idea would be to have > > two independently mapped 8K or 4K sized windows for convenience of > > the bootstrap code. > > Have you done any testing with something similar, or written some > code...? > No. That's why I wrote "would be". But writing the bootstrap code in case such a card would exist would be very straightforward. Simulation of a floppy drive will require to intercept interrupt 14h (if I remember correctly) and then you can use the ordinary floppy boot code. Bootstrapping immediately from the flash would not be difficult either, just take the standard boot code, replace calls to BIOS with flash memory reads and write a small piece of code that brings the main bootstrap to memory. -Serge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message