Project

General

Profile

Problem in building of kernel and booting

Added by Raja Vankam over 12 years ago

Hi,

I tried to recompile the kernel provided and booting the same on MityARM 335x development board.

I have followed the procedure as mentioned in lilnk http://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Linux_Kernel.

As per the procedure in the link device config file supposed to be, “mityarm335x_devkit_defconfig” is not available in the virtual box provided. As it is not available, I tried with “am335x_evm_defconfig”. I could build the uImage successfully.
But the newly built kernel is not booting. If i compare the uImage size, the newly built kernel size is less and during bootup it shows the kernel size and stops at 'starting kernel" for ever.

Could you please let us know how to proceed on this.


Replies (2)

RE: Problem in building of kernel and booting - Added by Michael Williamson over 12 years ago

Hi,

In order to build the kernel image, you need to checkout the "mityarm335x_wip" branch. It is not the default master branch. You may also need to do a "git pull" on your VM in order to make sure you get the latest kernel patches. We haven't merged the "work in progress" branch over to the master branch as we are still running some tests on some of the interfaces. You are somewhat of an early adopter. Sorry for the confusion.

If you do a:

# git pull
# git checkout -b local origin/mityarm335x_wip

You should be able to use the "mityarm-335x-devkit_defconfig" target to make the kernel per the wiki (we need to fix that too, again, apologies).

The am335x_evm_defconfig will not work with the MityARM-335x devkit as the boards are not compatible (different UART and pin mux configurations, different PMIC's, etc.), so it's not surprise you had troubles there...

Hope this helps.

-Mike

RE: Problem in building of kernel and booting - Added by Raja Vankam over 12 years ago

Hi Mike,

Thankyou very much. That worked...

But the only difference is the kernal iamge name provided default in the SD Card has version 3.1.0+ and mine 3.1.0-g0e9e502. Does it mean anything?

And also I request your support in informing us on latest developments on the same as we are also working on the same eval board.

Thanks,
Regards,
Raja.

    (1-2/2)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)