Changing kernel start address

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

Changing kernel start address

964件の閲覧回数
dogisfat
Contributor IV

I have implemented the change detailed in Application note AN5127 (https://www.nxp.com/docs/en/application-note/AN5127.pdf) successfully for a i.MX7D platform with kernel 4.9. I am trying to update to a Yocto Kirkstone based BSP with kernel 5.10 and am failing to successfully boot when making the same modifications. The system gets stuck after printing "Staring Kernel ..." 

What changes should I be aware of that will require additional changes to the kernel to get the modifications working for Kernel 5.10?

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

820件の閲覧回数
dogisfat
Contributor IV

I have narrowed the failure to boot to be in the __turn_mmu_on function in arch/arm/kernel/head.S. Unfortunately the comment for __turn_mmu_on specifies that you cannot trace through this function which I assume applies to jtag debuggers. I also have been unable to print to the UART though it (unsurprisingly).

What do I need to verify prior to that call to ensure the platform is correctly set up?

0 件の賞賛
返信

926件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

If it fails when specifying the kernel address, what happen if you don't and flash a fresh build?

Regards

0 件の賞賛
返信

922件の閲覧回数
dogisfat
Contributor IV

If the modifications detailed in the application note are not implemented the kernel boots and functions normally.

0 件の賞賛
返信