Home Forum Software discussion Kernel vanilla

This topic contains 5 replies, has 3 voices, and was last updated by  alpha_one_x86 2 days, 21 hours ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6830

    alpha_one_x86
    Participant

    Hi,

    How compile the vanilla kernel, in best I have that’s:
    https://pastebin.com/VVPHNPKC
    why ethernet/SFP+ is not detected?
    ifconfig -a show nothing

    Cheers,

    #6831

    kelledin
    Participant

    Currently I’m running vanilla 4.16.15 and have eth0-eth2 functional (at least as far as the RJ45 ports; I haven’t tried it with SFP+ modules yet, but I’ll get to that sooner or later). I know for certain you need CONFIG_MVPP2 and CONFIG_PHY_MVEBU_CP110_COMPHY enabled for the ethernet ports to show up (the COMPHY requirement is not obvious–but since it has SFP sockets, it is necessary).

    This is a little different than the last Macchiato BSP I tried; IIRC the 4.4 kernel from back then included a specialized add-on MVPP driver.

    You *might* also need CONFIG_OF_MDIO, CONFIG_MVMDIO, and CONFIG_MDIO_I2C enabled. If you like I can toss you my kernel .config, but I turned on a LOT of extra options just to see what all would build with my current compiler setup.

    #6832

    alpha_one_x86
    Participant

    Hi,
    Thanks, now the rj45 port work.
    for the SFP+ with direct attach:
    [ 293.143884] mvpp2 f2000000.ethernet eth0: cannot connect to phy
    [ 293.154107] mvpp2 f2000000.ethernet eth0: cannot connect to phy
    [ 304.591208] mvpp2 f4000000.ethernet eth1: cannot connect to phy
    [ 304.601483] mvpp2 f4000000.ethernet eth1: cannot connect to phy
    Work with official kernel. And I need the SFP+.

    Cheers,

    #6833

    alpha_one_x86
    Participant

    With official, I don’t have firewall, I can’t compile from source, see:
    https://github.com/MarvellEmbeddedProcessors/linux-marvell/issues/13

    #6843

    hchenji
    Participant

    Can you please send me your .config if you got it to boot?

    Also, try the latest .18-RC5, it has SFP cage support. marvell linux just hardcodes the phy bit rate.

    https://patchwork.kernel.org/patch/10380619/

    #6844

    alpha_one_x86
    Participant

    https://pastebin.com/mkM42nGi
    With .18 kernel.
    The problem start when I disable USB, HID, … well all the module not used into router.

    I load this config into vanilla kernel, I add the http://macchiatobin.net/forums/topic/kernel-vanilla/#post-6831
    disable too the not needed module, …

    I was always access to debug port.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Technical specification tables can not be displayed on mobile. Please view on desktop