AnsweredAssumed Answered

i.mx6q rev1.2版本与rev1.5版本 sata接口有何改动,需要打那些补丁?

Question asked by zard33 zard33 on Mar 23, 2015

我们公司使用飞思卡尔imx6系列处理器已经2年多了,最近购买贵公司一批i.mx处理器发现点问题,现在简单描述下该问题。

之前我们一直用的是飞思卡尔MCIMX6Q6AVT10AC(芯片ID rev1.2)芯片的,我们用这个芯片做了一些开发板,上面接了个SATA硬盘测试一直都是没问题的,自从飞思卡尔官网上面买不到这种芯片(不知道是不是停产),而改用MCIMX6Q6AVT10AD(芯片ID rev1.5)后,将芯片焊接在原来的板子上面,sata接口就通讯不正常了,具体启动信息贴在下面:

 

正常的MCIMX6Q6AVT10AC(芯片ID rev1.2)启动信息如下:

 


U-Boot 2013.01 (Aug 11 2014 - 01:16:03)

 

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: SABRE Lite
DRAM:  256 MiB
WARNING: Caches not enabled
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB
*** Warning - bad CRC, using default environment

 

No panel detected: default to HDMI
unsupported panel HDMI
In:    serial
Out:   serial
Err:   serial
Thermal fuse is 0x5844e67d, raw_25c=1412 raw_hot=1254 hot_temp=125 C scale=0.63
Temperature raw=1391 temperature= 38.29 C
Net:   Phy not found
using phy at 4
PHY reset timed out
FEC [PRIME]
Warning: failed to set MAC address

 

Hit any key to stop autoboot:  0
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
SATA Device Info:
S/N:             9QE0M77K
Product model number: ST3250820AS
Firmware version: 3.AAC
Capacity: 488397168 sectors

 

SATA device 0: Model: ST3250820AS Firm: 3.AAC Ser#:             9QE0M77K
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
... is now current device

 

 

 

硬盘ID可以正常读取出来。

 


*******************************************************************************************************************

 


不正常MCIMX6Q6AVT10AD(芯片ID rev1.5)启动信息:
U-Boot 2013.01 (Aug 11 2014 - 01:16:03)

 

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz
Reset cause: POR
Board: SABRE Lite
DRAM:  256 MiB
WARNING: Caches not enabled
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB
*** Warning - bad CRC, using default environment

 

No panel detected: default to HDMI
unsupported panel HDMI
In:    serial
Out:   serial
Err:   serial
Thermal fuse is 0x5714bc7d, raw_25c=1393 raw_hot=1212 hot_temp=125 C scale=0.55
Temperature raw=1396 temperature= 23.34 C
Net:   Phy not found
using phy at 4
PHY reset timed out
FEC [PRIME]
Warning: failed to set MAC address

 

Hit any key to stop autoboot:  0
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
timeout exit!
timeout exit!
SATA Device Info:
S/N:
Product model number:
Firmware version: 5
Capacity: 0 sectors

 

SATA device 0: Model:  Firm:  Ser#:
            Type: Hard Disk
            Capacity: not available
... is now current device
** Bad device size - sata 0 **
** Bad device size - sata 0 **

 


硬盘ID读取出来都是空的。

 


已经焊接过几块板子了,可以排除是电路版焊接问题

 

用的都是同一块硬盘和线,也可以排除硬盘和线的问题。

 

另外,发现rev1.5版本也不是完全100%读不到硬盘ID的,就是有时候能正常读取出ID,试个几十次会有一两次能读取出ID的。
而旧版的rev1.2的是可以100%读到ID的。

Outcomes