Forum Discussion
Shengquan_Y_Intel
New Contributor
6 years agoHi
From https://rocketboards.org/foswiki/Documentation/BuildingBootloader?elq_cid=2794385&erpm_id=5358823
===========================
Introduction
Starting with SoC EDS Pro version 19.3 and SoC EDS Standard version 19.1, the following changes were made:
- The bootloader source code was removed from SoC EDS. Instead, the user needs to clone the git trees from https://github.com/altera-opensource/u-boot-socfpga.
- The same U-Boot branch (socfpga_v2019.04) is used for all SoC FPGA devices: Cyclone V SoC, Arria V SoC, Arria 10 SoC, Stratix 10 SoC, Agilex.
- The bootloader generator (bsp-editor) still needs to be used for Cyclone V SoC, Arria V SoC and Arria 10 SoC, but:
- Does not support custom user settings anymore. Instead all custom user settings must be done directly in U-Boot (device tree, configuration and source code).
- Does not create a makefile which builds the bootloader. Instead the user is notified about this page, which contains instructions on how to build the bootloader.
..............................
Old Flow
The U-Boot could be built in previous versions of SoC EDS using the following flow:
Key aspects to note:
- Most user options (like boot source, enabling ECC scrubbing, watchdog etc) were set through the bsp-editor GUI or the command line equivalents.
- U-Boot source code was part of SoC EDS
- The makefile created by the bsp-editor allowed building the bootloader with a single 'make' command
New Flow
Starting with this release of SoC EDS, the build flow is different, as depicted below:
Key differences are:
- All the user options defined in the bsp-editor are not applicable anymore. They can still be set in the interface, but they have no effect
- All custom user settings must be done directly in U-Boot (device tree, configuration and source code).
- The makefile generated by bsp-editor does not build U-Boot, instead it instructs the user to go to this page
- The U-boot source code needs to be retrieved by the user from github
- A tool called qts_filter (part of U-Boot) needs to be called to convert the handoff files and bsp-editor generated files to the format required by the new U-Boot version.
===========================
The Old flow uses bsp-editor to set watchdog, for the new flow, I am not clear how to set watch dog, and don't see a document about it yet.