GithubHelp home page GithubHelp logo

asd's Introduction

at-scale-debug

Intel(R) At-Scale Debug (ASD) solution provides debug access through the BMC to the CPU/PCH JTAG chain(s) and target pins in order to facilitate debug.

Development Pre-commit Checklist

To keep the code tidy, or moving in that direction, please follow these steps for each commit.

  • Write unit tests for all new code

    Please ensure dependencies for the unit of code under test are mocked out to reduce the unit test complexity and maintain a fast set of tests. Also limit the scope of the unit test as much as possible.

  • Ensure all unit tests pass

    Each c file has it's own set of unit tests. You can run them individually if you like, or run ctest to run them all at once.

    An example to run them all at once:

    (cd [build-path]/tmp/work/[platform]/at-scale-debug/1.0-r0/build/tests/; ctest)

  • Code coverage tools can be used to verify all code is tested

    To build and generate a code coverage report, run: make && make test_coverage Then open the index.html in the test_coverage directory.

  • Run clang-format to fix code style

    Note the '.clang-format' config file is used when providing the '-style=file' argument.

    clang-format -style=file -i <filename>

  • Run valgrind

    Since all code is unit tested, its helpful run Valgrind on the unit tests to screen for potential issues.

Running Jtag Test on BMC

asd & jtag_test can be found in /usr/bin on the BMC. From the BMC console, type jtag_test --help or 'asd --help' for instructions.

asd's People

Contributors

epcorona avatar bryanjhunt avatar jmbills avatar

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.