Forum Discussion

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

Ethernet not work with Linux on HPS

hello,

I copied the files from rocketboards to the sd card and configure all of the switchs and jumpers. My linux boot but I never succeeded to connect the board on the network to test the web application. If I tried an "ifconfig" the eth0 is not here, I have only the lo (loop back). See attached for the boot sequence : (I underline the 2 important mesage)

thanks

3 Replies

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

    I think you'd better login first, then set the passwd. After that ,maybe you can use "ifconfig"

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

    First console Eth-error is before login ask!

    In my kit output to RS, its there:

    libphy: stmmac: probed
    eth0: PHY ID 00221611 at 4 IRQ 0 (stmmac-0:04) active
    Initializing USB Mass Storage driver...

    I don't replace original contents of SD-card, may send my files to e-mail, only not fast.

    These files is all visible if insert SD-card in PC through adapter, included with kit:

    soc_system.rbf  6843 K 05.11.13 01:05
    socfpga.dtb   18049  05.11.13 01:05
    u-boot.scr  200  05.11.13 01:05
    zImage  3128 K  05.11.13 01:05

    May be incompatible version of device tree on rocketboards, need be ask there.

    Or if Eth-interface disabled through jumpers ?

    Or power/ground pin isolated ? Press to Eth-Phy, run test soft from Altera...

    On rocket available previous versions of Linux boot image ? There permanently changes its project...

    Lanix, please, big console output surround with brackets: "[ code ]" and "[ /code ]" (withoot blanc spaces, its for nonwork inserting)!

    Or: analogical with "quote.

    Or may include this as separate file.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Could be the wrong pre-loader being used, and it is not enabling the EMAC I/O pins in the HPS, hence the error message about no PHY being found.

    Andrew