Giter Site home page Giter Site logo

xl710-unlocker's Introduction

xl710-unlocker

This repo explains how to unlock X710 to accept any SFP module. Symptom by connecting non-intel SFP module:

i40e 0000:04:00.1: Rx/Tx is disabled on this device because an unsupported SFP module type was detected.
i40e 0000:04:00.1: Refer to the Intel(R) Ethernet Adapters and Devices User Guide for a list of supported modules.

This tool was tested on X710-DA2 card.

Update firmware

Use intel NVM utility to upgrade firmware. I was using nvmupdatepackage_v8_40 and upgraded x710-2DA to 8.64 firmware.

Reading eeprom and finding registers

First tool to use is mytool.c. Replace FILL_ME_IN with correct values, build and read eeprom to file:

./mytool 0 0x8000 > eeprom.txt

Open eeprom.txt and find 4 values 000b: it should be in around range of 0x6800-0x7000 and offset between 000b values should be around 0xb-0xf.

In my case 000b was at 0x6947 and offset between values 0xe.

Poking values

It seems that the important register is floating around in eeprom. Basically it should be:

  • 11 bit enabled register value
  • The same offset from the 000b value.
  • 4 identical register values

In my case it was 0x1 form 000b value, at: 0x6948, 0x6956, 0x6964, 0x6972. The value was 0x6b0c.

Replace FILL_ME_IN with gathered values, build and run.

After successful poke, reboot the machine.

Useful links

Original repo

Mailing message explained

GH issue

xl710-unlocker's People

Contributors

nevinskas avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

sretalla

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.