Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 1998 16:22:01 -0700
From:      Mike Smith <mike@smith.net.au>
To:        randal@comtest.com
Cc:        Mike Smith <mike@smith.net.au>, freebsd-small@FreeBSD.ORG
Subject:   Re: Embeded applications? 
Message-ID:  <199805222322.QAA03133@dingo.cdrom.com>
In-Reply-To: Your message of "Fri, 22 May 1998 14:01:46 -1000." <199805222343.NAA07640@oldyeller.comtest.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805222322.QAA03133>