Cyclone V SoC Power Optimization

ID 683713
Date 2/09/2015
Document Table of Contents Compiling the Driver

After setting up your environment to include a path to the Linaro ARM GCC compiler as is mentioned in the “Linux Kernel” instructions, follow the instructions until after you’ve completed “make ARCH=ARM socfpga_defconfig” step. This step creates a kernel with the default configuration for the “socfpga” (Altera’s SoC FPGA) devices.

  1. Run “make ARCH=ARM menuconfig” and select:

    Device Drivers --->

    Followed by ENTER.

  2. In the “Device Drivers” section look for:

    <> Hardware Monitoring support --->

    Note: Use the space bar to toggle the <> from disabled <> to enabled <*>. Setting it to <M> adds it as a module, which was not tested.

    Hit ENTER to enter go into the “Hardware Monitoring support” section. Browse to: <*> PMBus support --->

  3. Set the <> to <*> and hit ENTER to go to the PMBus support section.

    In this section, find <> Linear Technologies LTC2974, LTC2978, LTC3880, and LTC3883.

  4. Change the <> to <*> to enable the LTC2978A Hardware Monitoring Driver.
  5. Follow the instructions on Rocketboards to build the kernel.
  6. Make ARCH=arm uImage LOADADDR=0x8000.
  7. Copy the resulting zImage from ./arch/arm/boot to the FAT partition of your SD Card and boot Linux.