Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 1999 22:18:52 +0100
From:      Michael Bretterklieber <mbretter@sbox.tu-graz.ac.at>
To:        freebsd-small@FreeBSD.org
Subject:   Re: DiskOnChip and PicoBSD in General
Message-ID:  <99122722272801.00579@babsi.tu-graz.ac.at>
In-Reply-To: <003c01bf4c22$46da1680$0dea5e18@mmcable.com>
References:  <003c01bf4c22$46da1680$0dea5e18@mmcable.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Mi , 22 Dez 1999 schrieben Sie:
> I've been recently thrown into the embedded development world, which has
> proven to be quite interesting.  I've used FreeBSD before (but not
> currently and not as an embedded OS), but only discovered PicoBSD
> tonight.  WOW.  It would sure beat having to use ROM-DOS (shudder) in my
> company's upcoming new project!  I have some questions:
> 
> 1. It looks like FreeBSD (and thus PicoBSD, I assume) has integrated
> support for M-Systems DiskOnChip products as of 3.3.  Can one configure
> PicoBSD to boot off of one?
> 

Yes. I made PicoBSD-images for 4MB-DiskOnChip-devices. 

> 2. I found info for making PicoBSD floppies, but not any for making ROM
> images -- other than the fact that you can.  Where might I find out how
> to do this?
> 
> 3. What kind of boot image will needoc2k4|DiskOnChip 2000 4MB Chip:\
> DiskOnChip?
> 

my disktab-entries:
...
doc2k4|DiskOnChip 2000 4MB Chip:\
        :dt=ESDI:ty=winchester:se#512:nt#8:ns#1:nc#986:\
        :pa#7888:oa#0:ba#0:fa#0:ta=4.2BSD:\
        :pc#7888:oc#0:bc#0:fc#0: 
...

and in the "stage1"-script, somewhere before the population of the
filesystem starts add:

...
vnconfig -u /dev/rvn0
dd of=picobsd.bin if=/dev/zero count=2880 bs=1k
vnconfig -c /dev/rvn0 picobsd.bin
disklabel -Brw -b /boot/boot1 -s /boot/boot2 /dev/rvn0 doc2k4
newfs -T doc2k4 -m 0 -o space /dev/rvn0c    
...


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/
Sorry for my bad english!
+-----------------------------------------------------------------+


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?99122722272801.00579>