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.

Understanding the PSP-SDK a bit

I have an omap3evm and I can build and load uImage via tftp and rootfs via nfs. So far so good.

At this point, I am searching for the source to omapfbplay and the demo app in the evm so I can study how the buttons and the framebuffer work and seem to be having trouble finding them in a tarball in teh PSP-SDK.

I wonder if someone would be willing to point out the error of my ways with OMAO35x-PSD-SDK-02.01.02.09 and Arago.

Charles

  • Charles Krinke said:
    At this point, I am searching for the source to omapfbplay and the demo app in the evm so I can study how the buttons and the framebuffer work and seem to be having trouble finding them in a tarball in teh PSP-SDK.

    Unfortunately it seems the source is not included for either of the applications you suggest, it is a bit strange to me that the demo souce is no longer included, as it used to be in the PSP-SDK install, however omapfbplay is not something I believe was ever part of the PSP offering. In any case I can at least point you in the right direction to getting the source for these.

    For omapfbplay it looks like this is a project that is hosted at http://git.mansr.com/?p=omapfbplay, the source appears to be available from there.

    For the demo application on the EVM this is a bit trickier but still possible to obtain if you have an OMAP3 EVM board, as mentioned above it looks like this source was included with earlier PSP releases, so if you download  and install PSP 1.0.2 you should be able to find the source in OMAP35x_SDK_1.0.2\examples\demo-app-src.tar.gz. To obtain PSP 1.0.2 you have to register your OMAP3 EVM board at www.ti.com/omapregistration which will get you access to the old download site. I am hoping that the demo app has not changed since the older PSP release, however if it has, you will probably have to ask Mistral for the source, as the demo application that comes on the OMAP3 EVM is actually written by Mistral as opposed to TI.

  • Actually, Bernie, I think I actually made a little progress on figuring this one out.

    Given the "arago" setup as described on the PMAP35x PSP CD I received with the EVM, I can use bitbake and do:

    bitbake -c clean omap-demo

    bitbake -c compile -f omap-demo

    bitbake -c build -f omap-demo

    And now at .../arago/arago-tmp/work/armv5te-none-linux-gnueabi/omap-demo-1.0-r4 exists and I can read the demo.c source file.

    I suspect a similar recipe can be used for omapfbplay as it looks like it exists under ffmpeg/omapfbplay, but I will study the demo.c source file first.

    Charles

  • Charles, can  point me to the document that describes that "arago" setup?

    Thanks.

  • Sure. Its in the docs/ directory on the CD that came with the omap3evm.

    That is OMAP35x-PSP-SDK-02.01.02.09/docs/Building-RootfFs-Arago-html.

    Maybe I am being naive here a little bit. I installed this CD and saw the docs/ directory and *assumed* that was the proper way to move forward with the EVM.

    Is there a different path in working with the EVM that I have not seen, yet?

    Charles

  • Charles Krinke said:
    Is there a different path in working with the EVM that I have not seen, yet?

    Reading the docs folder as you suggest here is almost never a bad idea, I think you are on the best path. Also, thank you for pointing out the placement of the demo within Arago, I did not realize it had been put there, getting it from Arago makes much more sense, my suggestions above were a bit outdated.

  • Thanks, Bernie. Let me go on with my quest a little bit and maybe the answers will help one or two other folks also.

    I add "omap-demo" to the variable "ARAGO_BASE" in task-arago-base.bb and when I do a bitbake arago-base-image (which includes task-arago-base), I dont get omap-demo in my built image.

    So, ... I guess I need to ask:    "What is the approprate way to add a package or three to 'arago-base-image' as I get familiar with the EVM, arago and bitbake before I try to create my own .bb recipe?"

    Charles

  • Well, I seem to be getting more confused rather then less confused.

    With 'arago', I can do a "bitbake arago-base-image", but I cannot do a "bitbake arago-demo-image".

    Both arago-base-image.bb and arago-demo-image.bb exist in the directory arago/recipes/images, so I would expect them to both attempt to build. Unfortunately, bitbake replies with "Nothing provides arago-demo-image" when I try to, er, 'bitbake' it.

    Charles