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 configure U-boot for AM335x with Sitara Linux SDK

I am using Sitara Linux SDK for my projects. I have read some documents about U-boot board port at 

http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_UBoot_Board_Port

http://processors.wiki.ti.com/index.php/AMSDK_u-boot_User%27s_Guide

https://docs.google.com/file/d/0BzESOSf028mLTjlPYmVJTUlTODA/edit?pli=1

I wonder how to create my own config (add/remove U-boot components) instead of using TI's config (am335x_evm_config). After configuring U-boot, where did these config save to? Is there any file like .config of Kernel configuring? 


  • The u-boot configuration for the am335x_evm is stored in the u-boot source tree under include/configs/am335x_evm.h, as you mention this contains the configuration for the u-boot source provided with the Sitara Linux SDK. In the 05.05.00.00 version of the SDK in the board-port tree there is also a u-boot source tree with a configuration for the board port labs in the include/configs/ directory.

     

     

  • Thanks for your infotmation, Schuyler!

    However, I think am335x_evm.h is just a source config file. After doing 

    make ARCH=arm CROSS_COMPILE=/home/sitara/ti-sdk-am335x-evm-05.05.00.00/linux-devkit/bin/arm-arago-linux-gnueabi-   am335x_evm_config

    Is there any file created to get ready for compilation?

    And another thing, if I want to cerate my own configurations (for example my_am335x_board_config), should I create a my_am335x_board.h in  include/configs/ directory, copy a closet config file and edit it? Then 

    make ARCH=arm CROSS_COMPILE=/home/sitara/ti-sdk-am335x-evm-05.05.00.00/linux-devkit/bin/arm-arago-linux-gnueabi-   my_am335x_board_config

    And compile by doing:

    make ARCH=arm CROSS_COMPILE=/home/sitara/ti-sdk-am335x-evm-05.05.00.00/linux-devkit/bin/arm-arago-linux-gnueabi- 

    TinND  

  • The build has to be configured for the board type. The am335x_evm.h is a target configuration file that enables configurations for u-boot, it is read, not created during the make config step.

    If you want to develop your own config file that is fine but you will have add this to the boards.cfg in u-boot source tree, look to see how the am335x processor is defined. Please note that if you change this file future updates of u-boot software will more than likely overwrite your modifications to boards.cfg.

  • Hi,TinND

    I have the same problem with my beaglebone.Have you solved the problem?