June 15, 2024

the Zynq FSBL - exploring the code with ctags

Now that I have isolated only the relevant files, and arranged them in a civilized manner, I can run "ctags -R ." at the top level and use ctags mappings in Vim to roam through the code.

In many ways this is the big reward for all the work rearranging the code in the way I did.

I used to use recursive grep for this sort of thing, but doing that is just stupid when you could be using vim with ctags.

Basic startup

The first file linked is asm_vectors.S, closely followed by boot.S. Then we go to xil-crt0.S and then we are in main() in fsbl/main.c (given the way I arranged the files).

After spending a lot of time in the weeks before doing this with the disassembled bootrom code, I find things very familiar, and of course much plainer as C source instead of ARM assembly!


Feedback? Questions? Drop me a line!

Tom's Computer Info / tom@mmto.org