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.

AM5728: AM5728-Basic-requirements to build an image

Part Number: AM5728

HI,

We have recently purchased evaluation board of AM5728 before purchasing i just made all the software setup ready in my laptop. But i don't know what version sdk the board come with i downloaded SDK Of latest version ti-processor-sdk-linux-am57xx-evm-06.03.00.106-Linux-x86-Install.bin.

but when i opened sd card and checked i found a different version sdk inside the board

1.I first tried to use the older version only to use the board but the supported linaro tool chain is not found to download to build the recipies using bitbake.

2.So i want to go with already SDK 06.03 where i alreday builded recipies needed for me Can i use that or we have to go with the given version only with the board?

3.Also with SDK bin file mentioned in the sd card as like this ti-processor-sdk-linux-am57xx-evm-02.00.01.07-es2.0-Linux-x86-Install.bin in this what is es2.0 with this name i didn't find any sdk information from ti website.

I am requesting to guide me in understanding these basics otherwise it will be clumsy while doing without clarity.

Thanks

A.N.V.Lavanya

  • Hi Lavanya,

    You can continue to use the latest version ti-processor-sdk-linux-am57xx-evm-06.03.00.106-Linux-x86-Install.bin and use your board.

    The boards come pre-packaged with an older version of the SDK, you can choose to use it or simply use the latest version that you have indicated.

    In addition, please follow the documentation guidelines listed in the SDK documentation for ti-processor-sdk-linux-am57xx-evm-06.03.00.106-Linux-x86-Install.bin

    Regards

    Karthik

  • Thank you karthik for your reply.

    I did bootable image using latest sdk only as you said but i am cofused where to get dts files every dts file with am572x name having only few details and also aready existed dtb files are there with different names which dtb file should i take and copy it ti my image.

    Please give me a glance at these things.

  • Hi Anantha,

    The DTS files are present in the board-support folder of the SDK.

    All DTBs will be copied by the create SD card script.

    I was not sure if I understood your question very clearly if the above didn't answer the question can you please consider elaborating your question further by giving some examples of the dtb files that you are considering understanding further? 

    Regards

    Karthik

  • Thank you Karthik for your reply,

    Yes what ever you said is right i can find the dts files under u-boot. But i didn't find answer to my question may i be my question was not clear i think. Let me describe you very clearly what i am asking for..

    1.I used AM437x EVM board earlier. Where we used all dts files from the ti-sdk guide under sdk/linux../arch.arm/boot/dts/ which is very clear and the dts file is also very clear ijn understanding.

    2.Now recently we moved to am57xx based evm for vedio related applications. We brought AM57XX-EVM which is mentioned on board also.

    3.I builded image for AM57xx-EVM board. For now all dtb files will get copied to sd card using create sd card step as you said for standard board.

    4.Now comes my doubt. Earlier for AM437x to create a custom board related dts file i taken reference of existed dts files in path as i mentioned in 1 step. Where in that dts file all pinmux information along with component information configuring component information exists.

    5.Doubt1:So similar we are going for custom board based on AM57xx So in such case to create a dts file for my board i want a reference dts file where i didn't find any such only these files are present in u-boot/arch/arm/dts/

    6.Doubt2:My board is AM57xx-Evm right so which dts out of 2 mentioned name do i have to choose as mentioned in below pic.

    7.And Doubt3: As shown below i tried to get am57xx-evm.dts and am57xx-evm-rev3.dts from net directly but nothing is there in those files only boot selection information is present.

    I hope i explained you in clear manner about my doubt. So expecting some positive reply for this.

    Thank You

  • I am still waiting for reply.

    Also adding my one more question here.

    Our Customer developed application for AM437X SDK04.02 in QT5.7.

    His application is video streaming, this streaming we are trying on AM437X board if it doesn't work out means we have to move on to this AM5728 board then whole application do they have to change to qt5.11?

  • Hi Anantha,

    Apologies! My replies did not reach your end from some network issue.

    anantha nagavidhyalavanya said:
    4.Now comes my doubt. Earlier for AM437x to create a custom board related dts file i taken reference of existed dts files in path as i mentioned in 1 step. Where in that dts file all pinmux information along with component information configuring component information exists.

    You should see am57xx-beagle-x15.dts.

    Now that file will have include files--> dtsi files you need to back track to the file that actually has pinmux files.

    am57xx-beagle-x15.dts-->am57xx-beagle-x15-common.dtsi-->dra74x-mmc-iodelay.dtsi

    You can see that dra74x-mmc-iodelay.dtsi file will have pinmux definitions.

    We have a tree structure of dt files and you just need to back track.

    Also one additional thing to note is that am57xx SoCs have IODelay feature so most of the pin muxing happens at u-boot:

    board/ti/am57xx/mux_data.h

    Please check that file as well.

    anantha nagavidhyalavanya said:

    .Doubt1:So similar we are going for custom board based on AM57xx So in such case to create a dts file for my board i want a reference dts file where i didn't find any such only these files are present in u-boot/arch/arm/dts/

    Similar to kernel: arch/arm/dts/am57xx-beagle-x15.dts

    anantha nagavidhyalavanya said:
    6.Doubt2:My board is AM57xx-Evm right so which dts out of 2 mentioned name do i have to choose as mentioned in below pic.

    arch/arm/dts/am57xx-beagle-x15-revc.dts or arch/arm/dts/am57xx-beagle-x15.dts based on your revision.

    anantha nagavidhyalavanya said:
    7.And Doubt3: As shown below i tried to get am57xx-evm.dts and am57xx-evm-rev3.dts from net directly but nothing is there in those files only boot selection information is present.

    Try arch/arm/dts/am57xx-beagle-x15-revc.dts.

    Best Regards,
    Keerthy

  • ThankYou Keerthi for your reply,

    But we are using evaluation board not begaleon board so how it matches to evaluation board? or you mean just for reference we can use this?

  • Hi Anantha,

    Do you have an evm or IDK?

    If EVM the you are good with the above else if using IDK you can refer to am572x-idk.dts and back track as i explained by going back with dtsi files.

    Best Regards,
    Keerthy

  • Hi Keerthy,

    We have EVM only.

    I under stand for custom board we can take bageleaon board dts files for reference right.

    So what if i am using EVM board only means.

    First i am trying to build an image to load in to evaluation board to confirm it is booting other that the sd card which it comes with. In that, i want to place a dtb file,zimage under /rootfs/boot/ where in target nfs have already comes with lot of dtb files i removed all those and kept am57xx-evm.dtb file is that correct .

    which dtb file and with which name i have to place under /rootfs/boot

    Sorry if my explanation is too lengthy.

    Thanks & Regards

    A.N.V.Lavanya

  • Hi Lavanya,

    Just boot with the pre-built binaries to u-boot prompt.

    Run the below commands:

    run findfdt
    printenv fdtfile

    That will give you the exact dtb file that you need to load for your board.

    Best Regards,
    Keerthy