Update of NetBSD bring-up

Udo Möller <[email protected]> Mon, 22 Feb 2010 13:53:50 +0100
Newsgroups gmane.os.netbsd.ports.pc532
Organization http://freemail.web.de/
Message-ID <[email protected]>
Hi,

Matthias was right with his suggestion to create a more complete emulation=
 of the DUART. After adding the second
channel the install kernel started and showed the prompt "#" !

The next step was to learn more about installing. Simple execution of the =
"install" script does not work. The script
wanted to write something on the ram-disk but this device is read-only. Ag=
ain Matthias helped me and suggested
to do the work of the script by hand.

I did the following :

disklabel -i -I sd0 :            created 2 partitions , one 4.2BSD and the=
 other boot
bim :                                  "add /usr/mdec/boot boot"
newfs /dec/rsd0a hallo
mount -v /dev/sd0a /mnt

And the sd0a is alive ! I could copy, do ls and it is fascinating to watch=
 in the emulation where it is reading and writing.

Then I prepared the disk for booting :

cp /tmp/.hdprofile to /mnt/.profile
put the netbsd.GENERIC kernel of the web on it
cp instbin to /mnt/instbin

This instbin is a container with a lot of usefull programs in it. Therefor=
e I think it is necessary for further work until the
rest is installed. The install.html document does not tell any details abo=
ut it . In the install script I found a command

pax -Xrwpe . /mnt

It did not work because pax is missing in the install package. Is it neces=
sary =3F Another question is FSTAB : what is it =3F
The install script did something (with the help of sed .... brr) and creat=
es an FSTAB.

I did a reboot which started the Autoboot ROM Monitor. Then "boot" ...

Unfortunately it stop booting and jumped back in the ROM Monitor. Two mess=
ages may be critical :

Warning : no /dev/console
init : not found
panic : no init

I assume that the things I put on the sd0 are not sufficient to start the =
system. The install.html does not helped me.
What is missing =3F Do I have to extract the etc-package before I reboot =3F

My plan for the next time has changed : I to stop the emulation of the har=
d disk. After gaining some experience with the
software I have already written I expect serious problems when the emulate=
d hard-disk is not fully put into main memory.
Then the host system has to read and write data from the real HDD and at t=
he same time the PC532 is sending data. To
get this done errorfree might take a while and will be potentially frustra=
ting.

I choose the direct way : I will attach a 2,5 inch HDD directly to the FPG=
A . This is possible without buffers because the
FPGA has 5V tolerant IOs. In the FPGA I will keep the SCSI IF for the PC53=
2 software. The host will only sent commands,
the real data transfer will happen inside the FPGA. This solution should b=
e faster too. The databus between the
FPGA and the NS32532 is 32 bits wide and the IDE has a 16 bit databus. I w=
ill use a simple 2,5 inch to 3,5 inch cable with
connectors and rework the 3,5 inch side. From a hardware point of view it =
should not be so much work.

But first I want to do a succesfull boot from the SW emulation ...

Regards,
Udo

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
GRATIS f=FCr alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de