[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL)



On Thu, 2016-11-24 at 23:24 -0800, Ryan Tandy wrote:
> whereas the new orion5x-linkstation.dtsi contains this code:
> 
> &sata {
>         status = "okay";
>         nr-ports = <1>;
> };

A .dtsi is an include file, not the final thing for any given device,
for that you need a .dts (which is compiled into a .dtb).

Assuming orion5x-linkstation.dtsi is correctly relating to your
platform you would appear to want one of:
    $ git grep orion5x-linkstation.dtsi arch/arm/boot/dts/*.dts
    arch/arm/boot/dts/orion5x-kuroboxpro.dts:#include "orion5x-linkstation.dtsi"
    arch/arm/boot/dts/orion5x-linkstation-lsgl.dts:#include "orion5x-linkstation.dtsi"
    arch/arm/boot/dts/orion5x-linkstation-lswtgl.dts:#include "orion5x-linkstation.dtsi"

(Or something else not yet present in the kernel tree.)

Of the three above orion5x-kuroboxpro.dts and orion5x-linkstation-
lswtgl both set ports to 2 using:

    &sata {
            nr-ports = <2>;
    };

which overrides the defaults from the dtsi. You mentioned kurobox_pro-
setup.c so perhaps orion5x-kuroboxpro.dts is the one you want?

Ian.


Reply to: