Welcome! Log In Create A New Profile

Advanced

Debian on Synology RS816 (Armada 385)

Posted by zifxify 
Re: Debian on Synology RS816 (Armada 385)
January 25, 2019 09:38PM
Duh :) I did not remove all traces of the SoC SATA. So the regulator is stil there as 10... pointed out.

@zifxify,

> still one drive accessible

Do you mean onlly the HDD in slot 0 is enable?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 26, 2019 04:38AM
Quote

Do you mean only the HDD in slot 0 is enable?

using your lastest dtb without soc sata, and without setting GPIO pin 37 as high, there's only drive (drive 2) available. Enabling soc sata also enables drive 1 (slot 0)
Re: Debian on Synology RS816 (Armada 385)
January 26, 2019 08:05AM
zifxify Wrote:
-------------------------------------------------------
>
Quote

> Do you mean only the HDD in slot 0 is enable?
>
>
> using your lastest dtb without soc sata, and
> without setting GPIO pin 37 as high, there's only
> drive (drive 2) available. Enabling soc sata also
> enables drive 1 (slot 0)

In serial console, try to initialize the drives. Can uboot see all drives and can you list each partition’s content?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 26, 2019 11:54AM
Quote

In serial console, try to initialize the drives. Can uboot see all drives and can you list each partition’s content?

Only two drives or I am doing something wrong

Marvell>> scsi init
AHCI init for unit0
Target spinup took 0 ms.
SATA link 1 timeout.

SATA link 0 timeout.
Target spinup took 0 ms.
SATA link 2 timeout.
SATA link 3 timeout.
AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
flags: 64bit ncq led only pmp fbss pio slum part sxs 
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: GB0250C8045 Rev: HPGA
            Type: Hard Disk
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
  Device 1: (3:0) Vendor: ATA Prod.: GB0250C8045 Rev: HPGA
            Type: Hard Disk
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
Found 2 device(s).

Marvell>> scsi part 0

Partition Map for SCSI device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            488394752       cfe594b0-01     fd Boot
Marvell>> scsi part 1

Partition Map for SCSI device 1  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            488394752       b0c54c6a-01     fd Boot



Edited 1 time(s). Last edit at 01/26/2019 12:00PM by zifxify.
Re: Debian on Synology RS816 (Armada 385)
January 27, 2019 12:31AM
Those must be 2 SoC SATA ports.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 27, 2019 12:56AM
It should be in GPL source where we can find out how stock OS bring up the other 2 HDD slots.

-bodhi
===========================
Forum Wiki
bodhi's corner
Richard Jackson
Re: Debian on Synology RS816 (Armada 385)
April 22, 2019 05:59PM
Hi
I have two RS816 rack servers which I would love to convert to a native Debian install. Reading this thread it looks like you guys got very close and I was just wondering if you ran out of time / enthusiasm or if the answer to the how the other 2 HDD slots were brought up just wasn't apparent in the GPL source ?

I'm interested enough to take a look at the GPL but thought I'd check if I'm wasting my time first.
Re: Debian on Synology RS816 (Armada 385)
April 22, 2019 09:57PM
Richard Jackson,

What I would be interested in seeing is you could run my released rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2:

https://forum.doozan.com/read.php?2,32146

Note that the kernel inside this rootf is linux-4.12.4-mvebu-tld-1.

With the u-boot envs set up:

https://forum.doozan.com/read.php?2,76314,76534#msg-76534

And using the DTB I've uploaded in this thread before..

If you'd like to do that, then give it a try. I'll help to get that working.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 04/22/2019 10:18PM by bodhi.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: