How to examine startup-code and bootloader of linux Yocto?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to examine startup-code and bootloader of linux Yocto?

747 次查看
paulhilt
Contributor I

Hi,

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 am flooded with data and prefetch abort exceptions as soon as I jump to the kernels bootloader.It also seems like, that those exceptions occur as soon as the MMU is switched on.

Booting the Kernel without changing to non-secure state works fine.

Is it possible, that the control bits of the non-secure copy of the first-stage page tables are written with the NS-Bit cleared which causes the MMU to refuse any access to those regions ?

Where can I find the startup code that is setting up the page tables in the Yocto-BSP for IMX6Q ?

How can I debug the Linux Bootloader?

Is it possible to simply change source code of the bootloader in the build-directory of the BSP and rebuild the image?

Thanks in advance,

Paul

标记 (2)
0 项奖励
回复
0 回复数