This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

porting linux-kernel 2.6.37 on to devkit8000 beagle board

HI I am trying to port new kernel linux-2.6.37 into devkit8000 please suggest me the what are all changes has to made in MLO, U-BOOT.BIN and in kernel uImage

give detailed explanation and send me the web sites which suggests me regarding the changes need to made in order to boot new kernels in devkit.

here where i got struck

I have downloaded linux-2.6.37 from the kernel.org and I have created MLO, u-boot.bin from the source provided in CD with the board and the uImage from the linux-2.6.37. at some point my booting is freezing

## Booting kernel from Legacy Image at 80300000 ...

Image Name: Linux-2.6.37 Image

Type: ARM Linux Kernel Image (uncompressed)

Data Size: 1750680 Bytes = 2.9 MB

Load Address: 80008000

Entry Point: 80008000 Verifying Checksum ... OK

Loading Kernel Image ... OK

OK

Starting kernel ...

please suggest me the changes what and all you have made made.....?

is I need to change in u-boot or x-loader or in kernel image....???

  • Certainly you have problem during early stage of boot, some pointers for you below -

     - Make sure that you are passing correct configuration to "console=".  I did google and some threads were pointing to "console=ttyS2,115200n8", so make sure that you have this in your bootargs.

     - Can you enable early printk in the kernel and boot it, it might give you a pointer on where the kernel is crashing.

     

    On the other side, I am not sure what is the reason behind using so old kernel version, but I would recommend you to use latest and greatest from kernel.org (v3.6)

    Thanks,

    Vaibhav

  • 1.I changed the console=ttyO2,115200n8 as i read in Wikipedia that after the kernel version 2.6.28 the console as changed from ttyS2 to ttyO2

    2.I also tried with ttyS2 also both giving the same result that     "starting kernel"

    3.and I also tried with latest kernel 3.4.4 which also giving the same result.

    I have tried in many ways by following this site

    http://processors.wiki.ti.com/index.php/Kernel_-_Common_Problems_Booting_Linux#Problem_.232_-_No_more_output_is_seen_on_the_console_after_.22booting_the_kernel.22

    is it indeed to change the x-loader and u-boot as kernel changes...?? is I need to add any other files to my linux kerenl..??

  • Hi Amar i have run into that problem before, the problem probably is a mismatch on the machid of the kernel and the bootloader, make sure they are the same.

  • Hi Daniel

    i have done changes to the machine ids in bootloader as well as in kernel. they are same and if there is a mismatch between the machine ID's while booting it through an error saying that mismatch in the machine ID's. I don’t think so the problem is because of that.

  • Dear all,

    how to BOOT from sd Card...I Tried BOOT_KEY....but it won't consider...

    as usual it start from nand only....what is flow process......

    can any explain...

    Thank you