http://embedded-software.blogspot.com/2011/01/creating-testing-and-flashing-tbd.html?showComment=1298131219050#c8216733809012047042
The critical part I was missing was to execute
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig
which gives you a group of config options that is different from those to be found just by typing 'make menuconfig'. With these options, select "System Type ---> Parrot drivers ---> PARROT6 USB driver (Synopsys)" . Then you can type
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules
This will compile the modules, including the dwc_otg.ko module. Then you have to edit the 'vermagic' string as described in the link below:
http://www.rcgroups.com/forums/showthread.php?t=1335257&page=33
Then you ftp the module over and try the insmod command to see if it inserts.
$ ftp -n 192.168.1.1 (with no port num specified)
ftp> put dwc_otg.ko
ftp> exit
$ telnet 192.168.1.1
# ls /data/video
# mv /data/video/dwc_otg.ko /home/default/dwc_otg.ko
check to make sure that the file is large enough because 'ftp 192.168.1.1 5551' puts files in the /update directory, BUT the files have no contents.
# cd /home/default
# insmod dwc_otg.ko
# lsmod
(listing of inserted module)
# rmmod dwc_otg
So, so far it seems to work. Now we need to test the usb cable itself.
No comments:
Post a Comment