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.

davinci arago recipe query

6366.bb_files.tar

Hi All

I am facing issue while building arago recipe for da830-omapl137-evm.

I have u-boot and kernel bb file for da830-omapl137-evm. Following below steps in order to build setup for da830-evm.

Case 1.

Build steps:

a. Followed a link http://www.arago-project.org/wiki/index.php/Setting_Up_Build_Environment in order to make arago recipe setup

b. Use command MACHINE=da830-omapl137-evm bitbake -b arago/recipes/linux/linux-davinci_3.3.0-psp03.22.00.02.bb
    to build a recipe for linux.

Result:

   Build get stops while cloning source code for linux kernel but if I do explicit cloning its working fine.

Case 2:

Build steps:

a. Followed a link http://www.arago-project.org/wiki/index.php/Setting_Up_Build_Environment in order to make arago recipe setup

b. Use command:MACHINE=da830-omapl137-evm bitbake virtual/kernel to build a recipe for linux

Results:

    Build takes wrong bb file for compilation and hence unable to create proper images for linux.

Please let me know whether Case 1 or Case 2 is proper to build kernel using arago recipe. If Case 1 is proper then how I can make clone to work fine?

If case 2 is proper then what change is required to pick proper bb file?

Please see attached .tar for bb files.

Thanks

Manish Badarkhe

  • Hi Manish,

    Case 1: 

    1. Modify SRCREV as 7d46706f5b6f953bc32facef0db75d2b154dadb9 in linux-davinci recipe file.

    2. Build the kernel image.

    (or)

    1. Download the snapshot file (linux-davinci-7d46706f5b6f953bc32facef0db75d2b154dadb9.tar.gz) from http://arago-project.org/git/projects/linux-davinci.git 

    2. Rename & move the downloaded file linux-davinci-7d46706f5b6f953bc32facef0db75d2b154dadb9.tar.gz as git_arago-project.org.git.projects.linux-davinci.git_7d46706f5b6f953bc32facef0db75d2b154dadb9.tar.gz to bitbake downloads directory.

    3. Build the recipe using, MACHINE=da830-omapl137-evm bitbake -b arago/recipes/linux/linux-davinci_3.3.0-psp03.22.00.02.bb

    Note: You may need to change the S = "${WORKDIR}/git" as S = "${WORKDIR}/linux-davinci" in linux-davinci.inc file

    Case 2: 

    1. Edit the conf/machine/da830-omapl137-evm.conf file.

    2. Modify the PREFERRED_PROVIDER to select the correct linux /u-boot recipes.

    PREFERRED_PROVIDER_virtual/kernel = "linux-omapl1"
    PREFERRED_PROVIDER_virtual/bootloader = "u-boot"

    in your case it should be linux-davinci & u-boot.

  • Hi Rajasekaran 

    Yes, It s working fine for me. Thanks for your reply.

    Regards

    Manish Badarkhe