Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

ISP1362

Hi,

I could find the code for isp116x here

linux-2.6.x/drivers/usb/host/isp116x-hcd.c

similarly where can i find for isp1362

does uCLinux support it?

or should we write the code ourself?

I am new to this device drivers.

Please do point me to the correct location where I can find sufficient information.

Thanking-You

Raghavendra

9 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by raghavendra@Jun 6 2006, 01:31 PM

    hi,

    i could find the code for isp116x here

    linux-2.6.x/drivers/usb/host/isp116x-hcd.c

    similarly where can i find for isp1362

    does uclinux support it?

    or should we write the code ourself?

    i am new to this device drivers.

    please do point me to the correct location where i can find sufficient information.

    thanking-you

    raghavendra

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15940)

    --- quote end ---

    --- Quote End ---

    follow the wiki, and you can find it.

    http://nioswiki.jot.com/wikihome/operating...nux/uclinuxdist (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/uclinuxdist)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Sorry to disturb you again Hippo

    but are

    isp116x

    and

    isp1362

    both supported in uCLinux?

    or is it board specific?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have isp1362 with Nios2

    I am running kernel 2.6.11 on uCLinux v1.4, for which the USB support was not there.

    I followed the link you gave me....

    I have understood that

    I have to download the latest uCLinux with kernel 2.6.16

    apply the given patch for Nios2

    and will have the USB isp1362 working.

    Am i heading in the right direction?

    I am currently using " Altera Stratix 1S10 Development Kit".

    Thanking-You

    Raghavendra K
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by raghavendra@Jun 6 2006, 03:25 PM

    i have isp1362 with nios2

    i am running kernel 2.6.11 on uclinux v1.4, for which the usb support was not there.

    i followed the link you gave me....

    i have understood that

    i have to download the latest uclinux with kernel 2.6.16

    apply the given patch for nios2

    and will have the usb isp1362 working.

    am i heading in the right direction?

    i am currently using " altera stratix 1s10 development kit".

    thanking-you

    raghavendra k

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15946)

    --- quote end ---

    --- Quote End ---

    Right.

    You need to add the isp1362 in SOPC builder.

    You can look at the design of DE2 dev board.

    You may need to edit the port and irq mapping in drivers/usb/hosts/isp1362_hcd.c .

    nacide had backported the driver to 2.6.11, see.

    http://www.8ung.at/nacide_manfred/linuxtut...sp1362usbdriver (http://www.8ung.at/nacide_manfred/linuxtutorial.html#isp1362usbdriver)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by raghavendra@Jun 6 2006, 03:53 PM

    thanks a lot hippo http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif

    will check it out.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15948)

    --- quote end ---

    --- Quote End ---

    sorry, the file to edit should be arch/nios2nommu/kernel/usb.c .
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I was following the link of nacide, which you gave me

    http://www.8ung.at/nacide_manfred/linuxtut...sp1362usbdriver (http://www.8ung.at/nacide_manfred/linuxtut...sp1362usbdriver)

    and trying to use 2.6.11

    I am stuck at this point where he says

    after this replace following files:

    replace the isp1362-hcd.c with the backported isp1362-hcd.c from the download section.

    replace the isp1362.h with the backported isp1362.h from the download section.

    I am unable to find the two files

    isp1362-hcd.c and

    isp1362.h

    in the download section as mentioned.

    Where can I download those two files?