UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Reply

u-boot load kernel stop at starting kernel

Highlighted
Participant
Posts: 35
Registered: ‎02-09-2017

u-boot load kernel stop at starting kernel

I am using u-boot bootm method to load linux kernel. I find it stopped at starting kernel position.

I added some print info in the u-boot src to locate the reason. It went wrong in the dcache disable method.

I do not know how to solve the problem. My board uses zc7030 and the linux kernel version is 3.14.

 

Can someone tell me how to solve it? Thanks very much.

 

Pics below are the output info and my print info location in the u-boot src.

IMG_2646.JPG
IMG_2647.JPG
IMG_2648.JPG
IMG_2649.JPG
Moderator
Posts: 233
Registered: ‎12-04-2016

Re: u-boot load kernel stop at starting kernel

Hi Felven

 

I doubt there is a link missing between u-boot and uImage.

Could you please try running the below command in u-boot-xlnx/tools.
u-boot-xlnx/tools$ export PATH=$PATH:$PWD

 

And then go back to the linux-xlnx directory and recompile the kernel.

 

 

Best Regards

Shabbir

Visitor
Posts: 26
Registered: ‎06-03-2015

Re: u-boot load kernel stop at starting kernel

Hi

 

This issue looks like environment setting/version mismatch with Boot loader to Linux Kernel.

 

In Linux kernel booting, two stages  are present

1. Platform Dependent &

2. Platform Independent

 

For Platform dependent, the issues occur because of CPU or board related data 

For second case, Issues are because of Kernel, and start_kernel is entry point for second  case

 start_kernel will enter into  Platform related functions and calls each function to make system completely up.

 

In your case, this issue is from Kernel entry point, it is trying to set the set of variables for MMU (looks like MMU, based on function names), it is not setting it properly.

 

Please check versions of boot loader and Linux kernel and more importantly , check the Branch names used for compilation. (They should be sync).

 

These types of issues are nothing to do with debugging , instead of using with correct versions.

 

Thanks & Regards

Satish.G