I’m kexec’ing into a binary i wrote compiled to an x86_64 ELF. It runs fine. Since it’s a 64-bit binary, i know the processor must be in 64-bit long mode. Which requires paging to be used, so I know paging must be turned on. My question is, what is the state of these page tables? Is there some area, such
Tag: bootloader
Transition of multi-core processor from real mode to protected mode in Linux
I’m trying to learn more about operating systems and I am currently taking a look how the Linux kernel is loaded and initialized. Thanks to several related questions and this book, I was mostly able to understand how the transition from real mode to protected mode works. However, the one thing I don’t understand is, how and when the rest
How to examine and debug Yocto’s bootloader on i.MX6Q?
I am building a trusted execution environment on IMX6Q with a Linux Yocto version in the untrusted processor mode. When I switch to non-secure for the first time after reset to load the linux kernel, I get flooded with data and prefetch abort exceptions after I jump to the kernels bootloader.It also seems like, that those exceptions occur as soon