硅天下科技

硅天下科技

1个粉丝

38

问答

0

专栏

9

资料

硅天下科技  发布于  2020-08-13 22:49:40
采纳率 0%
38个问答
4095

Hi3516EV200初始化rtl8188模块异常

 
上电后能正常加载MPP的各个驱动模块,如下所示:
load sys.ko for Hi3516EV200...OK!
load tde.ko for HI3516EV200...OK!
load region.ko for Hi3516EV200...OK!
load vgs.ko for Hi3516EV200...OK!
load vi.ko for Hi3516EV200...OK !
ISP Mod init!
load vpss.ko for Hi3516EV200...OK!
load vo.ko for Hi3516EV200...OK!
load hifb.ko OK!
load chnl.ko for Hi3516EV200...OK!
load vedu.ko for Hi3516EV200...OK!
load rc.ko for Hi3516EV200...OK!
load venc.ko for Hi3516EV200...OK!
load h264e.ko for Hi3516EV200...OK!
load h265e.ko for Hi3516EV200...OK!
load jpege.ko for Hi3516EV200...OK!
load ive.ko for Hi3516EV200...OK!
Load sensor_spi.ko for Hi3516EV200...OK !
insert audio
load mipi_rx driver successful!

但是在加载8188fu.ko 驱动的时候,
打印出rtl8188 的mac地址后,直接刷出 cut here 错误,
如果把rtl8188模块接线拔掉,则能正常注册rtl8188fu接口驱动,如下所示:

load sys.ko for Hi3516EV200...OK!
load tde.ko for HI3516EV200...OK!
load region.ko for Hi3516EV200...OK!
load vgs.ko for Hi3516EV200...OK!
load vi.ko for Hi3516EV200...OK !
ISP Mod init!
load vpss.ko for Hi3516EV200...OK!
load vo.ko for Hi3516EV200...OK!
load hifb.ko OK!
load chnl.ko for Hi3516EV200...OK!
load vedu.ko for Hi3516EV200...OK!
load rc.ko for Hi3516EV200...OK!
load venc.ko for Hi3516EV200...OK!
load h264e.ko for Hi3516EV200...OK!
load h265e.ko for Hi3516EV200...OK!
load jpege.ko for Hi3516EV200...OK!
load ive.ko for Hi3516EV200...OK!
Load sensor_spi.ko for Hi3516EV200...OK !
insert audio
load mipi_rx driver successful!
RTW: module init start
RTW: rtl8188fu v5.3.0.1_28034.20180525
RTW: build time: May  6 2020 20:51:24
usbcore: registered new interface driver rtl8188fu
RTW: module init ret=0
Auto login as root ...
Jan  1 00:00:04 login[1001]: root login on 'ttyS000'
Welcome to HiLinux.
None of nfsroot found in cmdline.
~ # hisi-femac 10040000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx


此时再接回rtl8188模块则出现cut here异常,如下所示:

