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.

Customising UBL for Custom board.

Other Parts Discussed in Thread: OMAP-L138

 

Hi,

We are having a custom designed board based on TI DM355 Processor , so we need to customize the UBL for our board. What are the files need to be modified for porting UBL for Custom board.

Please provide the steps for customising and files that need modification.

 

Regards,

Thalib

 

  • Steps:
    1. What is difference of your custom board from EVM?
    2. Does original UBL work?

  • Hi Constantine,

    Please find the answer below for your questions.


    1. What is difference of your custom board from EVM?

    In our board the RAM, DDR chips are different from EVM.

    We are using 64MB NAND Flash, and MobileDDR 256 MB,

    For debug terminal we use UART1 not 0


    2. Does original UBL work?

    I tried but it is not working

     

    Thanks and Regards,

    Thalib

  • I have did it. I have customized ubl to our board,

    Thanks Constantine for your reply

    Regards,

    Thalib.

  • so what are the changes you have done to customize the UBL to your custom board, iam in the situation now and I need

    to change the UBL to support 27 MHZ crystal instead of 24 MHz (which is the default on EVM) ?

     

    Thanks in advance,

    Hossam

  • Hi,

    1. Become comfortable with compiling ubl and make sure the on compiled binary work. for this first setup a compiling envrioment and compile it for EVM and then test to make sure it compiles.

    When I compiled the TI provided toolchain will break the UBL. So I choose Code Sourcery Tool chain.

    I did it under linux. I did lots of custimisation to UBL's make system.

     

    2. /DM35x/Common/src/device.c is the file where all the customization has to be done for you board. there you can set the RAM, NAND, clk etc....

     

    For setting the Crystal frequency look at PLL section in the above file..

    Hope this will help you.

    Best regards,

    Mohamed Thalib H.

     

  • Hi Mohamed,

     

    Can you please share this make file , if possible as instead I shall create another one from scratch .

    By the way , I use OMAP-L138 and there is no make file for the UBL source code even

  • Hi

    The processor I used was Davinci DM355, but yours is different, The make file I have created will not work because it is customized for our build framework. So could you give me the link of UBL source or attach the source tar file.

     

    I will look into it and may be I can give you some idea.

     

    Regards,

    Mohamed Thalib H