Knowledge Base Article

Problems Booting Linux on Golden System Reference Design

Description

Linux might be unable to boot from QSPI on the Golden System Reference Design. This can happen if the device tree blob (DTB) is larger than the maximum size assumed by U-Boot (8Kb).

Resolution

You can work around this issue one of the following ways:

  • Update the U-Boot environment variable fdtimagesize as follows:
  • 1. At run time, start the U-Boot console.

    2. Type the command env set fdtimagesize 0x3000 to set the maximum DTB image size to 12 Kb.

    3. Type the command saveenv to save this setting for future boots.

  • Alternatively, change the maximum DTB image size in the code. Edit include/configs/socfpga_cyclone5.h. Find the line specifying fdtimagesize, and change it to fdtimagesize=0x3000\0.
Updated 3 months ago
Version 2.0
No CommentsBe the first to comment