damon-yc 发表于 2023-3-22 14:09:36

3568 SATA3.0接口不能识别硬盘

本帖最后由 damon-yc 于 2023-3-22 14:15 编辑

如题按照飞凌官方资料《OK3568-PCIE接口_Linux应用笔记_V1.0.pdf》文件修改驱动后,连接SATA硬盘,板卡启动后,识别不到SATA硬盘。
串口打印信息如下:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvYAAAA3CAYAAABnyg4YAAAZ6UlEQVR4nO2dO5LyOtPH//7qXYqZgGIF1goMCZFTMjs0CRkhGYkdQkbqiGSsFZgVuAhG2ou+wHdjfMHMM8DpX9XUeQ6ybq2W3GrJkqaUUiAIgiAIgiAI4q35v78uAEEQBEEQBEEQ4yHDniAIgiAIgiA+gLcz7KXvgGkaNE0Dc/hfF+dP4Y6G4SKQcJgDyR0wX/5GsQiCIAiCIIg/oNGwlz6DpmnQNAcvZTpLH6s1sBUKSghY8XyQYeuzrjpJ8LaJg/TzsDb5SF6koVXSkPCdTLYMzhjDWvrYxR4OZnP57spFfiPGFPiJMfvSR+XPbur3HkifPTAhegXK+qOBOU5JRzmcsm7WKlj06fpfpsPt8QmCIAiCeH3ueuztUEGpA8x7D/wKHE6L4c33a8DbwNQB6DoWljEodTdS8FqicGeFHZaIlIJSAhYaJg52CKVU+ncrH+k72P8sccqeKVne0l/hujylcSMsrys8atvzfYDZ1q3+qLuIlIJoq6S4AtYC4gpMJ4/lneclPAxrAWIM3Cnrj8JpClzyUBMHpaCEB8P24MXnm35keAJKKYS2AU8oKBXCHhCfIAiCIIjXZtBWnMTjrYH5HDzzHDIfhW1a9UgzpxzWEc4daNocRxwxzz2HrGb4GrAWOiA5HKZhsr4AfdOvP1n2YKbWu3mIELllU32g2Sp97LHBwTXR5AsXVwCVkAuuop5G6jll98ueeOstbAbOunymQZsfcVlPMD9esJ5ow7bjSB9OqgMac+DnZc/KzBIvPnPgZysf5XrUVjyYw2t15EX6mgbmsKrnWPJq/mkbPs253JF+p/631C9fLSqv5jAHfNDE7oL4R+Rp6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bSZ9C0FzzuUvpYrdNr34WAFc8HGbY+66qTBG+bOKTHTWr5X3NakhdpaJU0JHwnky2DM8awTo9Oq5yHXCrfXbnIb8SYAj8xZnT9IUEQBEEQxMdw12NvhwpKHZ52XXc/OJwWw5vv14C3gakD0HUsLGNQ6m6k4LVE4c4KOywRKQWlBCw0TBzsEEqp9O9WPtJ3sP9Z4pQ9U7K8pb/CdXlK40ZYXld41Lbn+wCzrVv9UXcRKQXRVsn0GnlxrdyWThAEQRAEQbw5g7biJB5vDczn4JnnmfkobNOqR5o55bCOcO5A0+Y44oh57hFnNcPXgLXQAcnhsKaLmrryLz2Zr0oUXnXzECFyy6b6sIkDpI89Nji4Jpp84eIKoBJywVXU0+BwbuR6m88utgZfdOIzDdr8iMt6gvnxgvVEo+04BEEQBEEQH8L/A4+VvWKp6E8MAAAAAElFTkSuQmCC
这种情况下,还需要修改那些文件来处理解决?

兵兵兵兵鸭 发表于 2023-3-23 15:17:18

SATA的修改仅仅是关闭pcie以及修改SATA状态为okay
您目前打印信息看着已经复用成功了,您接入入的这个硬盘有识别,但识别失败
您检查一下SATA硬盘的文件系统是否符合linux使用,或者您有其他硬盘可以接入测试一下
这部分不需要复杂的改动,是原厂封装好的引脚复用。
页: [1]
查看完整版本: 3568 SATA3.0接口不能识别硬盘