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.

Adding a custom board to the "Linux Processor SDK for AM335x"



I have the SDK installed and built and ran through all the steps to create a bootable SD card and setup my host development environment.

However, now I have a lot of questions about the steps necessary to add a custom board to the SDK's build framework.  So before I bombard this excellent forum with a lot of questions, is there a document which can get me started?

  • Hi,

    I will forward this to the SW team.
  • Hi,

    BrianBrianBrian said:
    So before I bombard this excellent forum with a lot of questions, is there a document which can get me started?

     

    No, there isn't such document, because porting the OS to a custom hw is not easy to be generalized. Things vary depending on the hw. 

    First you need to customize your MLO & u-boot in order to initialize your the SoC on your board & the DDR. 

    Then to port the kernel, basically you need to create your own device tree, or customize some of the existing configurations to match your board. Linux could be built with the tisdk_am335x-evm_defconfig, but you should disable all unnecessary modules, to strip the build from all nonessential drivers & then add them one by one, if they are needed.

    Best Regards, 

    Yordan

  • Ooops. I am sorry. I should have been clearer with my question. I definitely don't expect a document on how to port linux/u-boot. This is done many times in other places.

    I'm more asking about what changes have to be done to SDK-specific makefiles/scripts. For example, are we expected to make our changes in-the-sdk or are we expected to git clone our own linux kernels and u-boots and make the changes there and then just point your create-sd-card script to the out-of-sdk images? and so on.