当前位置: 技术问答>linux和unix
ubuntu下使用DNW连接ARM2440问题
来源: 互联网 发布时间:2017-03-17
本文导语: 在网上下载dnw_linux后make -C /lib/modules/`uname -r`/build M=`pwd` modules 得到secbulk 然后sudo insmod ./secbulk.ko 在运行dnw时显示 root@ubuntu:~/dnw_linux# ./dnw /media/BACKUP/linux-2.6.30/arch/arm/boot/zImage file name : /media/BACKUP/linux-2.6.30/a...
在网上下载dnw_linux后make -C /lib/modules/`uname -r`/build M=`pwd` modules
得到secbulk
然后sudo insmod ./secbulk.ko
在运行dnw时显示
root@ubuntu:~/dnw_linux# ./dnw /media/BACKUP/linux-2.6.30/arch/arm/boot/zImage
file name : /media/BACKUP/linux-2.6.30/arch/arm/boot/zImage
file size : 1945616 bytes
Can not open /dev/secbulk0
这是什么问题阿?为什么用不了阿?
这是dmesg后的部分显示
[ 127.332225] domain 0: span 0-1 level MC
[ 127.332230] groups: 1 0
[ 155.548560] Drcom-Kernel 0.0.1 module loaded
[ 415.902136] Drcom-Kernel: Authentication Started.
[ 745.015827] usbcore: registered new interface driver usbserial
[ 745.018766] usbserial: USB Serial support registered for generic
[ 745.018851] usbcore: registered new interface driver usbserial_generic
[ 745.018857] usbserial: USB Serial Driver core
[ 745.057957] ch341: disagrees about version of symbol struct_module
[ 745.078177] secbulk: disagrees about version of symbol struct_module
[ 1397.280081] usb 5-2: new full speed USB device using uhci_hcd and address 2
[ 1397.444604] usb 5-2: configuration #1 chosen from 1 choice
[ 1397.516103] usbserial: USB Serial support registered for pl2303
[ 1397.516508] pl2303 5-2:1.0: pl2303 converter detected
[ 1397.528483] usb 5-2: pl2303 converter now attached to ttyUSB0
[ 1397.528970] usbcore: registered new interface driver pl2303
[ 1397.528974] pl2303: Prolific PL2303 USB to serial adaptor driver
[ 4019.093436] CE: hpet increasing min_delta_ns to 15000 nsec
[ 5296.448121] usb 6-2: new full speed USB device using uhci_hcd and address 4
[ 5296.568088] usb 6-2: device descriptor read/64, error -71
[ 5296.796077] usb 6-2: device descriptor read/64, error -71
[ 5297.012093] usb 6-2: new full speed USB device using uhci_hcd and address 5
[ 5297.132121] usb 6-2: device descriptor read/64, error -71
[ 5297.356080] usb 6-2: device descriptor read/64, error -71
[ 5297.572111] usb 6-2: new full speed USB device using uhci_hcd and address 6
[ 5297.988117] usb 6-2: device not accepting address 6, error -71
[ 5298.100088] usb 6-2: new full speed USB device using uhci_hcd and address 7
[ 5298.516081] usb 6-2: device not accepting address 7, error -71
[ 5298.516118] hub 6-0:1.0: unable to enumerate USB device on port 2
[ 5403.175736] ch341: disagrees about version of symbol struct_module
[ 5403.200899] secbulk: disagrees about version of symbol struct_module
[ 5503.499975] secbulk:secbulk loaded
[ 5503.500086] usbcore: registered new interface driver secbulk
[ 5556.352146] usb 6-2: new full speed USB device using uhci_hcd and address 8
[ 5556.472089] usb 6-2: device descriptor read/64, error -71
[ 5556.696085] usb 6-2: device descriptor read/64, error -71
[ 5556.912129] usb 6-2: new full speed USB device using uhci_hcd and address 9
[ 5557.036128] usb 6-2: device descriptor read/64, error -71
[ 5557.260108] usb 6-2: device descriptor read/64, error -71
[ 5557.476087] usb 6-2: new full speed USB device using uhci_hcd and address 10
[ 5557.892085] usb 6-2: device not accepting address 10, error -71
[ 5558.004116] usb 6-2: new full speed USB device using uhci_hcd and address 11
[ 5558.420083] usb 6-2: device not accepting address 11, error -71
[ 5558.420119] hub 6-0:1.0: unable to enumerate USB device on port 2
[ 5810.305118] usb 5-1: new full speed USB device using uhci_hcd and address 3
[ 5810.424573] usb 5-1: device descriptor read/64, error -71
[ 5810.648113] usb 5-1: device descriptor read/64, error -71
[ 5810.864118] usb 5-1: new full speed USB device using uhci_hcd and address 4
[ 5810.988114] usb 5-1: device descriptor read/64, error -71
[ 5811.208141] usb 5-1: device descriptor read/64, error -71
[ 5811.424119] usb 5-1: new full speed USB device using uhci_hcd and address 5
[ 5811.832136] usb 5-1: device not accepting address 5, error -71
[ 5811.944045] usb 5-1: new full speed USB device using uhci_hcd and address 6
[ 5812.352140] usb 5-1: device not accepting address 6, error -71
[ 5812.352182] hub 5-0:1.0: unable to enumerate USB device on port 1
[ 5824.688081] usb 5-1: new full speed USB device using uhci_hcd and address 7
[ 5824.808170] usb 5-1: device descriptor read/64, error -71
[ 5825.033108] usb 5-1: device descriptor read/64, error -71
[ 5825.248118] usb 5-1: new full speed USB device using uhci_hcd and address 8
[ 5825.369109] usb 5-1: device descriptor read/64, error -71
[ 5825.592118] usb 5-1: device descriptor read/64, error -71
[ 5825.808149] usb 5-1: new full speed USB device using uhci_hcd and address 9
[ 5826.216119] usb 5-1: device not accepting address 9, error -71
[ 5826.328134] usb 5-1: new full speed USB device using uhci_hcd and address 10
[ 5826.740139] usb 5-1: device not accepting address 10, error -71
[ 5826.740177] hub 5-0:1.0: unable to enumerate USB device on port 1
请问怎么解决阿?
还有我在vistsa下安装配套来的dnw usb下载驱动时总是蓝屏,怎么解决阿?
谢谢……
得到secbulk
然后sudo insmod ./secbulk.ko
在运行dnw时显示
root@ubuntu:~/dnw_linux# ./dnw /media/BACKUP/linux-2.6.30/arch/arm/boot/zImage
file name : /media/BACKUP/linux-2.6.30/arch/arm/boot/zImage
file size : 1945616 bytes
Can not open /dev/secbulk0
这是什么问题阿?为什么用不了阿?
这是dmesg后的部分显示
[ 127.332225] domain 0: span 0-1 level MC
[ 127.332230] groups: 1 0
[ 155.548560] Drcom-Kernel 0.0.1 module loaded
[ 415.902136] Drcom-Kernel: Authentication Started.
[ 745.015827] usbcore: registered new interface driver usbserial
[ 745.018766] usbserial: USB Serial support registered for generic
[ 745.018851] usbcore: registered new interface driver usbserial_generic
[ 745.018857] usbserial: USB Serial Driver core
[ 745.057957] ch341: disagrees about version of symbol struct_module
[ 745.078177] secbulk: disagrees about version of symbol struct_module
[ 1397.280081] usb 5-2: new full speed USB device using uhci_hcd and address 2
[ 1397.444604] usb 5-2: configuration #1 chosen from 1 choice
[ 1397.516103] usbserial: USB Serial support registered for pl2303
[ 1397.516508] pl2303 5-2:1.0: pl2303 converter detected
[ 1397.528483] usb 5-2: pl2303 converter now attached to ttyUSB0
[ 1397.528970] usbcore: registered new interface driver pl2303
[ 1397.528974] pl2303: Prolific PL2303 USB to serial adaptor driver
[ 4019.093436] CE: hpet increasing min_delta_ns to 15000 nsec
[ 5296.448121] usb 6-2: new full speed USB device using uhci_hcd and address 4
[ 5296.568088] usb 6-2: device descriptor read/64, error -71
[ 5296.796077] usb 6-2: device descriptor read/64, error -71
[ 5297.012093] usb 6-2: new full speed USB device using uhci_hcd and address 5
[ 5297.132121] usb 6-2: device descriptor read/64, error -71
[ 5297.356080] usb 6-2: device descriptor read/64, error -71
[ 5297.572111] usb 6-2: new full speed USB device using uhci_hcd and address 6
[ 5297.988117] usb 6-2: device not accepting address 6, error -71
[ 5298.100088] usb 6-2: new full speed USB device using uhci_hcd and address 7
[ 5298.516081] usb 6-2: device not accepting address 7, error -71
[ 5298.516118] hub 6-0:1.0: unable to enumerate USB device on port 2
[ 5403.175736] ch341: disagrees about version of symbol struct_module
[ 5403.200899] secbulk: disagrees about version of symbol struct_module
[ 5503.499975] secbulk:secbulk loaded
[ 5503.500086] usbcore: registered new interface driver secbulk
[ 5556.352146] usb 6-2: new full speed USB device using uhci_hcd and address 8
[ 5556.472089] usb 6-2: device descriptor read/64, error -71
[ 5556.696085] usb 6-2: device descriptor read/64, error -71
[ 5556.912129] usb 6-2: new full speed USB device using uhci_hcd and address 9
[ 5557.036128] usb 6-2: device descriptor read/64, error -71
[ 5557.260108] usb 6-2: device descriptor read/64, error -71
[ 5557.476087] usb 6-2: new full speed USB device using uhci_hcd and address 10
[ 5557.892085] usb 6-2: device not accepting address 10, error -71
[ 5558.004116] usb 6-2: new full speed USB device using uhci_hcd and address 11
[ 5558.420083] usb 6-2: device not accepting address 11, error -71
[ 5558.420119] hub 6-0:1.0: unable to enumerate USB device on port 2
[ 5810.305118] usb 5-1: new full speed USB device using uhci_hcd and address 3
[ 5810.424573] usb 5-1: device descriptor read/64, error -71
[ 5810.648113] usb 5-1: device descriptor read/64, error -71
[ 5810.864118] usb 5-1: new full speed USB device using uhci_hcd and address 4
[ 5810.988114] usb 5-1: device descriptor read/64, error -71
[ 5811.208141] usb 5-1: device descriptor read/64, error -71
[ 5811.424119] usb 5-1: new full speed USB device using uhci_hcd and address 5
[ 5811.832136] usb 5-1: device not accepting address 5, error -71
[ 5811.944045] usb 5-1: new full speed USB device using uhci_hcd and address 6
[ 5812.352140] usb 5-1: device not accepting address 6, error -71
[ 5812.352182] hub 5-0:1.0: unable to enumerate USB device on port 1
[ 5824.688081] usb 5-1: new full speed USB device using uhci_hcd and address 7
[ 5824.808170] usb 5-1: device descriptor read/64, error -71
[ 5825.033108] usb 5-1: device descriptor read/64, error -71
[ 5825.248118] usb 5-1: new full speed USB device using uhci_hcd and address 8
[ 5825.369109] usb 5-1: device descriptor read/64, error -71
[ 5825.592118] usb 5-1: device descriptor read/64, error -71
[ 5825.808149] usb 5-1: new full speed USB device using uhci_hcd and address 9
[ 5826.216119] usb 5-1: device not accepting address 9, error -71
[ 5826.328134] usb 5-1: new full speed USB device using uhci_hcd and address 10
[ 5826.740139] usb 5-1: device not accepting address 10, error -71
[ 5826.740177] hub 5-0:1.0: unable to enumerate USB device on port 1
请问怎么解决阿?
还有我在vistsa下安装配套来的dnw usb下载驱动时总是蓝屏,怎么解决阿?
谢谢……
|
驱动没工作起来,模块也没有加载
|
dnw usb下载驱动时总是蓝屏
那是驱动问题,可以去下载个友善改的驱动,但是不知道你的板子能不能用。
那是驱动问题,可以去下载个友善改的驱动,但是不知道你的板子能不能用。
|
网上有Linux下的DNW,
编译好的,直接用,不需要insmod
编译好的,直接用,不需要insmod