Installation‐Hardware - shanshe/Z3660 GitHub Wiki

Installing your z3660 consists of preparation, hardware installation, and software installation. As with all projects, don't rush and allow yourself more time than you think it'll take!

No matter what machine you are installing in, it is strongly recommended to use an Micro SD extender cable to bring your SD card out somewhere more convenient, as you will need to access it to update files from time to time, and back up your drive images. Long cables are known to not work so a 15cm extension is recommended. HDMI and Ethernet extension cables are recommended if you intend to make use of them.

Prepping the z3660 / board reference

There are no jumpers on the 3660 itself, however there are a few headers:

  • J2: used for CPLD flashing
  • JP6: SCSI ACTIVITY LED IN. 3 pin. Centre pin = +5v, outside pins = grounded when activity present
  • JP7: SCSI ACTIVITY LED OUT 3 pin. Centre pin = +5v, outside pins = grounded when activity present.
  • FAN: 3 pin header for 5V fan

Fit the FPGA, ensuring all pins are properly aligned. Optionally, fit your 68060 and cooler. If using in the A3000, a slimline cooler is needed (such as the ADDA AP0512LX-J90, a 12V rated fan). For a 4000, people have reported success with this cooler

Prepping an SD Card for the z3660

An SDHC card is recommended for performance reasons. Two partitions are needed on a GPT prepped MicroSD:

  • a small FAT32 partition for BOOT.BIN file that includes the FPGA bitstream, and ARM programs. As these only total around 15MB, a partition of 100MB or so is fine.
  • any size exFAT partition with config file, SCSI boot file and more - see this GitHub directory.

For further information, please see the GitHub page covering the SD Card prep and contents

Instructions to create the partitions under Windows
Insert SD card
Start Admin Command Prompt
Run diskpart and enter the following commands

list disk
select disk X (X=disk number for the SD card)
clean
create part pri size=100
format fs=fat32 label=Z3660-BOOT quick
create part pri
format fs=exfat label=Z3660-DATA quick
assign
exit
** Advanced SD Card use. New after version 1.03 beta 15 **
There is a new way to prepare and use the SD Card. It covers 0x76 type partitions and mixed MBR+RDB partitions to be used in emu68, winUAE and z3660, so you can use the very same SD in all this systems.
You can follow this instructions to make this SD: (thanks to @Crumb at Discord channel)

Creating a hybrid MBR+RDB SDHC card. The steps were:

  • create 3 MBR partitions: first partition space will be used for native amiga rdb partitions space so make It big. second one must be fat32 and small (e.g. 200MB), It will store z3660 boot.bin (and emu68k files). The third one will keep z3660 data partition (config, hardfiles...)
  • delete de first one (It Will be the space used by our amiga partitions)
  • download from aminet hdinsttools

On Amiga side:

  • set RDBLOW=2 in hdinsttools tooltypes
  • create a bootable WB partition at the beginning (I would create a second one with lower priority as a system backup, work partitions...).
  • create a work partition or the ones you want but remember to avoid reaching the point where the mbr partitions begin, so leave space at the end (the fat32 size + data partition size and some megabytes as safety net) for example 250MB.
  • remember that hdinsttools adds some zeros at the end of maxtransfer so remember to change maxtransfer with hdtoolbox if you plan to share the sdcard with other amigas.
  • format the WB partition and install your favourite OS
  • NEW Add sd.unit0=rw to emu68 as parameter to be able to write

Enjoy :-)

Hard File support

Your z3660 with zTurn supports hard disk files, which are simply a raw file that contains the equivalent of a hard disk's sectors. These files should be full RDB mode files, not single partition files, prepped and partitioned in WinUAE or other tool with HDToolBox. Ensure you have the 'full RDB mode' checkbox enabled if setting up in WinUAE

image

Only FFS and PFS3 formatted partitions are currently supported. Others will simply not be visible.

Configuring your z3660

