需要使用msata接口,需要怎样配置?
因项目需要,我们要使用SATA接口:1. 怎样配置mSata的RCW。
2. mSata可以转成sata接口吗?
本帖最后由 zhichao 于 2020-1-14 14:53 编辑
1043需要修改才能用mSATA,mSata可以转成sata接口,您可以自行尝试,1046支持mSATA和SATA。rcw要修改文件flexbuild/packages/firmware/rcw/ls1043ardb/RR_FQPP_1455/rcw_1600_qspiboot.rcw
将SRDS_PRTCL_S1的值改成13656;
将SRDS_PLL_REF_CLK_SEL_S1的值改成0;
MEM_PLL_RAT=16
CGA_PLL1_RAT=16
CGA_PLL2_RAT=10
-SRDS_PRTCL_S1=5205
+SRDS_PRTCL_S1=13656
FM1_MAC_RAT=1
-SRDS_PLL_REF_CLK_SEL_S1=2
+SRDS_PLL_REF_CLK_SEL_S1=0
并且添加内容:
write 0x57015c, 0x40100000
write 0x570600, 0x00000000
write 0x570604, 0x40100000
+// sata serdes
+write 0xeb08c4, 0x844500aa
+write 0xeb1300, 0x80104e20
+write 0xeb08dc, 0x00502880
.end
编译生成firmware_ls1043ardb_uboot_qspiboot.img即可
注意:开发板上电时需要将拨码3拨到ON
您用的板子是1043还是1046 我的是1043 更新后发现无法连接上网络了
lo: flags=73<UP,LOOPBACK,RUNNING>mtu 65536
inet 127.0.0.1netmask 255.0.0.0
inet6 ::1prefixlen 128scopeid 0x10<host>
looptxqueuelen 1000(Local Loopback)
RX packets 14bytes 878 (878.0 B)
RX errors 0dropped 0overruns 0frame 0
TX packets 14bytes 878 (878.0 B)
TX errors 0dropped 0 overruns 0carrier 0collisions 0
lxcbr0: flags=4099<UP,BROADCAST,MULTICAST>mtu 1500
inet 10.0.3.1netmask 255.255.255.0broadcast 0.0.0.0
ether 00:16:3e:00:00:00txqueuelen 1000(Ethernet)
RX packets 0bytes 0 (0.0 B)
RX errors 0dropped 0overruns 0frame 0
TX packets 0bytes 0 (0.0 B)
TX errors 0dropped 0 overruns 0carrier 0collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST>mtu 1500
inet 192.168.122.1netmask 255.255.255.0broadcast 192.168.122.255
ether 52:54:00:ef:a1:22txqueuelen 1000(Ethernet)
RX packets 0bytes 0 (0.0 B)
RX errors 0dropped 0overruns 0frame 0
TX packets 0bytes 0 (0.0 B)
TX errors 0dropped 0 overruns 0carrier 0collisions 0
Err:1 http://packages.ros.org/ros/ubuntu bionic InRelease
Temporary failure resolving 'packages.ros.org'
Err:2 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:3 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Temporary failure resolving 'ports.ubuntu.com'
Err:4 http://us.ports.ubuntu.com/ubuntu-ports bionic InRelease
Temporary failure resolving 'us.ports.ubuntu.com'
Err:5 http://us.ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Temporary failure resolving 'us.ports.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://us.ports.ubuntu.com/ubuntu-ports/dists/bionic/InReleaseTemporary failure resolving 'us.ports.ubuntu.com'
W: Failed to fetch http://us.ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/InReleaseTemporary failure resolving 'us.ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/InReleaseTemporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/bionic/InReleaseTemporary failure resolving 'ppa.launchpad.net'
W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/bionic/InReleaseTemporary failure resolving 'packages.ros.org'
W: Some index files failed to download. They have been ignored, or old ones used instead. 有些配置冲突导致的,有的网口还可使用,可以看下rcw配置表确定哪个网口能用 zhichao 发表于 2020-1-16 09:15
有些配置冲突导致的,有的网口还可使用,可以看下rcw配置表确定哪个网口能用
开发板上的网口我都插过了呢,网口上的灯在闪,但系统无法访问网络。您能帮看下吗?刚接触这个板子。 两者之间配置冲突,暂时没办法解决,所以我们没配置rcw,保证网口能用,您自己尝试一下吧 经过与技术支持沟通,只sata模式下只能用fm1-mac3,需要配置静态及动态IP及DNS,在软件测试文档4.1节,系统默认只有fm1-mac6.network这个文档,要新建一个fm1-mac3.network并配置,现在可以正常通讯。 zhichao 发表于 2020-1-14 09:05
1043需要修改才能用mSATA,mSata可以转成sata接口,您可以自行尝试,1046支持mSATA和SATA。rcw要修改文件fl ...
Hi zhichao:
因为疫情我的msata硬盘还没有回来,因此没办法测试这个配置的正确性,所以我研究了下这个配置。
在设置sata serdes的pbi命令中比如:
write 0xeb08c4, 0x844500aa
在芯片中serdes地址是在0x1ea_0000h的位置上,而0xeb08c4是哪个寄存器呢?
页:
[1]