Subject: =?iso-8859-1?Q?tough_problem_with_fla0a?=
To: None <>
From: None <>
List: tech-embed
Date: 10/10/2005 18:40:01
Good morning list,
I have a problem. My situation is that I have a pci board straight from
manufacturing. So it's blank. It has an AMD cpu on it, flashmemory and
some ram.
It's a NIC.
I want it to run openbsd, so I built a minimal kernel with the /dev/fla
device compiled in the kernel. the whole thing, kernel, /usr, /sys,
/etc and so on is tared
to a file named openbsd.tar
I have built a disk image with the following:

# dd if=/dev/zero of=disk.image bs=512k count=28
28+0 records in
28+0 records out
14680064 bytes transferred in 0.021 secs (668217215 bytes/sec)
# vnconfig -v -c svnd0 disk.image
svnd0: 14680064 bytes on disk.image
# disklabel -w svnd0 flashroot
# newfs -O -m 0 -o space -i 5120 -c 30 /dev/rsvnd0a
/dev/rsvnd0a:   15360 sectors in 30 cylinders of 4 tracks, 128 sectors
        7.5MB in 1 cyl groups (30 c/g, 7.50MB/g, 1504 i/g)
super-block backups (for fsck -b #) at: 32,
# mount /dev/svnd0a /mnt
# tar xpvf openbsd.tar -C /mnt
# umount /mnt
# vnconfig -u svnd0

This is where I am stuck.

question 1: I have the following in my /etc/disktab. How do I configure
space for 16MB for example? I still don't get how disktab works.

question2: Now that I have this image (disk.image), how do I flash it on
the flashmemory on the pci board?
Also how can I set the MAC address in the process?
Do you know of any special adapter, utility, tools, anything else to do

Thank you,