Tag: Z3660

  • Project Z3660 accelerator

    Project Z3660 accelerator

    Next soldering project, Z3660. PCB’s arrived from JLCPB partly populated as you can see from the picture. Bottom side and all the connectors was my job.

    And fully populated board, including 68LC060 CPU.

    And as I like everything to be done properly, I got really nice bracket for HDMI and Ethernet connectors.

    And cables routed behing daughtercard to the Z3660 HDMI and Ethernet connectors.

  • Caffeine OS for z3660 accelerator

    How to modify Caffeine OS to run on z3660

    First extract caffeine partition from the image CaffeineOS_Storm_9311.img (with Linux below. In Windows I guess you can use Win32DiskImager, install WSL and use dd as above or download Windows version of dd command)

    Use kpartx to make disk and partition loop-back devices for easy partition extraction:

    jusii@lucifer:~/Downloads$ sudo kpartx -av CaffeineOS_Storm_9311.img 
    add map loop12p1 (252:1): 0 2299904 linear 7:12 2048
    add map loop12p2 (252:2): 0 118235136 linear 7:12 2301952  # Caffeine partition
    

    Copy partition 2 which contains Caffeine OS to separate image file:

    dd if=/dev/mapper/loop12p2 of=CaffeineOS_z3660_9311.hdf bs=4M status=progress conv=fdatasync

    Run FS-UAE / WinUAE with the extracted image as file hard drive. After running Caffeine initial setup go to DEVS:Monitors and delete file emu68-VideoCore without this I just got some garbled and empty WB screen

    Copy image to z3660 sdcard partition 2 under hdf and edit z3660cfg.txt
    Copy kickstart 3.1 to kicks directory and edit z3660cfg.txt

    Insert into zTurn and boot

    MakeLink in s:startup-sequence gave some error code, ignored it for now and just edited it out.

    ed s:startup-sequence and reboot

    Quick test and ran tiny bobble with whdload.

    Next ‘butchered’ version, ie 3.9 -> 3.2.2.1 with the provided script.

    This might be easier with WinUAE as Caffeine OS fat partition contains ready config file to boot Caffeine OS with Windows and WinUAE. First grab latest TheButcher.lha from Pedro. I extracted this to directory and added directory as Directory hard drive in WinUAE for easy access. You can also copy it to WB, extract there etc.

    When you have WinUAE configured with Caffeine OS (sdcard or file hard drive) + TheButcher, then just start WinUAE, do initial setup and run the butcher. And the rest you can follow from above, extracting partition 2 etc. And make sure you have correct kickstart, 3.2.2.1 (47.111) in place.

    Then with Linux and FS_UAE. Pretty straightforward too. Just go with the same instructions as with non-butchered versio. Only 2 differences comes when you first run Caffeine OS from extracted image.
    In here too, put extracted TheButcher directory as Directory hard drive. You also need to provide Caffeine OS FAT32 partition as USERFAT volume, or TheButcher won’t run! (you can Alternatively edit TheButcher script and delete all USERFAT related stuff from the start).
    But might be easier to just make another Directory hard drive containing FAT32 partition files. Like this:

    (see your 1st partition loop device from above):

    sudo mount /dev/mapper/loop12p1 /mnt
    mkdir ~/FAT32
    cp -R /mnt/* ~/FAT32

    In your FS-UAE configuration file you have to name FAT32 volume:

    hard_drive_0 = CaffeineOS_z3660_9311_work.hdf # My extracted Caffeine OS partition image
    hard_drive_1 = <path to your fat32 directory>/FAT32
    hard_drive_1_label = USERFAT

    Now Caffeine OS and TheButcher will be happy. I think even Caffeine Update should work.
    And then same as with non-butchered version. Copy Caffeine partition image to sdcard and edit z3660cfg.txt accordingly.
    Rest of the z3660 setup should go as normal, haven’t tried installing ztop, rtg etc yet.