Changing kernel start address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing kernel start address

967 Views
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?

Labels (1)
0 Kudos
Reply
3 Replies

823 Views
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 Kudos
Reply

929 Views
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 Kudos
Reply

925 Views
dogisfat
Contributor IV

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

0 Kudos
Reply