opensbi
opensbi copied to clipboard
Provide flexibility to specify OpenSBI FW_TEXT_START during compilation
This changes is to provide flexibility for platform that does not use the default FW_TEXT_START. If FW_TEXT_START is not specified, default value will be used.
Signed-off-by: Wei Liang Lim [email protected]
The OpenSBI firmwares are by default position independent so you can run it from any other text base without recompiling.
On current master branch, I can set FW_TEXT_START to tell OpenSBI where to link to. It is also an important feature in my opinion, because I avoid relocation whenever I can. It doesn't really take much perfomance, but debugging using GDB is very tedious if your program starts relocating itself to somewhere else. So I guess the issue does not exist anymore?