#
80f696ba |
| 14-Feb-2015 |
tsutsui <tsutsui@NetBSD.org> |
Use proper signedness and exact-width interger types.
|
#
5e6d10a7 |
| 21-Apr-2014 |
tsutsui <tsutsui@NetBSD.org> |
Fix stupid botches in previous.
Use a proper device unit number if a unit number or non-default device is specified on the boot command.
|
#
5f88d6cf |
| 16-Apr-2014 |
tsutsui <tsutsui@NetBSD.org> |
Use booted device unit if no unit number is specified on boot command.
Bump version to denote a visible change.
|
#
beb6a219 |
| 11-Jan-2014 |
tsutsui <tsutsui@NetBSD.org> |
Remove unused declarations.
|
#
7fc9a0e5 |
| 11-Jan-2014 |
tsutsui <tsutsui@NetBSD.org> |
Add support to pass boothowto and bootdev info from bootloader to kernel.
Bootloader side changes: - make boot command parse boothowto flags (-ads etc.) - pass boothowto and bootdev info to the kern
Add support to pass boothowto and bootdev info from bootloader to kernel.
Bootloader side changes: - make boot command parse boothowto flags (-ads etc.) - pass boothowto and bootdev info to the kernel via %d7 and %d6 as the old 4.4BSD/luna68k kernel expected - remove unused and now unnecessary "howto" (how_to_boot) command - export and tweak make_device() in devopen.c to prepare bootdev info - remove unused and commented out get_boot_device()
show more ...
|
#
9050c0c4 |
| 10-Jan-2014 |
tsutsui <tsutsui@NetBSD.org> |
Reorgenize boot device configuration. The idea is taken from OpenBSD/luna88k.
- remove kernel-like autoconfiguration to probe bootable devices - initialize SCSI and Ethernet controllers statically
Reorgenize boot device configuration. The idea is taken from OpenBSD/luna88k.
- remove kernel-like autoconfiguration to probe bootable devices - initialize SCSI and Ethernet controllers statically instead - reorganize device softc structures per autoconf removal - probe and print all SCSI disks (but don't assign unit numbers) - make sdopen() to recheck the device and allocate softc dynamically - use controller number and SCSI target ID (ctlr * 10 + id) to specify the boot disk on the "boot" command arg - bump version to denote changes
Now bootloader works as the following: --- >> NetBSD/luna68k boot, Revision 1.8 (Wed Jan 8 22:13:12 JST 2014) >> (based on Stinger ver 0.0 [Phase-31])
Machine model = LUNA-II Physical Memory = 0x4000000 (64 MB)
sc0 at 0xe1000000: async, parity, ID 7 ID 3: TEAC FC-1 HGF 10 rev , 512 bytes/sect x 2879 sectors ID 6: IBM DPES-31080 rev S31Q, 512 bytes/sect x 2118143 sectors sc1 at 0xe1000040: async, parity, ID 7 ID 6: MELCO DSC-G rev 1.00, 512 bytes/sect x 62533295 sectors le0: Am7990 LANCE Ethernet, mem at 0x71010000 le0: Ethernet address = 00:00:0a:03:42:77
Press return to boot now, any other key for boot menu booting sd(16,0)netbsd - starting in 0 seconds. auto-boot sd(16,0)netbsd 1911696+96040 [280480+159179]=0x255a30 :
show more ...
|
#
67d65728 |
| 03-Jan-2014 |
tsutsui <tsutsui@NetBSD.org> |
Pull more cleanups from OpenBSD/luna88k:
- remove unused declarations - rename struct scsi_fmt_cdb to scsi_generic_cdb
|
#
3960a3d3 |
| 03-Jan-2014 |
tsutsui <tsutsui@NetBSD.org> |
Pull more fixes from OpenBSD/luna88k:
- Bring getline() - a.k.a libsa gets() with a prompt prefix - in par with libsa gets(), featurewise; this means support for ^u to clear the input. - constify
|
#
d10d11e3 |
| 03-Jan-2014 |
tsutsui <tsutsui@NetBSD.org> |
Pull more fixes from OpenBSD/luna88k:
- accept empty controller and partition numbers, as well as empty filenames, and use defaults (0, 0 and "netbsd") instead of complaining the boot path is in
Pull more fixes from OpenBSD/luna88k:
- accept empty controller and partition numbers, as well as empty filenames, and use defaults (0, 0 and "netbsd") instead of complaining the boot path is invalid - move a macro where actually necessary
Also bump version to denote the user visible change.
show more ...
|
#
cea9f7c9 |
| 02-Jan-2014 |
tsutsui <tsutsui@NetBSD.org> |
Misc cleanup. Mostly from OpenBSD/luna88k.
- fix isprint() macro - hight -> height - remove an unused function - adjust tabs/spaces - constify the bitmap font - consistently use #define<space> - us
Misc cleanup. Mostly from OpenBSD/luna88k.
- fix isprint() macro - hight -> height - remove an unused function - adjust tabs/spaces - constify the bitmap font - consistently use #define<space> - use #if 0/#endif to disable code block - u_long -> uint32_t, u_short -> uint16_t - some KNF
show more ...
|
#
cf850ca7 |
| 05-Mar-2013 |
tsutsui <tsutsui@NetBSD.org> |
Check netboot and set proper default boot device. Also bump version.
|
#
20a65884 |
| 22-Jan-2013 |
tsutsui <tsutsui@NetBSD.org> |
Whitespace cleanup.
|
#
ad42ea66 |
| 21-Jan-2013 |
tsutsui <tsutsui@NetBSD.org> |
Add support for "await key" to abort autoboot and get boot menu. Also add command help. Bump version.
|
#
6f4c1c32 |
| 20-Jan-2013 |
tsutsui <tsutsui@NetBSD.org> |
Remove unused bmcintr() function.
|
#
5fde9c84 |
| 16-Jan-2013 |
tsutsui <tsutsui@NetBSD.org> |
Add UFS2 support. Also bump version.
|
#
8b29537e |
| 16-Jan-2013 |
tsutsui <tsutsui@NetBSD.org> |
Enable and add ls command for ufs.
|
#
987b65ae |
| 14-Jan-2013 |
tsutsui <tsutsui@NetBSD.org> |
Fix drivers to make secondary SPC SCSI on LUNA-II work properly. Also bump version.
Now we can load a NetBSD kernel from external SCSI disks on LUNA-II. (and netboot on LUNA-II also works)
|
#
178c9da1 |
| 13-Jan-2013 |
tsutsui <tsutsui@NetBSD.org> |
Add netboot support. Based on ews4800mips, mvme68k, and x68k standalone drivers. Also bump version.
Tested on LUNA-I.
XXX: We really need proper documents about libsa APIs.
|
#
7d1dc774 |
| 12-Jan-2013 |
tsutsui <tsutsui@NetBSD.org> |
Check cputype and set machine type (LUNA-I or LUNA-II). Tested on only LUNA-I for now.
|
#
d87dbd24 |
| 05-Jan-2013 |
tsutsui <tsutsui@NetBSD.org> |
First cut at NetBSD/luna68k native bootloader.
Based on 4.4BSD-Lite2/luna68k "Stinger" loader revision "Phase-31" http://svnweb.freebsd.org/csrg/sys/luna68k/stand/ and MI libsa glue stuff are taken
First cut at NetBSD/luna68k native bootloader.
Based on 4.4BSD-Lite2/luna68k "Stinger" loader revision "Phase-31" http://svnweb.freebsd.org/csrg/sys/luna68k/stand/ and MI libsa glue stuff are taken from hp300 etc.
Tested on LUNA-I and old DK315C SCSI disk drive.
LUNA's monitor PROM can load only an a.out binary in 4.3BSD FFS partition (i.e. created by "newfs -O 0") on disks with OMRON's UniOS disklabel, but now we can load an ELF kernel in root partition via this bootloader. (See luna68k/disksubr.c for details of UniOS label)
TODO: - LUNA-II support (check 68040 to adjust cpuspeed for DELAY()) - secondary SCSI support for LUNA-II - netboot via le(4) (should be trivial) - support boot options on bootloader prompt - bootinfo (passing info about booted device and kernel symbols) - support "press return to boot now, any other key for boot menu" method like x86 bootloader (needs cnscan() like functions) - tapeboot (anyone wants it?)
show more ...
|