News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

How to modify FSBL from example project?

Started by johnabel, September 03, 2019, 11:19:44 AM

Previous topic - Next topic

johnabel

The example projects for TE0803 (Starter Kit and Test Board) have source code for the FSBL but cannot be imported as a project.
I tried creating an FSBL project and replacing the default source files with those but I got some errors related to the BSP.
How can one modify the FSBL?

dongkesi

I changed the FSBL in components/plnx_workspace/fsbl/ tentatively, but it will be removed after executing mrproper or distclean.


johnabel

Nope, I'm doing bare metal, but I found one has only to create a standard FSBL then add all the te_* files from the StarterKit project plus:  xfsbl_main.c  ,  xfsbl_hooks.h  ,  xfsbl_config.h  ,  xfsbl_board.c and xfsbl_board.h
That made my day

JH

Hi,
yes, this works if you use SDK, or you load directly the Starterkit template into the local SDK Repository (in this case you can select modified fslb like default fsbl), to add local repo see:
https://wiki.trenz-electronic.de/display/PD/SDK+Projects#SDKProjects-CreateSDKProjectfromVivado

br
John