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.

what do I need to start developing linux for AM 3874

Expert 1005 points

I need to learn and start developing for AM3874. We already have some code (based on Linux) and boards based on this device, but I cannot use our boards for development and debugging as there are small and its IO is limited.

What tools (software/hardware) do I need to start developing for this processor.

I need an evaluation board to learn how to develop Linux which then would be ported to our board.

Here are some questions that I have:

1- The page for this processor ( http://www.ti.com/product/am3874) says that I need to buy http://www.ti.com/tool/tmdxevm3358 which is based on AM3358. This page (http://www.cnx-software.com/2011/09/20/texas-instruments-am387x-sitara-arm-cortex-a8-microprocessors/) says that I need (TMDXEVM8148). Which one do I need?

2- What else do I need? Do I need a JTAG emulator?

3- Do I need CCS for developing Linux?

4- Do I need JTAG to program a virgin board when they come out of factory? What about CCS?

5- Is there any Hello World type of documentation on to start developing for ARM Linux?

Any other suggestion would be very appreciating.

 

 

  • Hello,

    1. For AM387x, you need TMDXEVM8148 - DM814x/AM387x EVM

    2. JTAG is good, but not obligatory. I think it is only for debug purpose. You can develop without it.

    3. I think CCS is only for debug, no need for developing.

    4. The board should come with a MMC/SD card, from which you can boot. No need of CCS/JTAG for this.

    5. The Hello World type of documentation are located in the Linux EZSDK that you should install on your host system (Laptop or Desctop PC). The Linux EZSDK for TMDXEVM8148 is located here: http://www.ti.com/tool/linuxezsdk-davinci. You need to download and then install ezsdk_dm814x-evm_5_04_00_11_setuplinux on your host.Then you will have to read these "Hello World" documents: DM814x_AM387x_EVM_Quick_start_guide.pdf, DM814x_EZ_Software_Developers_Guide.pdf, TI81XX_PSP_U-Boot.pdf, TI81XX_PSP_User_Guide.pdf.

    The classical "Hello world" example is located in DM814x_EZ_Software_Developers_Guide.pdf, section 2.2 Writing your own "Hello World!" application and executing
    it on the target

    Best Regards,

    Pavel


  • Thanks,

    If I have a new board which made by myself based on this EVM, how can I program it for the first time? I believe the reason that can use MMC for uploading applications to the system, is that the processor programmed to use UBoot, but when my boards come from factory, they are blank and cannot reboot them via SD card.

    So My question is:

    I have a board that I made based on AM3874, how can I program them for the very first time?

     

  • Hello,

    Do you have MMC/SD controller and BOOT/CFG switch on your custom board?

    If yes, you should configure the BTM[4:0] to boot from MMC/SD card, and create one SD card with the script from the Linux EZSDK. Thus you should be able to plug the SD card and boot.

    Best Regards,

    Pavel

  • Hello, mans

    There is no need to load any firmware in order to boot. There is a ROM which goes through the boot order and boots if something valid is met.



    You can check Chapter 4 ROM Code Memory and Peripheral Booting from the AM3874 TRM:

    http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=sprugz7b&fileType=pdf

    BR

    Vladimir

  • I have a MMC/SD card on our board.Not sure about BOOT/CFG swtich, but  I can check. Where can I read more about boot sequence of this processor?