switch command in /boot

Tetsuya Isaki <[email protected]> Tue, 05 Aug 2014 23:08:01 +0900
Newsgroups gmane.os.netbsd.ports.x68k
Message-ID <x71tsvvxku.wl%[email protected]>
Hi all,

I wrote a simple manual for the 'switch' command on /boot
that was just committed.

--------

syntax

  'switch' (without any arguments) displays usage.
  'switch show' display all supported parameters.
  'switch <key>=<value>' style commands modify parameters.

  Currently the command supports just only three parameters:
    boot, rom and memory

parameter
  boot
	'boot' parameter indicates the boot device or the boot
	order. its valid values are:

	  boot=std
		set boot order to 'STD'.
		STD means FD (-> SASI) -> ROM -> RAM.
	  boot=fd<N>
		set primary boot device to FD0-FD3.
	  boot=rom
		set primary boot device to ROM.
		You must also set the ROM address properly.

	In addition, it supports two convenient alias:

	  boot=inscsi<N>
		set primary boot device to internal SCSI ID0-7.
		It's a combination of these two commands:
		  boot=rom
		  rom=inscsi<N>
	  boot=exscsi<N>
		set primary boot device to external SCSI ID0-7.

  rom
	'rom' parameter indicates the ROM boot address. its syntax is:

	  rom=$xxxxxx
		set the ROM boot address to $xxxxxx.
		('$' mark is required)

	and it also supports two convenient alias:

	  rom=inscsi<N>
		set the ROM boot address to $fc0000 + N * 4
	  rom=exscsi<N>
		set the ROM boot address to $ea0020 + N * 4

  memory
	'memory' parameter indicates the memory size recorded in SRAM.

	  memory=12     .. set the memory size to 12MB.

	maybe someone wants to implement memory=auto immediately :)

(EOF)
--------
---
Tetsuya Isaki <[email protected] / [email protected]>