Qualcomm Interview Question

how does a bootloader work? what is priority inversion and how it is solved ?compare the ways