AlphaPC 164LX - n-hys/illumos-gate GitHub Wiki

AlphaPC 164LX

Alpha Port is obsolete.

AlphaPC 164LX supports the 21164A Alpha processor.
This board supports SRM Console firmware and Alpha BIOS.
OpenSolaris requires the SRM Console firmware.

Supported devices

You can use a serial port as console.(A video console is not supported.)

Supported PCI card

  • DEC DE500 Fast-Ethernet
  • Intel 82559 Fast-Ethernet
  • Silicon Image 3124 SATA
  • Silicon Image 3132 SATA

The other PCI card supported by illumos will work well.

Currently, the bootable SCSI Card is not supported.
You can install bootloader to IDE Hard Disk. The system can boot from SATA Hard Disk because the bootloader can load kernel from SATA Hard Disk.
If you write the device driver for LSI 53c875, the system can boot from SCSI Hard Disk. (It is easy that you port the device driver from U-Boot)

Build

Building OpenSolaris

See "How to build".
The lasted branch is osport/v2020.10.

Boot

Overview

There is no installer. You can install to a storage device by following the steps below.

  1. Boot from the network (DHCP/BOOTP + TFTP + NFSv3)
  2. Partition a hard drive.
  3. Initialize a file system (zfs).
  4. Extract a tar ball.
  5. (poweroff)
  6. Boot from the disk image

Preparing network boot environment

See Network boot.

Booting from network

The protocols of the boot device should be set to BOOTP in SRM Console.
For example, if the boot device is eia0, eia0_protocols should be set to BOOTP.
Run boot command in SRM Console.
When booting from network, some errors occurr but you can ignore errors.
You can login as root without using password.

Partitioning

You can install OpenSolaris to SATA Hard Disk.
Create a Solaris partition and create slices for the Solaris partition.
You can work with shell when booting from the network.

Createing partitions

Two partitions are required.
Create Solaris in an MBR partition table.
You need to mark the solaris partition as active.

fdisk /dev/rdsk/c1t0d0p0
             Total disk size is 3847 cylinders
             Cylinder size is 4096 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Solaris2         33  3846    3814     99



SELECT ONE OF THE FOLLOWING:
   1. Create a partition
   2. Specify the active partition
   3. Delete a partition
   4. Change between Solaris and Solaris2 Partition IDs
   5. Edit/View extended partitions
   6. Exit (update disk configuration and exit)
   7. Cancel (exit without updating disk configuration)
Enter Selection: 

Createing slices

format -> partition
You need to mark the tag of the root slice as root.

format -e
partition> p
Current partition table (original):
Total disk cylinders available: 3814 + 0 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm       1 - 3813        7.45GB    (3813/0/0) 15618048
  1 unassigned    wm       0               0         (0/0/0)           0
  2     backup    wu       0 - 3813        7.44GB    (3814/0/0) 15622144
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7 unassigned    wm       0               0         (0/0/0)           0
  8       boot    wu       0 -    0        2.00MB    (1/0/0)        4096
  9 unassigned    wm       0               0         (0/0/0)           0

Installing

You can work with shell when booting from the network.
You need to initialize the file system and extract a tar ball.
The following example installs to /dev/dsk/c1t0d0s0.

devfsadm
zpool create -f -o altroot=/mnt   rpool /dev/dsk/c1t0d0s0
zfs create rpool/ROOT
zfs create rpool/ROOT/illumos
gtar -o -xf /var/illumos.tar.gz -C /mnt/rpool/ROOT/illumos --warning=no-timestamp
chown -R dladm:netadm  /mnt/rpool/ROOT/illumos/etc/dladm
chown -R netadm:netadm /mnt/rpool/ROOT/illumos/etc/ipadm
chown -R netadm:netadm /mnt/rpool/ROOT/illumos/etc/nwam
mkdir -p /mnt/rpool/ROOT/illumos/etc/zfs
zfs unmount -a
zpool export rpool
zpool import -o cachefile=/tmp/zpool.cache -o altroot=/mnt rpool
cp /tmp/zpool.cache /mnt/rpool/ROOT/illumos/etc/zfs/
zfs unmount -a
zpool set bootfs=rpool/ROOT/illumos rpool
zpool set cachefile="" rpool
zfs set mountpoint=none   rpool
zfs set mountpoint=legacy rpool/ROOT
zfs set mountpoint=/           rpool/ROOT/illumos
zpool export rpool

You can install the bootloader to a IDE Hard Disk.

installboot /platform/SUNW,pc164lx/inetboot /dev/rdsk/c2d0p0

Booting from HDD

Run boot command with -D SATA Hard Disk option in SRM Console.

>>>boot -fl "-D /pci@0,0/pci1095,7124@3800,0/disk@0,0" dqa
⚠️ **GitHub.com Fallback** ⚠️