Morphos 3.21 x5000 sata driver
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Mozzerfan
    Posts: 109 from 2016/10/5
    Hi all.
    Does anyone know if mos 3.21 contains a fix for the bug in the x5000 sata driver.
    I just installed mos 3.21, and i still have to disconnect my os4 sata ssd.
    Thanks.

    [ Edited by Mozzerfan 08.11.2026 - 15:25 ]
  • »08.11.26 - 14:25
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3355 from 2003/3/5
    From: Canada
    It does, afaik.
    Are you sure you don't have a boot priority conflict? MorphOS can be told from which partition to boot with bd=DH0 for example. You of course have to make sure that your OS4 install doesn't have the same partition names as MorphOS.
  • »08.11.26 - 14:53
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Mozzerfan
    Posts: 109 from 2016/10/5
    Thanks Jaca.
    I have a dual gfxcard setup.
    With the os4sata SSD connected, I get morphos booting...
    Then black screen.
    Only with os4 SSD disconnected, morphos boots into 3.21

    I tried setting the bootprio of the os4 drive to -1. It didn't help.
    Also booting with BD parameter gives a black screen.
  • »08.11.26 - 15:46
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3355 from 2003/3/5
    From: Canada
    Sure it isn't trying to use the other graphics card? The SSD drive might just be changing the timing resulting in other card being picked up... hard to say without a serial log.
  • »08.11.26 - 16:13
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Mozzerfan
    Posts: 109 from 2016/10/5
    OK. Here is the serial log




    U-Boot molsen-2018-10-05 (Oct 05 2018 - 17:02:05)

    CPU0: P5020, Version: 2.0, (0x82200020)
    Core: e5500, Version: 1.2, (0x80240012)
    Clock Configuration:
    CPU0:1995 MHz, CPU1:1995 MHz,
    CCB:798 MHz,
    DDR:665 MHz (1330 MT/s data rate) (Asynchronous), LBC:49.875 MHz
    FMAN1: 498.750 MHz
    QMAN: 399 MHz
    PME: 399 MHz
    L1: D-cache 32 KiB enabled
    I-cache 32 KiB enabled
    Reset Configuration Word (RCW):
    00000000: 0c540000 00000000 1e1e0000 00000000
    00000010: 44808c00 ff002000 68000000 45000000
    00000020: 00000000 00000000 00000000 0003000f
    00000030: a0000000 00000000 00000000 00000000
    Board: CYRUS
    36-bit Addressing
    I2C: ready
    SPI: ready
    DRAM: Initializing....using SPD
    Detected UDIMM VS2GB1333D3
    Detected UDIMM VS2GB1333D3
    Not enough bank(chip-select) for CS0+CS1 on controller 0, interleaving disabled!
    Not enough bank(chip-select) for CS0+CS1 on controller 1, interleaving disabled!
    2 GiB left unmapped
    4 GiB (DDR3, 64-bit, CL=9, ECC off)
    DDR Controller Interleaving Mode: cache line

    Local Bus Controller Registers
    BR0 0xE0001001 OR0 0xFFF00010
    BR1 0xE1001001 OR1 0xFFF00010
    BR2 0x00000000 OR2 0x00000000
    BR3 0x00000000 OR3 0x00000000
    BR4 0x00000000 OR4 0x00000000
    BR5 0x00000000 OR5 0x00000000
    BR6 0x00000000 OR6 0x00000000
    BR7 0x00000000 OR7 0x00000000
    LBCR 0x40000000 LCRR 0x80010004
    L2: 512 KiB enabled
    Corenet Platform Cache: 2 MiB enabled
    SERDES: bank 2 disabled
    MMC: FSL_SDHC: 0
    Board Revision dead
    MAC: 00:04:A3:6B:41:BF
    MAC: 00:1E:C0:F8:04:56
    EEPROM: NXID v0
    PCIe1: Root Complex, x4 gen2, regs @ 0xfe200000
    01:00.0 - 1002:699f - Display controller
    01:00.1 - 1002:aae0 - Multimedia device
    PCIe1: Bus 00 - 01
    PCIe2: Root Complex, x4 gen2, regs @ 0xfe201000
    03:00.0 - 111d:8092 - Bridge device
    04:01.0 - 111d:8092 - Bridge device
    05:00.0 - 12d8:e111 - Bridge device
    04:02.0 - 111d:8092 - Bridge device
    07:00.0 - 1b21:1080 - Bridge device
    08:00.0 - 13f6:0111 - Multimedia device
    04:03.0 - 111d:8092 - Bridge device
    04:08.0 - 111d:8092 - Bridge device
    0a:00.0 - 1002:719b - Display controller
    0a:00.1 - 1002:71bb - Display controller
    04:10.0 - 111d:8092 - Bridge device
    PCIe2: Bus 02 - 0b
    PCIe3: disabled
    PCIe4: disabled
    Looking for VGA
    PINS: 0xfc000808
    videoboot: Booting PCI video card bus 1, function 0, device 0
    Begin BIOS POST
    End BIOS POST
    Setting VESA Mode
    Found required VESA mode
    About to set mode 279
    About to get mode
    Got mode 49431 (0xc117)
    OK
    XSize = 1024 YSize = 768 Base =0xe0000000
    mmio_base = 0x80000000
    bgx = 0xad55ad55 fgx = 0x0
    In: serial
    Out: serial
    Err: serial
    ID: NXID v0
    SN: 116350018
    UID: 44294310019100519c7ca080a0800000
    Errata: UG
    Build date: 2016/01/06 10:55:47
    CRC: e866de70
    SCSI: scanning bus for devices...
    Found 0 device(s).
    Net: Initializing Fman

    MMC read: dev # 0, block # 56985, count 128 ...
    Fman1: Uploading microcode version 106.1.0
    Tuning PHY @ 3
    Tuning PHY @ 7
    FM1@DTSEC4 [PRIME], FM1@DTSEC5
    USB0: USB EHCI 1.00
    scanning bus 0 for devices... 6 USB Device(s) found
    USB1: USB EHCI 1.00
    scanning bus 1 for devices... 2 USB Device(s) found
    SATA0 (3 Gbps)
    SATA1 (3 Gbps)
    scanning bus for devices...
    Found 0 device(s).
    MorphOS boot loader version 1.17
    Failed to scan partitions on device 0
    Booting from DH0
    Trying to load "bootcyrusplus.img" from "DH0:"...
    Trying to load "boot.img" from "DH0:"...
    Loaded "boot.img" from "DH0:", booting...
    18.099|
    18.100|
    18.101| ABox 1.30 (2.7.2018) 1999-2022 by Ralph Schmidt, Emmanuel Lesueur, Teemu Suikki, Harry Sintonen
    18.238| P50x0 SATA Driver@0: PIO Mode 4
    18.242| P50x0 SATA Driver@0: UDMA Mode 6
  • »08.11.26 - 16:51
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3355 from 2003/3/5
    From: Canada
    Please add 'ed=init initresident' to boot arguments and get the log again.
  • »08.11.26 - 17:44
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Mozzerfan
    Posts: 109 from 2016/10/5
    I suppose you mean I use the edebugflags option?

    If so, here's the log



    U-Boot molsen-2018-10-05 (Oct 05 2018 - 17:02:05)

    CPU0: P5020, Version: 2.0, (0x82200020)
    Core: e5500, Version: 1.2, (0x80240012)
    Clock Configuration:
    CPU0:1995 MHz, CPU1:1995 MHz,
    CCB:798 MHz,
    DDR:665 MHz (1330 MT/s data rate) (Asynchronous), LBC:49.875 MHz
    FMAN1: 498.750 MHz
    QMAN: 399 MHz
    PME: 399 MHz
    L1: D-cache 32 KiB enabled
    I-cache 32 KiB enabled
    Reset Configuration Word (RCW):
    00000000: 0c540000 00000000 1e1e0000 00000000
    00000010: 44808c00 ff002000 68000000 45000000
    00000020: 00000000 00000000 00000000 0003000f
    00000030: a0000000 00000000 00000000 00000000
    Board: CYRUS
    36-bit Addressing
    I2C: ready
    SPI: ready
    DRAM: Initializing....using SPD
    Detected UDIMM VS2GB1333D3
    Detected UDIMM VS2GB1333D3
    Not enough bank(chip-select) for CS0+CS1 on controller 0, interleaving disabled!
    Not enough bank(chip-select) for CS0+CS1 on controller 1, interleaving disabled!
    2 GiB left unmapped
    4 GiB (DDR3, 64-bit, CL=9, ECC off)
    DDR Controller Interleaving Mode: cache line

    Local Bus Controller Registers
    BR0 0xE0001001 OR0 0xFFF00010
    BR1 0xE1001001 OR1 0xFFF00010
    BR2 0x00000000 OR2 0x00000000
    BR3 0x00000000 OR3 0x00000000
    BR4 0x00000000 OR4 0x00000000
    BR5 0x00000000 OR5 0x00000000
    BR6 0x00000000 OR6 0x00000000
    BR7 0x00000000 OR7 0x00000000
    LBCR 0x40000000 LCRR 0x80010004
    L2: 512 KiB enabled
    Corenet Platform Cache: 2 MiB enabled
    SERDES: bank 2 disabled
    MMC: FSL_SDHC: 0
    Board Revision dead
    MAC: 00:04:A3:6B:41:BF
    MAC: 00:1E:C0:F8:04:56
    EEPROM: NXID v0
    PCIe1: Root Complex, x4 gen2, regs @ 0xfe200000
    01:00.0 - 1002:699f - Display controller
    01:00.1 - 1002:aae0 - Multimedia device
    PCIe1: Bus 00 - 01
    PCIe2: Root Complex, x4 gen2, regs @ 0xfe201000
    03:00.0 - 111d:8092 - Bridge device
    04:01.0 - 111d:8092 - Bridge device
    05:00.0 - 12d8:e111 - Bridge device
    04:02.0 - 111d:8092 - Bridge device
    07:00.0 - 1b21:1080 - Bridge device
    08:00.0 - 13f6:0111 - Multimedia device
    04:03.0 - 111d:8092 - Bridge device
    04:08.0 - 111d:8092 - Bridge device
    0a:00.0 - 1002:719b - Display controller
    0a:00.1 - 1002:71bb - Display controller
    04:10.0 - 111d:8092 - Bridge device
    PCIe2: Bus 02 - 0b
    PCIe3: disabled
    PCIe4: disabled
    Looking for VGA
    PINS: 0xfc000808
    videoboot: Booting PCI video card bus 1, function 0, device 0
    Begin BIOS POST
    End BIOS POST
    Setting VESA Mode
    Found required VESA mode
    About to set mode 279
    About to get mode
    Got mode 49431 (0xc117)
    OK
    XSize = 1024 YSize = 768 Base =0xe0000000
    mmio_base = 0x80000000
    bgx = 0xad55ad55 fgx = 0x0
    In: serial
    Out: serial
    Err: serial
    ID: NXID v0
    SN: 116350018
    UID: 44294310019100519c7ca080a0800000
    Errata: �����UG�
    Build date: 2016/01/06 10:55:47
    CRC: e866de70
    SCSI: scanning bus for devices...
    Found 0 device(s).
    Net: Initializing Fman

    MMC read: dev # 0, block # 56985, count 128 ...
    Fman1: Uploading microcode version 106.1.0
    Tuning PHY @ 3
    Tuning PHY @ 7
    FM1@DTSEC4 [PRIME], FM1@DTSEC5
    USB0: USB EHCI 1.00
    scanning bus 0 for devices... 6 USB Device(s) found
    USB1: USB EHCI 1.00
    scanning bus 1 for devices... 2 USB Device(s) found
    SATA0 (3 Gbps)
    SATA1 (3 Gbps)
    scanning bus for devices...
    Found 0 device(s).
    X5000> usb reset
    resetting USB...
    USB0: USB EHCI 1.00
    scanning bus 0 for devices... 6 USB Device(s) found
    USB1: USB EHCI 1.00
    scanning bus 1 for devices... 2 USB Device(s) found
    scanning usb for storage devices... 0 Storage Device(s) found
    X5000> bootmorphos EDEBUGFLAGS='init initresident'
    MorphOS boot loader version 1.17
    Failed to scan partitions on device 1
    Booting from DH0
    Trying to load "bootcyrusplus.img" from "DH0:"...
    Trying to load "boot.img" from "DH0:"...
    Loaded "boot.img" from "DH0:", booting...
    78.865|
    78.866|
    78.866| ABox 1.30 (2.7.2018) � 1999-2022 by Ralph Schmidt, Emmanuel Lesueur, Teemu Suikki, Harry Sintonen
    79.004| P50x0 SATA Driver@0: PIO Mode 4
    79.008| P50x0 SATA Driver@0: UDMA Mode 6
  • »08.11.26 - 18:27
    Profile