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.

AM3359: Using defconfig_builder.sh to generate tisdk_am335x-evm_defconfig

Part Number: AM3359

I am trying to use the ti_config_fragments/defconfig_builder.sh tool to generate a default Linux kernel configuration for a am3359.

I am working with the sdk "ti-processor-sdk-linux-am335x-evm-06.03.00.106-Linux-x86-Install.bin"

Based on the documentation here: software-dl.ti.com/.../Foundational_Components_Kernel_Users_Guide.html

I believe I should be able to run:

"ti_config_fragments/defconfig_builder.sh -t ti_sdk_[device]_release" with the device=am335x and generate a file like "tisdk_am335x-evm_defconfig" that ships with the sdk. 

The closest I have come is generating "ti_sdk_am3x_release_defconfig" but file does not match "tisdk_am335x-evm_defconfig"

 

  • Hello Roy,

    Please reference the ti_config_fragments folder README. it looks like the scripts expect ti_sdk_am3x_release.

    Regards,

    Nick

  • Nick,

    The problem is running the defconfig_builder.sh script as described in the README with a command line like this:

    ti_config_fragments/defconfig_builder.sh -t ti_sdk_am3x_release

    results in a file named ti_sdk_am3x_release_defconfig which does not match the file named tisdk_am335x-evm_defconfig that ships with the SDK.

    I am attaching a screen shot of Beyond Compare when I compare the two files.  Note the red sections are where they do not match.  I really need to be able to regenerate the tisdk_am335x-evm_defconfig file.

    Best regards,

    Roy Cooley

  • I just made a post that compares the files.  I believe it explains the problem.

  • Hello Roy,

    To confirm, you would use the .config file that is generated by these steps:

    $ export PATH=<sdk path>/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
    $ ti_config_fragments/defconfig_builder.sh -t ti_sdk_am3x_release
    $ export ARCH=arm
    $ make ti_sdk_am3x_release_defconfig

    When I ran those steps, and tested, there were some minor differences (e.g., I used a different compiler) but nothing major. After you compare the .config file with the existing defconfig, you can replace the existing defconfig like so:

    $ mv .config arch/arm/configs/tisdk_am335x-evm_defconfig

    This is based on the steps in the SDK Kernel User's Guide.

    Regards,

    Nick