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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

768件の閲覧回数
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 返答(返信)