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.

Compiler: AM65x Yocto build

Tool/software: TI C/C++ Compiler

Hi,

     Which images should i copy custom images i need to boot the am65xx can you please help on this. Previously i copied to sdcard

sysfw.itb

tiboot3.bin

tispl.bin

u-boot.img

uEnv.txt

custom images i generated

u-boot.img

zimage

.dtb

along with any other image should i copy

Best Regards

Suman

  • Hi Suman,

    please check here:

    Regards,

    Yordan

  • Hi Yordan,

          can you please help on how to build u-boot and kernel under yocto and also which are images we need to copy to sdcard for AM65x h/w.

    Best Regards,

    Suman.

  • Hi Suman,

    You can build u-boot and kernel by simply doing a bitbake of "linux-ti-staging" or "u-boot-ti-staging".

    After this step is completed, you can go to the deploy folder "tisdk/build/arago-tmp-external-arm-toolchain/deploy/images/am65xx-evm" and copy the generated artifacts. 

    You can use the pre-built SD card as a reference and copy the corresponding binaries from the deploy folders. 

    Regards

    Karthik

  • Hi Karthik,

       Actually when i was compiling u-boot-ti-staging using bitbake  it is generating two images which are 

    u-boot.img , tispl.bin but it needs one more image that is generating some other u-boot source code i.e

    u-boot-k3-r5 this source code is generating tiboot3.bin

    and also ti-sci-fw from this source code sysfw.itb is generating we need these all images so if  i compile all the source codes and copy to the H/W it is showing .dtbo issue and also if copy my customized dtd it is not yet all picking can you please help on this clearly.

    i can't able to do menuconfig for selections through bitbake.

    Best Regards,

    Suman.

  • Hi Suman,

    If you want to do menuconfig then there is a different alternative to achieve this. I suggest that you use the installer and then refer to the "make u-boot" at the toplevel Makefile. Incase you want to invoke the "make menuconfig" you can do so after replacing the required steps.

    Regards

    Karthik

  • Hi Karthik,

         Then which is kernel image and and which image is having dtb information.

     Can you please provide full information about to customize the kernel and u-boot using menuconfig through bitbake .

    Best regards,

    Suman.

  • Hi Suman,

    Since bitbake is a non-interactive build operation it will directly use the defconfig that is specified for the given machine type. Please see ./recipes-kernel/linux/setup-defconfig.inc to understand the details.

    The way this works is that the .config is generated by combining multiple smaller config files to produce an output that is similar to the menuconfig operation. Please see ./ti_config_fragments/defconfig_builder.sh in the Linux git repository and also check the .cfg files present in that location.

    If you choose to use the conventional menuconfig operation then I recommend that you can change the appropriate files in this above mentioned build flow.

    The kernel image and the dtb image is generated separately under the directory build/arago-tmp-external-arm-toolchain/deploy/images/am65xx-evm/

    Regards

    Karthik

  • HI Karthik,

          Do you have any document regarding this  kernel and u-boot compilation steps separately inside /build folder and also why external dtb file is not taking when i copied into sd card. Can you please explain how to enable the kernel modules using menuconfig yocto kernel.  Can you please provide full information ASAP.

    Best Regards,

    Suman.

     

  • Hi Suman,

    The following points do not have enough information for me to comment further, please consider expanding your question with sufficient details so that we can have a more clear discussion. 

    1. also why external dtb file is not taking when i copied into sd card - do not understand what you did and what you are expecting.
    2. Can you please explain how to enable the kernel modules using menuconfig yocto kernel - please give an example of what you have already done and explain the results that you see that are not as per your expectation of the change.

    Regards

    Karthik

  • Hi Karthik,

        1. Simply i need to compile my kernel and device tree using  bitbake.

        2.I need to do menucnfig and compile the kernel for my own configuration through bitbake .

        3.After compilng which image is having kernel zimage information and dtb  information.

        4.Then which image should i copy to sd card.

        5.and also i need  to compile u-boot with my own menuconfiguration selection through bitbake.

        6.if i copy the dtb into the sdcard it is not taking the device tree information

        7.If i  want to take my device tree information what i want to do .

    Best Regards,

    Suman.

  • Hi Suman,

    Most of these questions in your points 1-7 have been answered in this post as part of earlier discussions. 

    The best way to carry forward this conversation is to go through the suggestions and post back detailed replies of what you have tried (refer to earlier answers) and to clearly articulate the problem along with the failure log and/or more details.

    I do not want to repeat my answers to any of the above questions. You need to read through the earlier posts and come back with more clear problem description.

    Regards

    Karthik