Ox820 device tree April 30, 2014 10:44AM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree April 30, 2014 10:52AM |
Registered: 12 years ago Posts: 232 |
Re: Ox820 device tree April 30, 2014 11:37AM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree April 30, 2014 03:03PM |
Registered: 13 years ago Posts: 218 |
Re: Ox820 device tree April 30, 2014 03:43PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Ox820 device tree April 30, 2014 04:14PM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree April 30, 2014 04:21PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Ox820 device tree April 30, 2014 04:31PM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree April 30, 2014 04:35PM |
Registered: 13 years ago Posts: 218 |
Re: Ox820 device tree April 30, 2014 04:40PM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree April 30, 2014 04:42PM |
Admin Registered: 13 years ago Posts: 19,107 |
sata@45900000 { status = "okay"; }; sata@45910000 { status = "okay"; };
Re: Ox820 device tree April 30, 2014 04:42PM |
Registered: 13 years ago Posts: 218 |
Re: Ox820 device tree April 30, 2014 05:09PM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree April 30, 2014 05:19PM |
Admin Registered: 13 years ago Posts: 19,107 |
sata@45900000 { status = "okay"; nr-ports = <2>; };
Re: Ox820 device tree April 30, 2014 05:34PM |
Registered: 10 years ago Posts: 68 |
> sata@45900000 { > status = "okay"; > nr-ports = <2>; > }; >>
Re: Ox820 device tree April 30, 2014 05:36PM |
Admin Registered: 13 years ago Posts: 19,107 |
I already found out myself that uboot had only one SATAdevise set on and it needed to be changed
Re: Ox820 device tree April 30, 2014 05:49PM |
Registered: 10 years ago Posts: 68 |
> I already found out myself that uboot had only one > SATAdevise set on and it needed to be changed >>
Re: Ox820 device tree April 30, 2014 05:57PM |
Admin Registered: 13 years ago Posts: 19,107 |
sata@45900000 { compatible = "plxtech,nas782x-sata"; /* port sgdma core */ reg = <0x45900000 0x100>, <0x459B0000 0x10>, <0x459E0000 0x2000>, /* phy descriptors (optional) */ <0x44900000 0x0C>, <0x50000000 0x1000>; interrupts = <0 18 0x304>; clocks = <&stdclk 4>; resets = <&rst 11>, <&rst 12>, <&rst 13>; reset-names = "sata", "link", "phy"; status = "disabled"; };
Re: Ox820 device tree April 30, 2014 06:23PM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree April 30, 2014 07:21PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Ox820 device tree May 01, 2014 03:18AM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree May 01, 2014 03:37PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Ox820 device tree May 03, 2014 12:00AM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree May 03, 2014 03:35PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Ox820 device tree May 10, 2014 03:26AM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree May 10, 2014 04:36AM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Ox820 device tree May 10, 2014 06:09AM |
Registered: 10 years ago Posts: 68 |
Re: Ox820 device tree May 10, 2014 01:26PM |
Admin Registered: 13 years ago Posts: 19,107 |
Quote
> It seems to me like the whole trouble comes from
> the device tree. I suppose SATA_OXNAS_MAX_PORTS =
> 1 setting in kernel sata_oxnas.c file is hard
> coded solely because port count has not come
> properly from device tree and someone has decided
> to hard code it there.
>
> Am I right?
> I suppose SATA_OXNAS_MAX_PORTS setting should come
> from device tree and hard coding has been done
> because this has not been working properly.
>
Re: Ox820 device tree May 10, 2014 06:40PM |
Admin Registered: 13 years ago Posts: 19,107 |
Quote
> BTW: I took a look at your kernel. My device does
> not have PCI and it will not boot with PCI enabled
> kernel. If you can compile it without PCI support
> I can give it a try.
Re: Ox820 device tree May 11, 2014 04:35AM |
Registered: 10 years ago Posts: 68 |