Forums » Software Development »
SATA disk can‘t be linked when booting the linux kernel (Using industrial board)
Added by Jun Mo over 11 years ago
When I use industrial board 000268RI-2B and mityARM-1808 to do some development, I'v meet the same problem with "yilin wang", who asked this question 20 days ago. And I followed your advice "See the AM1808 Errata Advisory 2.1.11 for details". I tried to limit the rate of the sata disk by the jumper, but this can't solve the problem and it remains the same result, as "yilin wang" descibed. And I tried MDK_2012_08 and MDK_2013_05, which got the same result.
And I think the reason may not be as it is discribed in Errata Advisory 2.1.11. When I use another AM1808 toolkit, which is developed by embest company, the same sata disk can be recognized at the speed 3.0 Gps. Under the condition that the hardware design is easy and can't be wrong, I think there is some problem with the kernel source code in sata driver.
by the way, another thing: I think the line "if(!priv->phy_id)" in the emac_dev_open funtion of the davinci_emac.c file should be removed. Otherwise, the third party ethernet PHY can't be recorgnized by the kernel and it will print "PHY not found". I remove this line when I use the third-party board to avoid this problem.
Replies (2)
RE: SATA disk can‘t be linked when booting the linux kernel (Using industrial board) - Added by Michael Williamson over 11 years ago
Hello,
Thank you for your post. I have not heard back from yilan wang, and I was assuming that his issue was resolved. Perhaps not? We have had several customers have this issue (trying to use SATA-III) and resolved their issue with the jumper. Your case is clearly different.
We have had several customers report success with integration with SATA, so I am interested in determining what the core issue here is. I am wondering if it is possible to test the kernels from one platform on the other (providing the minimal interfaces needed) to confirm that the issue tracks the software and not the hardware. That may not be easy, but would provide insight as to what to look for.
While a kernel source problem could be the issue, I was wondering if you could provide the assembly number or serial number of the MityARM-1808 module you are using? We may need to issue an RMA.
At factory, each module is tested against a SATA drive (SATA-II, I believe) to mount an ext2 filesystem and runs an md5sum on a test file for simple validation. It is not tested with the Industrial I/O board it is shipped with, however.
I will check on the ethernet issue/bug you mention. Thank you.
-Mike
RE: SATA disk can‘t be linked when booting the linux kernel (Using industrial board) - Added by Jun Mo over 11 years ago
Thanks for answering me so quickly, the S/N number of my MITY-AM1808 is: 121470. I will also try some other sata disks to see if this problem can disappear (currently I use Kingston SV200S37A/64G). And I will also try the embest' kernel on this platform, but this will take some time.