Forum Discussion

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

Does uclinux has I2C, PCI, SATA, IDE Driver

Hi,

Does uclinux has drivers for I2C, PCI, SATA, IDE controllers available.

Can I get any guidelines to port a driver from linux to uclinux.

regards,

Rajendra

5 Replies

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

    Strictly speaking for the Nios II port...

    There is an Opencores IDE controller that hasn't been tested under Nios II at this point. We also have an i2c driver for the Opencores i2c IP.

    I haven't seen a PCI or SATA driver available for uClinux.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Rajendra,

    > Does uclinux has drivers for I2C, PCI, SATA, IDE controllers available.

    WRT the kernel, PCI is architecture-specific (and often board-specific) -- it depends on

    the host bridge that's being used on your target and the PCI mode that you're using

    (e.g. host or agent). If you're target is operating as a PCI agent, you don't need to do

    anything. If you need PCI host support, you should take a look at how the mips or

    powerpc architecture does things as a good starting point.

    Regards,

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

    What about the new PCI Compiler's ability to make SOPC components for PCI. I am interested in using this with a Nios processor but wasn't aware that I may be in for a nightmarish amount of work making it ready for uClinux.

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

    I also want to implement a PCI Interface in my STRATIX II under uClinux. If there are any ideas please be kind to tell me :-)

    Bye

    Marco