Efika 5200b OpenFirmware RECOGNIZES two ATA Devices
  • Order of the Butterfly
    Order of the Butterfly
    sailor
    Posts: 185 from 2019/5/9
    From: Central Bohemi...
    EFIKA OpenFirmware RECOGNIZES TWO ATA Devices !!!, but MorphOS don’t. :-(
    This topic is long, if you don't want read it, questions are at the end - paragraph 5.

    1. Efika and ATA
    At many forums was discussed, that is impossible to have two IDE devices in Efika5200b.
    CPU 5200b manual says, that ATA provides full functional compatibility with ATA-4 and here is only mentioned, that signal CSEL is not connected. I think it can works, when devices are marked with jumpers like master/slave.

    2. Working configuration
    After reading many manuals and wikis and many tries, I have this (partially working) configuration:

    i) special home-made 44-pin cable( M-F-F, pairs are crossed between M-F). The crossing is really needed!! I can explain, if there will be interest.
    44pincable.jpg
    ii) adapter 44pin IDE -> mSATA SSD, with home-made additional power connector, to supply IDE bus, conected as master.
    Adapter1.jpg
    Adapter2.jpg
    iii) Kingston mSATA - UV500 120GB SSD
    - partitions: bi0(Boot: with boot images, bootmenu, morphos.iso), DH0(System:, bootpri 0), DH1(Work:)
    iv) ATA 2.5“ HDD WD, connected as slave (by jumper)
    - partitions: DH0x(SystemX: - old system partition, bootpri -5), DH1x(WorkX: old work partition)
    v) it is not needed, but it is listed on next screenshots – USB with MorphOS hdimg
    - partition: SDH0(MorphOSBoot:, bootpri 15)

    3. Open Firmware
    IT WORKS!! Open firmware see all devices.
    Here is pictures from OpenFirmware:
    devalias
    OF-devalias.jpg
    show-devs
    OF-show-devs.jpg
    Above we see:
    hd ... mSATA on IDE master
    hd0 ... HDD on IDE slave
    hd1 ... usb on scsi

    here is listing of partitions of all devices:
    ls hd
    ls hd0
    ls hd1
    OF-ls-devices.jpg
    On every device we see correct numbers of partitions with theirs names and type.

    here is listing of first partitions of IDE master and IDE slave
    ls hd:0
    OF-ls-hd.jpg
    ls hd0:0
    OF-ls-hd0.jpg
    On every partition is correct files, can be listed and can be booted from(see next paragraph).
    Efika OpenFirmware recognizes TWO ATA devices, and can read from them.

    4. MorphOs don’t recognized second device
    Unfortunatelly after boot (i.e. load boot.img) MorphOS recognized only ONE device.

    Try boot from IDE master:
    boot hd:0 boot.img BD=DH0 (with USB inserted)
    HDD2-scrrenshot-hd.jpg
    boot hd:0 boot.img BD=DH0 (without USB inserted)
    HDD2-scrrenshot-hd-B.jpg
    Here is ramdebug (only one device seen)
    Code:
    ABox 1.30 (2.7.2018) © 1999-2018 by Ralph Schmidt, Emmanuel Lesueur, Teemu Suikki, Harry Sintonen
    PPC5200 ATA/ATAPI Driver@0: PIO Mode 4
    ide.device@0: ATA-HD KINGSTON SUV500M <DIRECT_ACCESS>
    ide.device@0: Mount <bi0>
    ide.device@0: Partition <bi0> DosType 0x53465300
    ide.device@0: Mount <DH0>
    ide.device@0: Partition <DH0> DosType 0x53465300 BootPri 0
    ide.device@0: Mount <DH1>
    ide.device@0: Partition <DH1> DosType 0x53465300
    usbscsi.device@0: Mount <SDH0>
    usbscsi.device@0: Partition <SDH0> DosType 0x444f5307 BootPri 15
    Radeon: Failed to initialise Radeon DMA
    Radeon: Failed to allocate CCE DMA memory


    Try boot from IDE slave:
    boot hd0:0 boot.img BD=DH0x
    it allways hangs (with/without usb inserted). Probably becouse MorphOS boot.img don't see DH0x on ide.device:1

    boot hd0:0 boot.img BM
    BootMenu.jpg
    No second drive visible.

    5. Result and questions
    It looks like Efika firmware(with appropriate HW) recognized two devices on IDE bus.
    It looks like MorpOS don't recognize second device on ide bus on Efika. Maybe driver simple don't count with possibility of second device.

    I have some questions:
    - Do I make some mistakes in my procedures?
    - Do I make some mistakes in my conclusions?

    This all not just for fun - if we can use two IDE devices, we can connect DVD on IDE bus, and not stay limited to USB 1.1(1.5MB/s).

    Special question for MorphOS devs - please, can you confirm that ide.device for Efika recognize only one device? Of course, if you have time look at this.
    AmigaOS: Pegasos II, Sam440ep-flex, Micro A1-C, AmigaOneX1000
    MorphOS: Pegasos II, Powerbook G4, iMac G5, Powermac G5 Quad
  • »29.03.21 - 15:22
    Profile
  • Moderator
    Kronos
    Posts: 2045 from 2003/2/24
    AFAIR the real issue wasn't that missing signal but the length of the unbuffered traces going directly from the SoC to the 44 pin. Thats why most attempts to extend the bus fail.

    In order to "prove" that it is really MorphOS at fault and not just fluke making it "work" in OF you would need to install another OS (Linux) and do some stresstests there.
    --------------------- May the 4th be with you ------------------
    Mother Russia dance of the Zar, don't you know how lucky you are
  • »29.03.21 - 15:27
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 665 from 2007/10/23
    From: Gelsenkirchen,...
    At least it looks promising...
    @Kronos ACK
    ...or AROS

    [ Editiert durch polluks 29.03.2021 - 16:35 ]
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17"
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.15
  • »29.03.21 - 15:27
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    sailor
    Posts: 185 from 2019/5/9
    From: Central Bohemi...
    Quote:

    Kronos wrote:
    AFAIR the real issue wasn't that missing signal but the length of the unbuffered traces going directly from the SoC to the 44 pin. Thats why most attempts to extend the bus fail.

    Yes, that's why the cable is so short (5cm). And it works both with mSATA in the middle and in the end of the cable.

    Quote:

    Kronos wrote:
    In order to "prove" that it is really MorphOS at fault and not just fluke making it "work" in OF you would need to install another OS (Linux) and do some stresstests there.

    Yes, of course.
    This theory can be proven by trying linux or Aros (if there will work two devices on one IDE).
    But cannot be disproved (if linux and Aros don't recognize second disk, it can also depend on its drivers).

    Therefore I asked the Morphos Devs, to be sure.

    Anyway, I will try linux (and maybe Aros) in future.
    AmigaOS: Pegasos II, Sam440ep-flex, Micro A1-C, AmigaOneX1000
    MorphOS: Pegasos II, Powerbook G4, iMac G5, Powermac G5 Quad
  • »29.03.21 - 16:03
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 2513 from 2003/3/5
    From: Canada
    MorphOS only supports the primary ATA device. Don't hold your breath for this ever changing.
  • »29.03.21 - 16:48
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    sailor
    Posts: 185 from 2019/5/9
    From: Central Bohemi...
    So, theory is confirmed, topics can be closed.

    P.S. many thanks for reply


    [ Edited by sailor 29.03.2021 - 17:51 ]
    AmigaOS: Pegasos II, Sam440ep-flex, Micro A1-C, AmigaOneX1000
    MorphOS: Pegasos II, Powerbook G4, iMac G5, Powermac G5 Quad
  • »29.03.21 - 16:50
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Amigaharry2
    Posts: 903 from 2010/1/6
    From: EU-Austria (Wien)
    That is known since years! I had asked Frank Mariak about that - he said the same as jacadcaps.....

    Mos does'nt also not support serial.device - which is in my case more problematical.
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »29.03.21 - 16:54
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 665 from 2007/10/23
    From: Gelsenkirchen,...
    @Amigaharry2
    At least there's a Linux driver...
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17"
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.15
  • »30.03.21 - 02:51
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Amigaharry2
    Posts: 903 from 2010/1/6
    From: EU-Austria (Wien)
    But I dont want Linux on Efika! - I love MOS!
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »30.03.21 - 13:15
    Profile