From owner-freebsd-small Fri May 22 17:27:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26843 for freebsd-small-outgoing; Fri, 22 May 1998 17:27:27 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA26836 for ; Fri, 22 May 1998 17:27:23 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id QAA03133; Fri, 22 May 1998 16:22:01 -0700 (PDT) Message-Id: <199805222322.QAA03133@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: randal@comtest.com cc: Mike Smith , freebsd-small@FreeBSD.ORG Subject: Re: Embeded applications? In-reply-to: Your message of "Fri, 22 May 1998 14:01:46 -1000." <199805222343.NAA07640@oldyeller.comtest.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 22 May 1998 16:22:01 -0700 From: Mike Smith Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > I still need to figure out once I have the kernel and MFS built. How to > > > transfer that to the flash drive? I need some kind of program that > > > can transfer an image to the flash drive using BIOS-INT 13H calls. > > > > Write the boot image to a floppy, boot DOS on the target system and use > > diskcopy. > > This would be fine if the target system was a floppy disk. But the target > system is emulating a BIOS hard drive. My understanding is diskcopy only > works from floppy to floppy. Whoops, I missed this one. Yes, this could cause you a problem. The solution is slightly nontrivial, unfortunately. Basically, you will need to tweak the part of the PicoBSD build process where it generates a 1.44MB image, and have it generate an image that contains a partition table. (See the stuff in the vnconfig manpage about this.) Keep the image under 1.44MB, so that you can still put it on a floppy. Then you can dump this on top of the flash disk using something like rawrite. You may need to roll some custom utilities for this. A slightly easier solution would be to get a PC104 IDE adapter, and use an old IDE disk to transfer stuff around. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message