usb 1-1: new high-speed USB device number 2 using xhci-hcd
RTW: hal_com_config_channel_plan chplan:0x23
RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
wlan0 mac_addr=38:01:46:45:f2:7c
------------[ cut here ]------------
WARNING: CPU: 0 PID: 237 at fs/proc/generic.c:578 remove_proc_entry+0x114/0x13c
remove_proc_entry: removing non-empty directory 'net/rtl8188fu', leaking at least 'wlan0'
Modules linked in: 8188fu(O) gpio(O) hi_mipi_rx(O) hi3516ev200_acodec(PO) hi3516ev200_adec(PO) hi3516ev200_aenc(PO) hi3516ev200_ao(PO) hi3516ev200_ai(PO) hi3516ev200_aio(PO) hi_sensor_spi(O) hi_sensor_i2c(O) hi_pwm(O) hi3516ev200_ive(PO) hi3516ev200_jpege(PO) hi3516ev200_h265e(PO) hi3516ev200_h264e(PO) hi3516ev200_venc(PO) hi3516ev200_rc(PO) hi3516ev200_vedu(PO) hi3516ev200_chnl(PO) hifb(O) hi3516ev200_vo(PO) hi3516ev200_vpss(PO) hi3516ev200_isp(PO) hi3516ev200_vi(PO) hi3516ev200_vgs(PO) hi3516ev200_rgn(PO) hi3516ev200_tde(PO) hi3516ev200_sys(PO) hi3516ev200_base(PO) hi_osal(O) sys_config(O)
CPU: 0 PID: 237 Comm: kworker/0:1 Tainted: P           O    4.9.37 #36
Hardware name: Generic DT based system
Workqueue: usb_hub_wq hub_event
Backtrace:
[] (dump_backtrace) from [] (show_stack+0x18/0x1c)
r7:00000009 r6:00000000 r5:c053347c r4:c1f23948
[] (show_stack) from [] (dump_stack+0x24/0x28)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_fmt+0x40/0x48)
r9:c2c8bb64 r8:c2c8c000 r7:c2c89000 r6:c17fa955 r5:c1c23cd5 r4:c0533518
[] (warn_slowpath_fmt) from [] (remove_proc_entry+0x114/0x13c)
r3:c0484580 r2:c0533518
r4:c17fa900
[] (remove_proc_entry) from [] (rtw_drv_proc_deinit+0x4c/0x68 [8188fu])
r6:bf46c70c r5:00000006 r4:bf4a3250
[] (rtw_drv_proc_deinit [8188fu]) from [] (rtw_ndev_init+0xc4/0xe8 [8188fu])
r7:c2c89000 r6:00000000 r5:c2c8c000 r4:00000000
[] (rtw_ndev_init [8188fu]) from [] (register_netdevice+0x7c/0x490)
r5:c05f9938 r4:c13d5800
[] (register_netdevice) from [] (register_netdev+0x1c/0x2c)
r9:c2c8bb64 r8:c2c8c000 r7:c2c89000 r6:c2c8bbe0 r5:c13d5800 r4:c13d5800
[] (register_netdev) from [] (rtw_os_ndev_register+0x94/0xf8 [8188fu])
r5:c13d5800 r4:00000001
[] (rtw_os_ndev_register [8188fu]) from [] (rtw_os_ndevs_register+0xa4/0xec [8188fu])
r9:bf491edc r8:bf47bc2d r7:c2c89000 r6:bf4a2e30 r5:c15d0000 r4:00000000
[] (rtw_os_ndevs_register [8188fu]) from [] (rtw_os_ndevs_init+0x24/0x40 [8188fu])
r9:c146b870 r8:c1052600 r7:c2c89000 r6:bf4a2e30 r5:bf491edc r4:c15d0000
[] (rtw_os_ndevs_init [8188fu]) from [] (rtw_drv_init+0x458/0x53c [8188fu])
r5:bf491edc r4:c15d0000
[] (rtw_drv_init [8188fu]) from [] (usb_probe_interface+0x164/0x2b0)
r10:ffffffed r9:00000000 r8:c146b800 r7:c146b870 r6:c1052620 r5:c1052600
r4:bf492130
[] (usb_probe_interface) from [] (driver_probe_device+0x20c/0x2b8)
r10:c05f17f0 r9:00000000 r8:0000001e r7:bf4920e0 r6:00000000 r5:c1052620
r4:c06384b0
[] (driver_probe_device) from [] (__device_attach_driver+0xa0/0xd4)
r9:00000000 r8:c063848c r7:00000001 r6:c1052620 r5:c1f23ba8 r4:bf4920e0
[] (__device_attach_driver) from [] (bus_for_each_drv+0x68/0x9c)
r7:00000001 r6:c026f654 r5:c1f23ba8 r4:00000000
[] (bus_for_each_drv) from [] (__device_attach+0xb8/0x11c)
r6:c05f1808 r5:c1052654 r4:c1052620
[] (__device_attach) from [] (device_initial_probe+0x14/0x18)
r7:00000000 r6:c05f1808 r5:c1052620 r4:c1052628
[] (device_initial_probe) from [] (bus_probe_device+0x8c/0x94)
[] (bus_probe_device) from [] (device_add+0x3fc/0x588)
r7:00000000 r6:c1052620 r5:c146b870 r4:c1052628
[] (device_add) from [] (usb_set_configuration+0x4cc/0x86c)
r10:c146b870 r9:00000001 r8:c146b800 r7:c0559d04 r6:c1052e50 r5:00000000
r4:c1052600
[] (usb_set_configuration) from [] (generic_probe+0x34/0x80)
r10:c05f16bc r9:00000000 r8:0000001e r7:c05f1f78 r6:00000000 r5:00000001
r4:c146b800
[] (generic_probe) from [] (usb_probe_device+0x2c/0x44)
r5:c146b800 r4:c05f1f78
[] (usb_probe_device) from [] (driver_probe_device+0x20c/0x2b8)
r5:c146b870 r4:c06384b0
[] (driver_probe_device) from [] (__device_attach_driver+0xa0/0xd4)
r9:00000000 r8:c1c54440 r7:00000001 r6:c146b870 r5:c1f23d78 r4:c05f1f78
[] (__device_attach_driver) from [] (bus_for_each_drv+0x68/0x9c)
r7:00000001 r6:c026f654 r5:c1f23d78 r4:00000000
[] (bus_for_each_drv) from [] (__device_attach+0xb8/0x11c)
r6:c05f1808 r5:c146b8a4 r4:c146b870
[] (__device_attach) from [] (device_initial_probe+0x14/0x18)
r7:00000000 r6:c05f1808 r5:c146b870 r4:c146b878
[] (device_initial_probe) from [] (bus_probe_device+0x8c/0x94)
[] (bus_probe_device) from [] (device_add+0x3fc/0x588)
r7:00000000 r6:c146b870 r5:c1deb070 r4:c146b878
[] (device_add) from [] (usb_new_device+0x1ac/0x374)
r10:00000000 r9:c1d5d37c r8:c1d5d104 r7:00000000 r6:c144a240 r5:c146b870
r4:c146b800
[] (usb_new_device) from [] (hub_event+0x650/0x10d0)
r10:00000000 r9:c1d5d37c r8:c1d5d104 r7:c1deb000 r6:00000001 r5:c146b800
r4:00000003
[] (hub_event) from [] (process_one_work+0x1d8/0x3e8)
r10:c1f21900 r9:00000000 r8:c05dab3c r7:c23a2300 r6:00000000 r5:c1f21900
r4:c1d5d104
[] (process_one_work) from [] (worker_thread+0x6c/0x574)
r10:c1f21900 r9:00000008 r8:c1f22000 r7:c05dab50 r6:c05de740 r5:c1f21918
r4:c05dab3c
[] (worker_thread) from [] (kthread+0xf8/0x110)
r10:00000000 r9:00000000 r8:c002f370 r7:c1f21900 r6:c1f22000 r5:c1d02fc0
r4:00000000
[] (kthread) from [] (ret_from_fork+0x14/0x2c)
r8:00000000 r7:00000000 r6:00000000 r5:c0034b34 r4:c1d02fc0
---[ end trace 833acbe5aa55aa20 ]---


同样的固件和硬件在另一块板测试是正常的

请大咖前辈们帮我分析一下,谢谢🙏🙏
我来回答
回答1个
时间排序
认可量排序

🇨🇳

0个粉丝

2

问答

0

专栏

0

资料

🇨🇳 2021-01-11 10:21:43
认可0

你好,我也遇到同样的问题,请问你解决了吗

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区