Subject: Note for installing w/out autoboot monitor
To: list NetBSD port-pc532 <port-pc532@netbsd.org>
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
List: port-pc532
Date: 12/26/2002 16:08:53
This note complements the information about booting the pc532
when not using the autoboot ROM. The current INSTALL document
is not telling.

  ----------------------------------

After the installation finishes you can find out the details of the
boot image using bim, e.g. on sd0:

# bim /dev/rsd0c
Disk: mysd1   Type: SCSI disk
Physical Sector Size = 512
Disk Size = 891574
 partition         type  sector start  length in sectors
     a          4.2BSD             0             783700
     b            swap        783700              92200
     h            boot        885120               6454

Boot partition = h
Default boot image  = 0
Boot Images: total of 8
  (image address and size in sectors.)
Image  address   size  load addr  run addr   name
    0        0     72   0x3be000  0x3be020   boot


You now have the details for booting the image, in this case:
	read d'885120 3be000 d'72
	run 3be020

If you constructed the disk yourself then you need to first
install the boot image. Again, using bim, the commands are:
	add /usr/mdec/boot boot
	default 0
	q

If you get a message asking to initialise the boot images
then you probably should accept it, then proceed with the
above commands.

If the disk is not mounted on /, but, say, on /mnt, then use
the boot image in /mnt/usr/mdec/boot.


--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>