Forum Discussion

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

How to use a altera tse on uClinux ?

Dear all.

I have a question.

I use a uClinux-dist 201006.ver. I want to turn on ethernet function.

so, I executed the menuconfig. but altera_tse function is not saw...

why didn't you do not saw ?

so, I was to get a workaround.

that linux 2.6.x .conifg <= CONFIG_ALT_TSE=y

but, still not enable ethernet mac(eth0) on kernel.

plaese, tell me your help.....

4 Replies

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

    Are you using the Altera Triple Speed MAC component in your SOPC builder? If not, you can get rid of this error by deselecting the altera triple speed ethernet support under device drivers -> network device support -> ethernet (10 or 100mbit) in the Kernel Settings for uClinux. You should also be able to find whichever ethernet chip your board uses and turn that option on to activate the ethernet.

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

    Dear Mokango.

    Thanks for your reply.

    1) My Kernel(linux2.6) version is 2.6.30.

    2) use the Altera Triple Speed Mac in SOPC builder on DE2_115 board

    3) ALT_TSE turn on -> make menuconfig NET_DEV1000 on uClinux-dist

    However, when booting kernel has many error.

    altera_tse.o --- faild ...

    I think that kernel 2.6.30 of altera_tse.c or altera_tse.h has error codes.

    I want to altera_tse.c , altera_tse.h.

    Please help me your advice.

    regards,

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

    Is updating to the latest kernel an option? Many bugs were fixed in that driver since 2.6.30.