Forum Discussion

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

Ethernet on Neek running mmu linux question

Has anyone been able to get the ethernet on the Neek to work with mmu linux.

So far I've been able to assign a MAC address, but when I give the command "udhcpc" it tries to assign an ip address. Then if I ping a website, or even the router, I get "the network is unreachable".

Are there some options that I have to select in the kernel build menu specifically, and if so what are those options. I'd appreciate any help.

Thanks,

7 Replies

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

    OK new development,

    I am able to ping a local ip, but I get "network unreachable" if I try to ping anything out the local domain. I also get "net eth0: RX: overrun" error after I statically declare my ip address.

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

    Hi, I have the NEEK, and I'm using Hippo's most recent SOF file on the

    Nios Wiki.

    neek_ocm_spi_mmu.zip

    The MAC I believe is the Marvel option, and the PHY is the default option. I found the problem, I needed to add a gateway to the Kernel ip table with the Route command.

    First I needed a Static Ip address assigned to the Board, then use the following route command

    "route default gw 'ipaddress of gateway' "

    And vola. However after a certain amount of time, the board seems to loose all of that information.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Has anyone been able to get the ethernet on the Neek to work with mmu linux.

    So far I've been able to assign a MAC address, but when I give the command "udhcpc" it tries to assign an ip address. Then if I ping a website, or even the router, I get "the network is unreachable".

    Are there some options that I have to select in the kernel build menu specifically, and if so what are those options. I'd appreciate any help.

    Thanks,

    --- Quote End ---

    hello,I have a neek board and nios2-linux-20100621.tar , I want to make an zImage with mmu, and I use the branch "truch" and "nios2mmu",when I compile the default configuration of the kernel,there is no error,.But when I change the configuration of the kernel and choose the Neek board,there is error is the process of compilation,can you tell me why? Thank you very much!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hello,I have a neek board and nios2-linux-20100621.tar , I want to make an zImage with mmu, and I use the branch "truch" and "nios2mmu",when I compile the default configuration of the kernel,there is no error,.But when I change the configuration of the kernel and choose the Neek board,there is error is the process of compilation,can you tell me why? Thank you very much!

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

    --- Quote Start ---

    hello,I have a neek board and nios2-linux-20100621.tar , I want to make an zImage with mmu, and I use the branch "truch" and "nios2mmu",when I compile the default configuration of the kernel,there is no error,.But when I change the configuration of the kernel and choose the Neek board,there is error is the process of compilation,can you tell me why? Thank you very much!

    --- Quote End ---

    Please start a separate thread and post the errors you are getting.