本帖最后由 kennyhn 于 2022-4-18 14:05 编辑
我编译了一下
我的是蜗牛星际
输入lspci -tnnvq
显示
tc@box:~$ lspci -tnnvq
-[0000:00]-+-00.0 Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [8086:0f00]
+-02.0 Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31]
+-13.0 Intel Corporation Atom Processor E3800 Series SATA AHCI Controller [8086:0f23]
+-14.0 Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI [8086:0f35]
+-1a.0 Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18]
+-1b.0 Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller [8086:0f04]
+-1c.0-[01]--
+-1c.1-[02]--
+-1c.2-[03]----00.0 Marvell Technology Group Ltd. 88SE9215 PCIe 2.0 x1 4-port SATA 6 Gb/s Controller [1b4b:9215]
+-1c.3-[04]----00.0 Intel Corporation 82583V Gigabit Network Connection [8086:150c]
+-1f.0 Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c]
\-1f.3 Intel Corporation Atom Processor E3800 Series SMBus Controller [8086:0f12]
于是
我把 ds920p.dts中的改为
internal_slot@1 {
protocol_type = "sata";
power_pin_gpio = <0x14 0x0>;
detect_pin_gpio = <0x23 0x1>;
led_type = "lp3943";
ahci {
pcie_root = "00:1c.2,00.0";
ata_port = <0x0>;
};
led_green {
led_name = "syno_led0";
};
led_orange {
led_name = "syno_led1";
};
};
internal_slot@2 {
protocol_type = "sata";
power_pin_gpio = <0x15 0x0>;
detect_pin_gpio = <0x24 0x1>;
led_type = "lp3943";
ahci {
pcie_root = "00:1c.2,00.0";
ata_port = <0x1>;
};
led_green {
led_name = "syno_led2";
};
led_orange {
led_name = "syno_led3";
};
};
internal_slot@3 {
protocol_type = "sata";
power_pin_gpio = <0x16 0x0>;
detect_pin_gpio = <0x25 0x1>;
led_type = "lp3943";
ahci {
pcie_root = "00:1c.2,00.0";
ata_port = <0x2>;
};
led_green {
led_name = "syno_led4";
};
led_orange {
led_name = "syno_led5";
};
};
internal_slot@4 {
protocol_type = "sata";
power_pin_gpio = <0x17 0x0>;
detect_pin_gpio = <0x26 0x1>;
led_type = "lp3943";
ahci {
pcie_root = "00:1c.2,00.0";
ata_port = <0x3>;
};
led_green {
led_name = "syno_led6";
};
led_orange {
led_name = "syno_led7";
};
};
有4个硬盘位
第一个硬盘位的硬盘不能识别
第2、3、4的硬盘能识别
不知道要怎么弄了 |