Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Catweasel card Riser cards SiI for ATA-133 SiI for Serial ATA ?? ??
Pre-requisites and Limitations Installation Configuration IDETOOL More Info

AmigaOne - Peripherals - SiI for ATA-133

Configuration for the SiI0680 card

Once the hardware has been installed you are ready to switch on the AmigaOne and configure the system to fully utilise the facilities provided by this card, as follows:

  1. Switch on your AmigaOne. U-Boot will perform its usual initialisation processing including checking the onboard IDE bus. If you have connected all of your devices to the SiI0680 there will be no devices to find, but it will take approx 30 seconds before the search times out, and this will occur each time an IDE reset is performed.

  2. Once the IDE onboard bus has been checked it will then check the SiI bus in the same way, and then display the "Press any key to interrupt autoboot: x" message. Press <Enter> to terminate the countdown sequence and enter U-Boot Console mode.

  3. You now need to set the environment variables for the sii0680ide.device driver:

    • To boot from the hard drive connected to the SiI0680 card, "ide" must be set:

       ]setenv ide psii
       ]

    • If you no longer have devices connected to the onboard VIA IDE bus, "ide_maxbus" must be set, to avoid the delays discussed in item 1 above:

       ]setenv ide_maxbus 0
       ]

    • It is not essential, as sii0680ide.device will scan the devices and determine them automatically, but it can be a good idea to specify the device types using the "sii0680ide_conf" environment variable. The value consists of four characters, one character corresponding to each of the following - primary master, primary slave, secondary master, secondary slave - and representing the device type for the respective device as follows:

      0 = nothing
      1 = hard disk
      2 = dvd/cdrom reader/writer

      For example, if your Primary Master is a Hard Disk and the Secondary Master is a CDROM drive, and you have no other devices you would specify the following:

       ]setenv sii0680ide_conf 1020
       ]


    • The latest version of sii0680ide.device assumes that ALL devices will use IRQ interrupts. Using interrupts relieves the CPU (PIO approx 20%, UDMA approx 95%). It also affects transfer speed (PIO 10-20% lower, UDMA 10-20% faster). This is because in PIO it requires 2 exec reschedulings; in UDMA it releases the VIA bus. You can, if you wish, use the "sii0680ide_irq" environment variable to control this. The value consists of four characters, one character corresponding to each of the following - primary master, primary slave, secondary master, secondary slave - and representing the device type for the respective device as follows:

      1
      any other value
      = use IRQs
      = don't use IRQs

      For example, if you want your Primary Master to use IRQ's, but any other devices to not use IRQ's, you would specify the following:

       ]setenv sii0680ide_irq 1000
       ]


    • It is not essential, as sii0680ide.device will scan the devices and find them automatically, but it can save time during booting to specify the number of buses using the "sii0680ide_maxbus" environment variable as follows:

      (not set)
      0
      1
      2
      (default is both IDE channels)
      no IDE channels at all)
      (only primary IDE channel)
      (both IDE channels)

      For example, if you only have devices connected to the Primary channel on the SiI0680 card, you would specify the following:

       ]setenv sii0680ide_maxbus 1
       ]


    • You can if you wish alter the timeout value for checking SiI devices using the "sii0680ide_timeout" environment variable. The default is 20 seconds, but any value between 1 and 30 seconds can be used.
      (The recommended ATA(PI) specification is 30 seconds.)

       ]setenv sii0680ide_timeout 10
       ]


    • In order to utilise the UDMA speeds, "sii0680ide_xfer" must be set. The value consists of four characters, one character corresponding to each of the following - primary master, primary slave, secondary master, secondary slave - and representing the transfer mode for the respective device using the following table:

      0 = Automatic
      a = PIO 0
      b = PIO 1
      c = PIO 2
      d = PIO 3
      e = PIO 4
      A = UDMA 0
      B = UDMA 1
      C = UDMA 2
      D = UDMA 3
      E = UDMA 4
      F = UDMA 5
      G = UDMA 6
      (let sii0680ide.device choose best mode)
      (3 MB/s, modeid 8)
      (5 MB/s, modeid 9)
      (8 MB/s, modeid 10)
      (11 MB/s, modeid 11)
      (16 MB/s, modeid 12)
      (16 MB/s, modeid 64)
      (25 MB/s, modeid 65)
      (33 MB/s, modeid 66)
      (44 MB/s, modeid 67)
      (66 MB/s, modeid 68)
      (100 MB/s, modeid 69)
      (133 MB/s, modeid 70)


      For example, if you wanted your Primary Master to use DMA at 100MB/s, (i.e. mode 69 which corresponds to UDMA 5 or "F") and the Secondary Master to use PIO at 16MB/s, (i.e. mode 12 which corresponds to PIO 4 or "e" you would specify the following:

       ]setenv sii0680ide_xfer F0e0
       ]


      If you are not sure what transfer speed to specify for your drives, you can bypass this parameter for now and change it later. To find the max transfer speeds for your devices you can either check the manufacturers' specifications or you can use the idetool within AmigaOS 4.0 to check it for you.

    • Once you have entered all of the environment variables that you require, don't forget to save them.

       ]saveenv
       Saving Environment to NVRAM...
       ]


  4. The next step is to change the U-Boot Preferences:
    • Type "boot" at the U-Boot Console
    • As soon as the Menuboot Delay Panel appears, press the space bar to display the U-Boot Preferences Menu.
    • Use the up/down arrows to highlight "Boot Sequence" and press <Enter>.
    • Use the up/down arrows to highlight "Amiga Multiboot Options" and press <Enter>.
    • You should now be at the Amiga Boot Options screen. Here one of your Boot Devices should show "IDE Disk" or "Onboard VIA IDE Disk". Use the up/down arrow keys to highlight that entry and press <Enter>.
    • A drop-down menu of boot options will appear. Use the up/down arrow keys to highlight "SII Parallel Disk" and press <Enter>.
    • Press <Esc> to return to the Boot Sequence screen.
    • Press <Esc> again to return to the U-Boot Preferences Menu.
    • Press <Esc> again for the exit options.
    • "Save settings and exit" should already be highlighted, so simply press <Enter> to save your changes.
Your AmigaOne should now automatically go to the SLB Boot Menu and boot the default value specified there.

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2005 Amiga Auckland Inc. All rights reserved.
Revised: December 05, 2005.