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.

DM8148 EZDSK, PSP software usage in a production product

Other Parts Discussed in Thread: AM3874

We are currently working with the DM8148 EZSDK (v5.04). From my understanding, the EZSDK team at TI pulls in a bunch of components (including the Platform Support Package (PSP) contents), and rolls it up into a big release package.

However, I understand that the memory maps used by the Media Controller firmwares are different between the EZSDK release and the Platform Support Package (PSP) releases.

Now that we're thinking about long term development, what does TI recommend that we work off of:
(1) The EZSDK
  (a) How long with this be supported/updated?

(2) The Platform Support Package (PSP)
  (a) Does this include the OpenMax support and Firmware we need?
  (b) Does TI have any guides on how to get from a PSP release to a working filesystem?

Just for completeness, the functionality we will be using consists of the following, which may affect the answer to the above question:
  - OpenMax for video scaling, capture, encode, and display (on 3 displays concurrently). Our FPGA supplies video directly to the DM8148, so there is no external chip the Media Controller needs to configure.
  - Qt for a Graphical User Interface (overlaid on OMX video via /dev/fb0 and /dev/fb1)

Thanks,

 

Bryan Busacco

  • Perhaps I could further elaborate on the general question here (and bump the thread while I'm at it).

    In our case, it will not be acceptable to just use the EZSDK rootfs -- we need control in building this. If defects occurring in system libraries and/or the kernel affect our customers, we need to be able to make appropriate changes. We're looking at Yacto, OpenEmbedded, and Arago.  We'll also need to figure out how to keep our kernel up to date.

    With that said, I know TI doesn't have any plans to support any one of the aforementioned build systems.  However, we would like some hints on where we can start, and whether or not the EZSDK will be supported long enough for us to use as a source of up-to-date OpenMax and kernel modifications for the DM8148.

    Along the lines of Bryan's point (2) -- if we'd have to pull in everything manually from the PSP, is the process of building the EZSDK publically documented?  What items need to be rebuilt to change memory map items, and can this even be done with what is made publically available?

  • Somehow I'm tempted to again ask Jon's questions from his 2012 post. Anyone who can point out documentation about building recipes for kernels and rootfs beyond the EZDSK for the DM814x (or Kontron's KTAM3874)?
  • Hello,

    Rene S. said:
    Anyone who can point out documentation about building recipes for kernels and rootfs beyond the EZDSK

    In EZSDK folder you could find a document DM814x_EZ_Software_Developers_Guide.pdf (/ti-ezsdk_dm814x-evm_5_05_02_00/docs)

    Chapters:

    Creating your own Linux kernel image
    Rebuilding the EZ SDK components
    etc.

    For more information you could check these documents as well : /ti-ezsdk_dm814x-evm_5_05_02_00/board-support/docs

    Best Regards,

    Margarita

  • Thanks for the quick reply, Margarita.

    Somehow my problems start already with installing the latest EZSDK ezsdk_dm814x-evm_5_05_02_00. Its installer ~_setuplinux simply doesn't install the EZSDK on my Ubuntu 12.04 LTS despite the --forcehost option. Am I missing something here?

    Regards, René
  • Hello,

    Development Host: The release supports Ubuntu 10.04 and Ubuntu 11.10 as your development host.

    Best Regards,
    Margarita
  • The appropriate release notes for the EZSDK state that also Ubuntu 12.04 LTS is supported now, see also http://downloads.ti.com/dsps/dsps_public_sw/ezsdk/5_05_02_00/exports/ezsdk_5_05_02_00_dm814x_Release_Notes.pdf under "Host Support".

    Is this not applicable despite this note?
  • Hello,

    Could you share where  you met installation's problem ?

    Best Regards,
    Margarita

  • So far I did the following:
    - installing Ubuntu 12.04 LTS inside a VMWare-Player, similar to http://processors.wiki.ti.com/index.php/How_to_Build_a_Ubuntu_Linux_host_under_VMware.
    - applying all currently available Ubuntu updates for this distro.
    - installing VMware-Tools was not possible, since VMware apparently only supports kernels up to 2.6.x

    After that I proceeded as follows:
    - downloading the latest TI EZSDK for DM814x from http://downloads.ti.com/dsps/dsps_public_sw/ezsdk/5_05_02_00/index_FDS.html
    - "chmod +x ezsdk_dm814x-evm_5_05_02_00_setuplinux"
    - "sudo ./ezsdk_dm814x-evm_5_05_02_00_setuplinux --forcehost --prefix ..."

    As a result I get a popup window where I agree to install the SDK. Afterwards the popup window seems to hang (until stopped). There is no output on the command line after quitting said window.

    Note: I could successfully setup the also downloaded ti-ezsdk_dm814x-evm_5_05_02_00_demo_binaries after fixing some POSIX bash / sh issues in the scripts under ti-ezsdk_dm814x-evm_5_05_02_00_demo_binaries/bin/ under said Ubuntu 12.04 LTS.

    Finally I want to be able to compile my own Linux kernel. So any additional ideas and recommondations are very much appreciated.
  • Now I tried to install ezsdk_dm814x-evm_5_05_02_00 on Ubuntu 10.04 LTS, unfortunately again without success.
    This is what I did:
    - installing Ubuntu 10.04 LTS inside VMWare-Player
    - applying all currently avaiable updates for Ubuntu 10.04 LTS
    - successfully installing VMware-Tools
    - downloading the latest TI EZSDK ezsdk_dm814x-evm_5_05_02_00
    - chmod +x ezsdk_dm814x-evm_5_05_02_00_setuplinux
    - sudo ./ezsdk_dm814x-evm_5_05_02_00_setuplinux

    => again "hanging" popup window from install wizard, nothing happens, no output on command line. It also seems the output on the install wizard window is blank...

    I must be missing something very simple. Any more Ubuntu packages to be installed? Any hints are much apreciated!

    Thank you.
  • Hello,

    I have not tried to install it EZSDK on Ubuntu which is running on virtual machine.
    I am not sure why it is hanging. The Ubuntu should be 32 bit if you have installed 64 bit some 32 bit packages will be required.
    The code sorcery should be install as well.

    Best Regards,
    Margarita
  • Hello Margarita,


    I think I found the solution thanks to this post: http://e2e.ti.com/support/embedded/linux/f/354/p/100666/354006

    It seems that the EZSDK installers only work when the host language setting is _English_. That seems to be independent of the VM used.


    Now I can proceed a few steps with the EZSDK installer wizard but encounter the next problem: The EZSDK requires the CodeSourcery toolchain. Unfortunately the displayed download link on the install wizard window pointing to Mentor is no longer working. Several news group entries suggest that toolchain is no longer supported in its LITE edition for ARM.

    Where can I still get that toolchain? Are there cross compiler alternatives available that the EZSDK installer would accept?

    Cheers, René 

  • Hello,

    http://www.codesourcery.com/sgpp/lite/arm/portal/package4573/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi.bin

    ./arm-2009q1-203-arm-none-linux-gnueabi.bin

    Best Regards,

    Margarita
  • Hello Margarita,

    many thanks for the toolchain link. I could now proceed with installing the EZSDK for the AM387x / DM814x devices. I could also compile a kernel within the latest(?) ezsdk_dm814x-evm_5_05_02_00 by using some default settings provided.

    One last question: Since the mentioned EZSDK was released sometime ago, is there any chance that at some point AM387x / DM814x devices will be supported by mainline Linux kernels + tools or that the EZSDK will support more AM3874 based boards?

    Thanks again for your support,
    Rene
  • Hello,

    Rene S. said:
    I could also compile a kernel within the latest(?)

    What you mean by latest? The EZSDK 5.05.02 used linux-2.6.37-psp04.04.00.01, you could try to move to PSP 4.04.02.

    Best Regards,

    Margarita

  • Hello Margarita,


    I saw on http://www.ti.com/tool/LINUXEZSDK-SITARA  that newer EZSDKs are available. But it seems the AM3874 / DM814x devices are no longer supported there. This also seems to be acknowledged by this post: http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/276011 .Therefore I wanted to make sure I use indeed the latest development environment available for my AM3874.

    How could I upgrade to a newer PSP within EZSDK 5.05.02?

    Thanks, René