There are probably several ways to get source code for this thing. I am almost positive for example that U-Boot for the Zynq includes a FSBL, but I am not going that route.
Note that three different loaders have to run to get an operating system like linux or my Kyu RTOS loaded and running:
OCM is "on chip memory".
Note that these resources mention using Vitis to build the FSBL. I have Vitis (and Vivado) installed, so this implies that if I dig around I should find FSBL sources to at least examine.
/u1/Projects/ebaz/Petalinux/u-boot-xlnx /u1/Projects/ebaz/XDC/AR51786_2015_1/project_1/project_1.sdk/zynq_fsblAnd I am sure I can find more if I dig around through the stuff I have downloaded over the years. I have the above already on my system, but some searching led me to this: This contains the FSBL as one of many interesting things that Xilinx makes available, so I am going to use this as my starting point.
Tom's Computer Info / tom@mmto.org