Intel® Arria® 10 SoC UEFI Boot Loader User Guide

ID 683536
Date 12/15/2017
Document Table of Contents Bad Block Handling

You must specify the number of bad blocks that can be skipped through the programming of a particular image. By default, the gAlteraSocFpgaTokenSpaceGuid.PcdNandStopIfMoreThanThisNumberBadBlocks value is configured to 1 which means the UEFI flags a fail operation when it encounters more than one bad block.

  1. Use your preferred editor to open the <your_uefi_socfpga>/uefi-socfpga/AlteraPlatformPkg/Arria10SoCPkg/Arria10SoCPkg.dsc file.
  2. Change the gAlteraSocFpgaTokenSpaceGuid.PcdNandStopIfMoreThanThisNumberBadBlock value to your requirements.
    Note: You can choose to skip a bad block by specifying the skip or noskip option in the NAND command through the Pit Stop utility. For detailed information please refer to the NAND Flash sub-section in the List of Pit Stop Utility Commands and Use section.