Chris Boot wrote:
Now, who knows how much initialisation a bootloader is expected to
perform? Does the vrboot loader do the necessary operations, in which
case I can just work on that instead of writing my own?
It depends.
Depending on the hardware:
Initialize clocks (things like PLL divisors and such).
Initialize serial port so it can report on its progress.
Initialize memory controller (so that RAM functions).
(optionally) copy bootmonitor to ram so that it can run out of cached
memory.
(optionally) copy kernel image to ram (possibley uncompressing it) and
transfersing control to the kernel.
If you are doing XIP, the last two steps are probably skipped.
I have no idea what the vrboot loader does, but that is what the Xilleon
boot loaders do.
David Daney