Configuration files control your z3660, there are no physical jumpers.
There are two sources of configuration, listed in order of application:

  • z3660cfg.txt
  • files in the ENV folder: filename is the name of the configuration item, file content is the setting

For clarity, files in the ENV folder override settings in z3660cfg.txt.
The settings themselves are documented in the configuration file itself. The format is KEYWORD VALUE, with no need for an '=' or similar.

The most important things to check are:

  • bootmode UAEJIT, MUSASHI, UAE or CPU
  • SCSIBOOT YES or NO
  • SCSI0 (repeat for SCSI1 through 6)
  • KICKSTART (if not present, motherboard ROMs will be used)

Recommended port extensions (SD, network and HDMI)

Micro SD extender: The zTurn FPGA does not seem to support Micro SD extenders over a certain length. 15cm extenders are known to be fine, such as this one, 50cm are known to not work.
Network extender: no incompatibilities have been found
HDMI extender: no incompatibilities have been found. For routing purposes, a flat cable may be better suited to some installations (eg 3000 desktop).

A4000 installation

It is assumed you are comfortable taking your Amiga 4000 apart. For disassembly guides, please look online. You will find it necessary to remove the drive bays, which means removing the plastic front of the Amiga to access the necessary screws.

A4000 + 4000T Jumpers

The card provides its own clock signal, so your motherboard jumpers should be set to EXT:

  • J100: set to pins 2-3 (external)
  • J104: set to pins 2-3 (external)

A4000 SCSI activity light

Connect the 3 pin header from your case front to JP7. Orientation is irrelevant, it works both ways. If you want to also have IDE activity shown on your case LED, connect 3 pins between the motherboard HDD led connection and JP6. (Note: only the centre pin and one outside pin are needed, you do not need a 3 way connector).
If you have an A4091, the pin wiring is the same: simply loop from motherboard to A4091 to Z3660 to case LED.

A3000 installation

If you want to use networking and audio from the z3660, you will need to modify your Amiga to have the INT6 line available to the z3660. Please see the known issues page for a description of the modification.

Fitting any processor card inside the 3000 necessitates removing all expansion cards and the daughterboard in order to remove the drive bay and PSU carrier to get access underneath. This is a pain, and a third party 'split drive bay' is available from a seller on AmiBay. I have one and it makes life a lot more pleasant, and also provides better clearance for the Ethernet connector on the z3660/zturn.

A3000, 3000T and ReAmiga 3000 Jumpers

Set the same as when using an A3640:

  • 100 (QUADCLK): 3-4 (EXT)
  • J102 (BRDCLK) : 2-3 (INT)
  • J103 (FPU) : 1-2 (DISABLED)
  • J104 (CPUCLK) : 2-3 (EXT)

If you have a 16MHz machine, you should change jumpers for 25MHz operation:

  • J151 (ROM SPEED): 1-2 (25M)
  • J152 (ROM SPEED): 1-2 (25M)
  • J851 (CPU SPEED): 2-3 (25M)

A3000 SCSI light

The HD activity light on the A3000 is wired differently to the A4000. The SCSI LED is active low (same as for the 4000), and the signal is the central pin of the connector to the LED daughter board. Remove the central dupont connector from the plug, and connect this to the leftmost pin of J107 on the z3660 using a dupont jumper wire. I'd recommend taping this to avoid it coming loose.

A3000 SD, network and HDMI extensions

Fit the SD extender before fitting the z3660, and ensure it remains fully seated once the z3660 is fitted as it is very close to the daughter board. Route it next to the drive bay and then pass through the floppy slot when refitting the case top. Note that long SD extenders do not work, a 15-20cm extender is recommended.
Network: there is a route beneath the daughter card at the back that works and allows you to bring up to a spare zorro slot. The daughter card needs to be out. You can route underneath the drive bay completely
HDMI: Flat cable recommended! Route from the z3660 to the back, up through the rear drive bay slot then over the daughter card.