Article ID: 000080200 Content Type: Troubleshooting Last Reviewed: 01/01/2015

Why does the preloader cause a kernel panic while booting from FPGA (when CONFIG_PRELOADER_EXE_ON_FPGA == 1)?

Environment

    Quartus® II Subscription Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

When the preloader is configured to boot from FPGA (CONFIG_PRELOADER_EXE_ON_FPGA == 1), the preloader will skip the bridge configuration and not pass the bridge configuration information to U-boot.

Resolution

To resolve this in U-boot, call the following command before calling “run bridge_enable_handoff”:

setenv l3remap_handoff 0x19


As an example, the text of the U-boot commands (before U-boot header is added) can be the following:

fatload mmc 0:1 soc_system.rbf;
fpga load 0 ;
setenv l3remap_handoff 0x19
run bridge_enable_handoff;
run mmcload;
run mmcboot;

For more information regarding creating u-boot.scr files, please see the rocketboards documentation page.

Related Products

This article applies to 5 products

Arria® V ST SoC FPGA
Arria® V SX SoC FPGA
Cyclone® V SX SoC FPGA
Cyclone® V SE SoC FPGA
Cyclone® V ST SoC FPGA

1