Giter Club home page Giter Club logo

apd-tools's Introduction

apd-tools (ACPI Platform Description)

Overview

apd-tools is a set of tools to help encode network switch platform details using ACPI. The project consists of a set of guidelines and tools to help developers create and evaluate ACPI table modifications on network switch platforms.

Quick Start

See the apd-tools Wiki for complete getting started documentation.

Prerequisites

  1. The iasl compiler from ACPICA
  2. An OS with APD kernel changes

ACPI Table Override on Cumulus Linux

Development of ACPI tables on Linux is typically done by overriding the BIOS tables during early kernel initialization. The mechanism is documented in the Linux kernel tree. Cumulus Linux provides convienence script that to automate those instructions. To override the built-in ACPI tables, place a file for each table in:

SLOT=1
/boot/acpi-slot-$SLOT/kernel/firmware/acpi

then run update-dsdt

For example, to replace the DSDT for the Cumulus Linux image in install slot 1:

mkdir -p /boot/acpi-slot-1/kernel/firmware/acpi
cp dsdt.aml /boot/acpi-slot-1/kernel/firmware/acpi
update-dsdt

This will create grub menu entries to boot Cumulus Linux with the updated DSDT.

Reboot and select the "ACPI override" grub menu option. It's a good idea to attempt the _PRT "hello world" example from initrd_table_override.txt to prove the mechanism is working.

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.