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.

How to adjust GLSDK kernel config and rebuild with the Yocto tools.



Hi,


Now I want to rebuild the kernel in GLSDK according to the note "http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide#Building_Yocto_Filesystem".

But the develop guide do not include the method to do this.

As you know, I can use "build-speicific-recipe.sh omap5-evm -f -c menuconfig busybox" to configure busybox and then rebuild to prepare the ipk.

But kernel is image type, not ipk type.

So if someone can tell me the method to rebuild the kernel?

Thanks and regards,

Jianqiang Yan

  • Hello Jianqiang Yan,

    To configure kernel features, used by busybox, that are not currently in omap2plus_defconfig file, you should use the bellow sequence:
     ~/ti-glsdk_omap5-uevm_6_04_00_02/board-support/linux$ export ARCH=arm

     ~/ti-glsdk_omap5-uevm_6_04_00_02/board-support/linux$ export PATH=/home/users/ykovachev/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/:$PATH

     ~/ti-glsdk_omap5-uevm_6_04_00_02/board-support/linux$ export CROSS_COMPILE=arm-linux-gnueabihf-

     ~/ti-glsdk_omap5-uevm_6_04_00_02/board-support/linux$ make omap2plus_defconfig

     ~/ti-glsdk_omap5-uevm_6_04_00_02/board-support/linux$ make menuconfig  /*(make the appropriate        configurations needed for busybox)*/

    ~/ti-glsdk_omap5-uevm_6_04_00_02/board-support/linux$ make uImage 
    The above sequence will rebuild the kernel with all configurations made in menuconfig.

    After that you should follow the steps in http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide#Modifying_source_code_and_rebuilding_a_component to compile & install the busybox ipk in the filesystem.
     

    Best Regards,
    Yordan

    http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide#Modifying_source_code_and_rebuilding_a_component