[prev in list] [next in list] [prev in thread] [next in thread]
List: uclinux-dev
Subject: [uClinux-dev] USB Support problem
From: Wan Mohd Fairuz Wan Ismail <wanmohdfairuz () mckk9903 ! com>
Date: 2010-06-11 12:57:59
Message-ID: AANLkTin6D57cf-XB5yDV6U_ttPoa0YNJ7NvlcQZQFDa4 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi, I try to add USB support with the help in
http://famschmid.net/uclinuxtutorial_nios.html#usb
But when i compile the kernel, the error below come out. Anyone know what i
done wrong?
Thanks
In file included from drivers/usb/host/isp1362-hcd.c:100:
drivers/usb/host/isp1362.h:82:2: warning: #warning No platform specific
options defined, using defaults
In file included from drivers/usb/host/isp1362-hcd.c:100:
drivers/usb/host/isp1362.h: In function `isp1362_read_fifo':
drivers/usb/host/isp1362.h:789: warning: passing arg 1 of `__raw_readsw'
makes pointer from integer without a cast
drivers/usb/host/isp1362.h: In function `isp1362_write_fifo':
drivers/usb/host/isp1362.h:842: warning: passing arg 1 of `__raw_writesw'
makes pointer from integer without a cast
drivers/usb/host/isp1362-hcd.c: In function `claim_ptd_buffers':
drivers/usb/host/isp1362-hcd.c:214: error: implicit declaration of function
`__test_bit'
drivers/usb/host/isp1362-hcd.c: In function `prepare_ptd':
drivers/usb/host/isp1362-hcd.c:303: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:378: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c: In function `finish_request':
drivers/usb/host/isp1362-hcd.c:502: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:506: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:528: error: too few arguments to function
`usb_hcd_giveback_urb'
drivers/usb/host/isp1362-hcd.c: In function `postproc_ep':
drivers/usb/host/isp1362-hcd.c:603: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:607: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c: In function `isp1362_urb_enqueue':
drivers/usb/host/isp1362-hcd.c:1442: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:1444: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:1453: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c: In function `isp1362_mem_config':
drivers/usb/host/isp1362-hcd.c:2369: warning: long int format, unsigned int
arg (arg 5)
drivers/usb/host/isp1362-hcd.c:2372: warning: long int format, unsigned int
arg (arg 5)
drivers/usb/host/isp1362-hcd.c: At top level:
drivers/usb/host/isp1362-hcd.c:2760: warning: initialization from
incompatible pointer type
drivers/usb/host/isp1362-hcd.c:2761: warning: initialization from
incompatible pointer type
drivers/usb/host/isp1362-hcd.c: In function `isp1362_probe':
drivers/usb/host/isp1362-hcd.c:2904: error: implicit declaration of function
`set_irq_type'
drivers/usb/host/isp1362-hcd.c:2904: error: `IRQ_TYPE_EDGE_RISING'
undeclared (first use in this function)
drivers/usb/host/isp1362-hcd.c:2904: error: (Each undeclared identifier is
reported only once
drivers/usb/host/isp1362-hcd.c:2904: error: for each function it appears
in.)
drivers/usb/host/isp1362-hcd.c:2904: error: `IRQ_TYPE_EDGE_FALLING'
undeclared (first use in this function)
drivers/usb/host/isp1362-hcd.c:2908: error: `SA_INTERRUPT' undeclared (first
use in this function)
drivers/usb/host/isp1362-hcd.c:2908: error: `SA_SHIRQ' undeclared (first use
in this function)
drivers/usb/host/isp1362-hcd.c: At top level:
drivers/usb/host/isp1362-hcd.c:1572: warning: 'isp1362_bus_suspend' declared
`static' but never defined
make[4]: *** [drivers/usb/host/isp1362-hcd.o] Error 1
make[3]: *** [drivers/usb/host] Error 2
make[2]: *** [drivers/usb] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory
`/home/fairuz/test/uClinux-dist-lpc_2478_stk/linux-2.6.24.2-lpc2478-patched'
make: *** [linux] Error 1
--
Wan Mohd Fairuz WAN ISMAIL
Masters in Electronics Engineering,
Majoring in Embedded System Engineering,
Polytech Nice Sophia Antipolis, FRANCE.
+33(0)643461339
+60172071591
15 Le Palais des Fleurs,
74 Boulevard Raymond Poincare,
06160 Juan les Pins, FRANCE.
http://www.watt.com.my
[Attachment #5 (text/html)]
Hi, I try to add USB support with the help in <a \
href="http://famschmid.net/uclinuxtutorial_nios.html#usb">http://famschmid.net/uclinuxtutorial_nios.html#usb</a><br>But \
when i compile the kernel, the error below come out. Anyone know what i done \
wrong?<br> Thanks<br><br>In file included from \
drivers/usb/host/isp1362-hcd.c:100:<br>drivers/usb/host/isp1362.h:82:2: warning: \
#warning No platform specific options defined, using defaults<br>In file included \
from drivers/usb/host/isp1362-hcd.c:100:<br>
drivers/usb/host/isp1362.h: In function \
`isp1362_read_fifo':<br>drivers/usb/host/isp1362.h:789: warning: passing arg 1 of \
`__raw_readsw' makes pointer from integer without a \
cast<br>drivers/usb/host/isp1362.h: In function `isp1362_write_fifo':<br> \
drivers/usb/host/isp1362.h:842: warning: passing arg 1 of `__raw_writesw' makes \
pointer from integer without a cast<br>drivers/usb/host/isp1362-hcd.c: In function \
`claim_ptd_buffers':<br>drivers/usb/host/isp1362-hcd.c:214: error: implicit \
declaration of function `__test_bit'<br>
drivers/usb/host/isp1362-hcd.c: In function \
`prepare_ptd':<br>drivers/usb/host/isp1362-hcd.c:303: error: structure has no \
member named `lock'<br>drivers/usb/host/isp1362-hcd.c:378: error: structure has \
no member named `lock'<br>
drivers/usb/host/isp1362-hcd.c: In function \
`finish_request':<br>drivers/usb/host/isp1362-hcd.c:502: error: structure has no \
member named `lock'<br>drivers/usb/host/isp1362-hcd.c:506: error: structure has \
no member named `lock'<br> drivers/usb/host/isp1362-hcd.c:528: error: too few \
arguments to function `usb_hcd_giveback_urb'<br>drivers/usb/host/isp1362-hcd.c: \
In function `postproc_ep':<br>drivers/usb/host/isp1362-hcd.c:603: error: \
structure has no member named `lock'<br> drivers/usb/host/isp1362-hcd.c:607: \
error: structure has no member named `lock'<br>drivers/usb/host/isp1362-hcd.c: In \
function `isp1362_urb_enqueue':<br>drivers/usb/host/isp1362-hcd.c:1442: error: \
structure has no member named `lock'<br> drivers/usb/host/isp1362-hcd.c:1444: \
error: structure has no member named \
`lock'<br>drivers/usb/host/isp1362-hcd.c:1453: error: structure has no member \
named `lock'<br>drivers/usb/host/isp1362-hcd.c: In function \
`isp1362_mem_config':<br> drivers/usb/host/isp1362-hcd.c:2369: warning: long int \
format, unsigned int arg (arg 5)<br>drivers/usb/host/isp1362-hcd.c:2372: warning: \
long int format, unsigned int arg (arg 5)<br>drivers/usb/host/isp1362-hcd.c: At top \
level:<br> drivers/usb/host/isp1362-hcd.c:2760: warning: initialization from \
incompatible pointer type<br>drivers/usb/host/isp1362-hcd.c:2761: warning: \
initialization from incompatible pointer type<br>drivers/usb/host/isp1362-hcd.c: In \
function `isp1362_probe':<br> drivers/usb/host/isp1362-hcd.c:2904: error: \
implicit declaration of function \
`set_irq_type'<br>drivers/usb/host/isp1362-hcd.c:2904: error: \
`IRQ_TYPE_EDGE_RISING' undeclared (first use in this \
function)<br>drivers/usb/host/isp1362-hcd.c:2904: error: (Each undeclared identifier \
is reported only once<br> drivers/usb/host/isp1362-hcd.c:2904: error: for each \
function it appears in.)<br>drivers/usb/host/isp1362-hcd.c:2904: error: \
`IRQ_TYPE_EDGE_FALLING' undeclared (first use in this \
function)<br>drivers/usb/host/isp1362-hcd.c:2908: error: `SA_INTERRUPT' \
undeclared (first use in this function)<br> drivers/usb/host/isp1362-hcd.c:2908: \
error: `SA_SHIRQ' undeclared (first use in this \
function)<br>drivers/usb/host/isp1362-hcd.c: At top \
level:<br>drivers/usb/host/isp1362-hcd.c:1572: warning: 'isp1362_bus_suspend' \
declared `static' but never defined<br> make[4]: *** \
[drivers/usb/host/isp1362-hcd.o] Error 1<br>make[3]: *** [drivers/usb/host] Error \
2<br>make[2]: *** [drivers/usb] Error 2<br>make[1]: *** [drivers] Error 2<br>make[1]: \
Leaving directory `/home/fairuz/test/uClinux-dist-lpc_2478_stk/linux-2.6.24.2-lpc2478-patched'<br>
make: *** [linux] Error 1<br><br clear="all"><br>-- <br>Wan Mohd Fairuz WAN \
ISMAIL<br>Masters in Electronics Engineering,<br>Majoring in Embedded System \
Engineering,<br>Polytech Nice Sophia Antipolis, FRANCE.<br><br>+33(0)643461339<br> \
+60172071591<br>15 Le Palais des Fleurs,<br>74 Boulevard Raymond Poincare,<br>06160 \
Juan les Pins, FRANCE.<br><a \
href="http://www.watt.com.my">http://www.watt.com.my</a><br>
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic