完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
目前只有一组USB可以使用, lichee/tools/pack/chips/sun8iw7p1/configs/dolphin-p1/sys_config.fex , 我应该如何设置参数才能让另外二组u***也可以使用? 编译好花时间@@~
预设值如下~ ;-------------------------------- ;--- USB0控制标志 ;-------------------------------- [u***c0] u***_used = 1 u***_port_type = 1 u***_detect_type = 1 u***_id_gpio = u***_det_vbus_gpio = u***_drv_vbus_gpio = port:PL02<1><0><0> u***_host_init_state = 1 u***_restrict_gpio = u***_restric_flag = 0 u***_restric_voltage = 3550000 u***_restric_capacity= 5 u***_regulator_io = "nocare" u***_regulator_vol = 0 u***_not_suspend = 0 ;-------------------------------- ;--- USB1控制标志 ;-------------------------------- [u***c1] u***_used = 1 u***_drv_vbus_gpio = port:PL03<1><0><0> u***_restrict_gpio = u***_host_init_state = 1 u***_restric_flag = 0 u***_regulator_io = "nocare" u***_regulator_vol = 0 u***_not_suspend = 0 ;-------------------------------- ;--- USB2控制标志 ;-------------------------------- [u***c2] u***_used = 0 u***_drv_vbus_gpio = u***_restrict_gpio = u***_host_init_state = 1 u***_restric_flag = 0 u***_regulator_io = "nocare" u***_regulator_vol = 0 u***_not_suspend = 0 ;-------------------------------- ;--- USB3控制标志 ;-------------------------------- [u***c3] u***_used = 1 u***_drv_vbus_gpio = u***_restrict_gpio = u***_host_init_state = 0 u***_restric_flag = 0 u***_regulator_io = "nocare" u***_regulator_vol = 0 u***_not_suspend = 0 |
|
相关推荐
3个回答
|
|
云汉达人
按下面这个修改sys_config试试 ;-------------------------------- ;--- USB0控制标志 ;-------------------------------- [u***c0] u***_used = 1 u***_port_type = 2 u***_detect_type = 0 u***_id_gpio = port:PG12<0><1> u***_det_vbus_gpio = port:PG12<0><1> u***_drv_vbus_gpio = port:PL02<1><0><0> u***_host_init_state = 1 u***_restrict_gpio = u***_restric_flag = 0 u***_restric_voltage = 3550000 u***_restric_capacity= 5 u***_regulator_io = "nocare" u***_regulator_vol = 0 u***_not_suspend = 0 ;-------------------------------- ;--- USB1控制标志 ;-------------------------------- [u***c1] u***_used = 1 u***_drv_vbus_gpio = u***_restrict_gpio = u***_host_init_state = 1 u***_restric_flag = 0 u***_regulator_io = "nocare" u***_regulator_vol = 0 u***_not_suspend = 0 ;-------------------------------- ;--- USB2控制标志 ;-------------------------------- [u***c2] u***_used = 1 u***_drv_vbus_gpio = u***_restrict_gpio = u***_host_init_state = 1 u***_restric_flag = 0 u***_regulator_io = "nocare" u***_regulator_vol = 0 u***_not_suspend = 0 ;-------------------------------- ;--- USB3控制标志 ;-------------------------------- [u***c3] u***_used = 1 u***_drv_vbus_gpio = u***_restrict_gpio = u***_host_init_state = 1 u***_restric_flag = 0 u***_regulator_io = "nocare" u***_regulator_vol = 0 u***_not_suspend = 0 ;-------------------------------- ;--- USB Device ;-------------------------------- [u***_feature] vendor_id = 0x18D1 mass_storage_id = 0x0001 adb_id = 0x0002 manufacturer_name = "USB Developer" product_name = "Android" serial_number = "20080411" [msc_feature] vendor_name = "USB 2.0" product_name = "USB Flash Driver" release = 100 luns = 3 |
|
|
|
云汉达人 解决没有
|
|
|
|
将u***_used全部改为1
|
|
|
|
只有小组成员才能发言,加入小组>>
683 浏览 1 评论
2113 浏览 5 评论
2420 浏览 9 评论
移植了freeRTOS到STMf103之后显示没有定义的原因?
2186 浏览 6 评论
2158 浏览 7 评论
使用eim外接fpga可是端口一点反应都没有有没有大哥指点一下啊
307浏览 9评论
295浏览 7评论
请教大神怎样去解决iMX6Q在linux3.0.35内核上做AP失败的问题呢
431浏览 6评论
295浏览 5评论
344浏览 5评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-19 12:16 , Processed in 0.762696 second(s), Total 49, Slave 39 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号