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.

DM8107 RDK - getting started with simple project

Other Parts Discussed in Thread: DM8107

Hi!

We have purchased the DM8107 DVR kit and are trying to understand the principles of programming using RDK. The documentation, that we have got with the DVR, describes the structure of RDK, interfaces of the different levels, etc. But does not give any basic idea how to step by step create your own application and include it into the boot files.


Have somebody the documentation files or simple examples for RDK, that gives more detailed description of the principles of programming using RDK? We will be very glad to get them.
For example (as the first step) we need to draw the group of colored rectangles (circles, lines etc) on the display. What level of RDK should be used for that purpose. May be some simple examples in C\C++ with instruction, how to build them and how to run them on the DVR.


Thanks.

  • Vladimir,

    I will notify our DVR RDK expert for help.

    Regards,
    Pavel

  • Thanks. I do not cease to hope for success...

  • May be there is another way to solve our project (not with the RDK, but using another libraries for DM8107 or may be another processor)?

    The task is to build the remote video monitor with its own menu. Touch screen should show 1-2 channels of captured video (D1) and 1-2 channels of streaming video (Ethernet). All as background. The menu should appear on the top of the screen as the number of big transparent buttons with icons or text.

    In the future the project will be complemented with the functions of video backup and archive management
  • Hi,

         Can select DVR RDK if you are looking for multichannel use-cases. And for the menu you can use linux frame buffer support. If you bought the DVR from UDworks, you will get qt application support also with the source code. That works over frame buffer. Please reply if you have further doubts.

  • The DVR was bought from UDWorks. We got all the source codes and libraries from them. Even we have tried to talk with them. But unfortunately, our experience level in the video application development is about zero :(. We are trying to start with some small application - but don't know how... Need any simple examples, that can be compiled and run under DVR environment.

    All the SDK and DRV source codes are installed. The target was build successfully...  But the next step - build our own application (simple, with rectangles) - suddenly has become very difficult.

  • Hi,

         You can find dvrgui application in dvrapp folder where you can use that code to modify based on your requirement. Qt creator is a sample build setup. Modify the code generate binaries and run it on board. This will only do good for the graphics. For video you need to understand a different frame work (same source code).

    Regards

    Faizel

  • In the Zoo:
    - Mammy, Mammy, what is the Mouse?
    - Look, my sweetheart. Do you see the Elephant? Mouse is almost the same, but only smaller.

    ----------

    Do you think, that the education process should start from the learning of the big and hard project? All of the books begin with the small "Hello, World!". Is there any kind of "the project map", that describes the parts and their intercommunication? 26 files with 0.5 Mb source code. And that is all need for several rectangles on the screen?

    My colleague likes to repeat: "The elephant should be eaten piece by piece".

    I would prefer to start with something more simple.

  • Hi,

         Yes you can do. Search for sample qt application and you can cross compile easily.  Meanwhile you don't need to master whole 26 files to start with. Identify a simple section and modify it. That whole code includes tool generated code as well.


    Regards

    Faizel

  • Hm.. It's look like you take the source code of Windows for build the text editor, via modifying this code.

    So, as I understand, there are no simple sample codes, that can describe the different sides of functionality of the RDK. And nobody can give me them. Yes?

    So, the only way to learn RDK is to look through the experimental code (you see, not the best one, as I understand while testing it).
    By the way - about 26 files. For selecting the file to be modified, I should know, for what each file had been written in this project (what each file is doing). So, I should know all the structure of the project. Or, on the other side, I should excellently know each RDK function to guess the functionality of the file (while taking a look on its header).

    I cannot find the structure description in the documentation. And I cannot boast, that the RDK is the "open book" for me.. What a pity that the time of Kernighan and Ritchie are gone, when the developers tried to make the process of learning the product as simple as possible.

    Sorry, but you didn't make my way easier...