- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, hippo
I'm porting uClinux-dist-20060803 on Nios2 DE2 board. boa and cgi can work, but usb isp1362 cann't work. please help!!!Link Copied
16 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by faye@Oct 30 2006, 06:30 PM hi, hippo
i'm porting uclinux-dist-20060803 on nios2 de2 board.
boa and cgi can work, but usb isp1362 cann't work.
please help!!!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19012)
--- quote end ---
--- Quote End --- What's the problem? I don't have DE2 board to test. Did you use the new driver? <* > DM9000 support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by faye@Oct 30 2006, 06:30 AM hi, hippo
i'm porting uclinux-dist-20060803 on nios2 de2 board.
boa and cgi can work, but usb isp1362 cann't work.
please help!!!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19012)
--- quote end ---
--- Quote End --- I have enale DM9000,but display following message CC drivers/usb/host/isp1362-hcd.o drivers/usb/host/isp1362-hcd.c:1293: error: syntax error before "gfp_t" drivers/usb/host/isp1362-hcd.c:1294: warning: function declaration isn't a prototype drivers/usb/host/isp1362-hcd.c: In function `isp1362_urb_enqueue': drivers/usb/host/isp1362-hcd.c:1295: error: `hcd' undeclared (first use in this function) drivers/usb/host/isp1362-hcd.c:1295: error: (Each undeclared identifier is reported only once drivers/usb/host/isp1362-hcd.c:1295: error: for each function it appears in.) drivers/usb/host/isp1362-hcd.c:1296: error: `urb' undeclared (first use in this function) drivers/usb/host/isp1362-hcd.c:1333: error: `hep' undeclared (first use in this function) drivers/usb/host/isp1362-hcd.c:1334: error: `mem_flags' undeclared (first use in this function) drivers/usb/host/isp1362-hcd.c:1341: warning: implicit declaration of function `HC_IS_RUNNING' drivers/usb/host/isp1362-hcd.c: In function `isp1362_mem_config': drivers/usb/host/isp1362-hcd.c:2415: warning: int format, long unsigned int arg (arg 5) drivers/usb/host/isp1362-hcd.c:2418: warning: int format, long unsigned int arg (arg 5) drivers/usb/host/isp1362-hcd.c: In function `isp1362_hc_start': drivers/usb/host/isp1362-hcd.c:2776: error: `HC_STATE_RUNNING' undeclared (first use in this function) drivers/usb/host/isp1362-hcd.c: At top level: drivers/usb/host/isp1362-hcd.c:2818: error: unknown field `bus_suspend' specified in initializer drivers/usb/host/isp1362-hcd.c:2819: error: unknown field `bus_resume' specified in initializer drivers/usb/host/isp1362-hcd.c: In function `isp1362_remove': drivers/usb/host/isp1362-hcd.c:2828: warning: implicit declaration of function `platform_get_drvdata' drivers/usb/host/isp1362-hcd.c:2828: warning: initialization makes pointer from integer without a cast drivers/usb/host/isp1362-hcd.c:2834: warning: implicit declaration of function `usb_remove_hcd' drivers/usb/host/isp1362-hcd.c: In function `isp1362_probe': drivers/usb/host/isp1362-hcd.c:2927: error: too many arguments to function `usb_create_hcd' drivers/usb/host/isp1362-hcd.c:2932: error: structure has no member named `rsrc_start' drivers/usb/host/isp1362-hcd.c:2958: warning: implicit declaration of function `usb_add_hcd' drivers/usb/host/isp1362-hcd.c: At top level: drivers/usb/host/isp1362-hcd.c:3043: error: variable `isp1362_driver' has initializer but incomplete type drivers/usb/host/isp1362-hcd.c:3044: error: unknown field `probe' specified in initializer drivers/usb/host/isp1362-hcd.c:3044: warning: excess elements in struct initializer drivers/usb/host/isp1362-hcd.c:3044: warning: (near initialization for `isp1362_driver') drivers/usb/host/isp1362-hcd.c:3045: error: unknown field `remove' specified in initializer drivers/usb/host/isp1362-hcd.c:3045: warning: excess elements in struct initializer drivers/usb/host/isp1362-hcd.c:3045: warning: (near initialization for `isp1362_driver') drivers/usb/host/isp1362-hcd.c:3047: error: unknown field `suspend' specified in initializer drivers/usb/host/isp1362-hcd.c:3047: warning: excess elements in struct initializer drivers/usb/host/isp1362-hcd.c:3047: warning: (near initialization for `isp1362_driver') drivers/usb/host/isp1362-hcd.c:3048: error: unknown field `resume' specified in initializer drivers/usb/host/isp1362-hcd.c:3048: warning: excess elements in struct initializer drivers/usb/host/isp1362-hcd.c:3048: warning: (near initialization for `isp1362_driver') drivers/usb/host/isp1362-hcd.c:3049: error: unknown field `driver' specified in initializer drivers/usb/host/isp1362-hcd.c:3049: error: extra brace group at end of initializer drivers/usb/host/isp1362-hcd.c:3049: error: (near initialization for `isp1362_driver') drivers/usb/host/isp1362-hcd.c:3052: warning: excess elements in struct initializer drivers/usb/host/isp1362-hcd.c:3052: warning: (near initialization for `isp1362_driver') drivers/usb/host/isp1362-hcd.c: In function `isp1362_init': drivers/usb/host/isp1362-hcd.c:3063: warning: implicit declaration of function `platform_driver_register' drivers/usb/host/isp1362-hcd.c: In function `isp1362_cleanup': drivers/usb/host/isp1362-hcd.c:3070: warning: implicit declaration of function `platform_driver_unregister' drivers/usb/host/isp1362-hcd.c: At top level: drivers/usb/host/isp1362-hcd.c:3043: error: storage size of `isp1362_driver' isn't known drivers/usb/host/isp1362-hcd.c:1581: warning: 'isp1362_bus_suspend' declared `static' but never defined make[3]: *** [drivers/usb/host/isp1362-hcd.o] Error 1 make[2]: *** [drivers/usb/host] Error2 make[1]: *** [drivers/usb] Error 2 make: *** [drivers] Error 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can slove it!
please help me! ~"~- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm enable Davicom DM9000 10_100 Ethernet chip support
no enable DM9000 support- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm enable DM9000 chip support try again but it was error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by faye@Oct 30 2006, 09:06 PM i'm enable dm9000 chip support try again but it was error.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19021)
--- quote end ---
--- Quote End --- There is problem of USB struct or API changes. I will check them tommorow. Or you can check out the latest driver from blackfin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok! thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm enable davicom DM9000 10_1000 chip support, the ethernet can work,but usb isp1362 can not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by faye@Oct 30 2006, 09:31 PM i'm enable davicom dm9000 10_1000 chip support, the ethernet can work,but usb isp1362 can not work.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19024)
--- quote end ---
--- Quote End --- How about the newer driver, DM9000, (not the davicom one) ? Can you disable the Davicom one, and try out new DM9000 driver?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm disable davicom DM9000 and enable DM9000 than try it, but it always can not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by faye@Oct 30 2006, 10:29 PM i'm disable davicom dm9000 and enable dm9000 than try it, but it always can not work.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19027)
--- quote end ---
--- Quote End --- ver 7, updated isp1362, remove hcd->can_wakeup .. updated DM9000. Please check again the new DM9000 drive. Then check the isp1362. you must remove or rename old uClinux-dist dir, you must apply the patches ONLY ONCE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I enable newer DM9000 driver and modify DM9000.c(na_dm9000=>na_DM9000A),ethernet can work.
But USB isp1362 can not work. please help.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry! I don't known your meant.
please to ponit the more detail setps. thank you.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hcd->can_wakeup .. <- in the which dir or file ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by faye@Oct 31 2006, 04:02 PM hcd->can_wakeup .. <- in the which dir or file ???
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19045)
--- quote end ---
--- Quote End --- I had update the patches uClinux-dist-20060803-nios2-02.diff.gz , it is ver 7 now. http://nioswiki.jot.com/wikihome/operating...e=1162280788154 (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/uclinuxdist/uclinux-dist-20060803-nios2-02.diff.gz?cachetime=1162280788154) Please download this one again. And create a new uClinux-dist tree. cd ~ rm -rf uClinux-dist # you must remove or rename old dir, you must apply the patches ONLY ONCE. tar jxf uClinux-dist-20060803.tar.bz2 cd uClinux-dist zcat uClinux-dist-20060803-nios2-02.diff.gz | patch -p0 Then without modify the kernel sources, (ie, no need to modify na_DM9000A) try hwselect for DE2, and enable new DM9000 driver. Check if network can work. Then enable USB and isp1362-hcd . And check if it can be initialized at boot up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had update the newer patches uClinux-dist-20060803-nios2-02.diff.gz, and following your steps , it can work. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif
thank you very much!!! THx http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/laugh.gif
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page