[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 Fri, Nov 25, 2016 at 07:42:37AM +0000, Ian Campbell wrote:
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.)

Mine is an LS-GL, so orion5x-linkstation-lsgl.dts should be the one. (The model string in there is the same one I see at runtime, too.)

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?

Exactly - orion5x-linkstation-lsgl.dts is missing this chunk. So my suspicion is it needs the same override (or, if they all end up using the same value, maybe the dtsi can change - Roger would know better than I would). Sorry for the lack of clarity.

kurobox_pro-setup.c, AFAIK, used to be used on several related platforms. The kurobox pro and LS-GL are nearly identical.

thanks
Ryan


Reply to: