在V3和V3S上调试以太网(RJ45)有线网卡
原文:http://blog.csdn.net/u010257920/article/details/52422393V3s是全志SoC的一员,可以用于做CDR、IPCAMERA、SportDV等编码类的产品。这次,我需要在V3s上使用Ethernet功能,从V3s datasheet可以确定V3s内部带有EMAC及10/100M的PHY。http://img.blog.csdn.net/20160903115821470?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center
看了下索智SC3807VS EVB板的SPEC,硬件上已经将Ethernet设计出来,因此选择在TA上面进行预研开发。http://blog.csdn.net/u010257920/article/details/52422393http://img.blog.csdn.net/20160903121631379?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center
第一步,飞线接上RJ45接口,可以选择用EVB上的变压器,接一个不带变压器的RJ45,也可以接一个带变压器的RJ45,不使用板上的。第二步,使用menuconfig依次打开配置:Device Driver->----Network device support->--------Ethernet driver support->------------ SUNXI Platform Network devices drivers----------------Sunxi platform Gigabit Ethernet driver--------------------Use sunxi platform script--------------------Clock use system interface--------------------External PHY power control如下图示,保存配置,重新编译内核。http://img.blog.csdn.net/20160903121813332?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast
http://blog.csdn.net/u010257920/article/details/52422393http://img.blog.csdn.net/20160903121826286?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast
http://blog.csdn.net/u010257920/article/details/52422393http://img.blog.csdn.net/20160903121838208?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast
http://blog.csdn.net/u010257920/article/details/52422393http://img.blog.csdn.net/20160903121851380?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast
第三步,修改sys_config.fex,如下:
gmac_used = 2
gmac_power1 =
第四步,重新构建firmware,烧录到SC3807VS EVB上。烧录结束后,进入shell进行测试:http://blog.csdn.net/u010257920/article/details/52422393http://img.blog.csdn.net/20160903121930802?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast
至此,V3s使用Ethernet的预研顺利完成。
页:
[1]