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.

TMS320DM368: Porting Linux OS to Davinci ARM Board

Part Number: TMS320DM368

Hello,

We are planning to build our application on Davinci DM368.

Our Hardware is Leopard Board 368.We have already compiled DVSDK and built image to be ported from SD card.

But Instead can we port Linux OS (Operating system)  to the Davinci DM368 board like how its done with Beagle Bone Board (create OS image and port into BBB using SDcard).

If we can how can it be done?

As we are new to this domain..we need to clear some doubts....

Thanks and Regards,

Sanath Rai

  • Hello,

    Core of DVSDK uses Linux operating system. Please check the PSP packages for more details. However I need to know your use case to help you better


    Yes you can port any version of Linux on to your DM368 boards. But please note that,

    • You might have to customize Linux for DM368 (based on version you are looking for).
    • You will not have the flexibility of DVSDK framework unless you port it back on top of Linux.
      Alternately, you can rely on Linux applications for all your use cases. However, this is very much use case specific.

    Thanks

  • Hello Ravikiran,

    Thank you for the reply.
    Use cases:

    IPCAM
    Video Streaming

    Under that

    Face Detection
    Face Recognition


    Regards,
    Sanath Rai
  • Hi Sanath,

    Though DVSDK can be used, I believe IPNC is the Ideal software for you.
    Also, I don't see any particular need here to use only a kernel because your use case is already part of TI default software releases.
  • Hello Ravikiran,

    Does IPNC RDK 5.1.0 consists of Face recognition Libraries?

    How to get IPNC RDK 5.1 .0 software? How much does it cost?

    Regards,

    Sanath Rai

  • AFAIK,

    IPNC supports only Face detection. I need to double check on recognition.

    I will check internally for IPNC purchase contact point.
  • Thank you Ravikiran,

    I had read in a PDF(attached to the post) that IPNC has Face recognition Libraries.0804.Face_Detect_Recognition_DM36x.pdf

    If IPNC doesn't support Face recognition and if it costs,can we use DVSDK?

    which is available from TI as its open source free software.

    Regards,

    Sanath Rai

  • Hello Sanath,

    Thanks for the reference link. I will check on face recognition feature internally (Since I am unaware ) & get back to you asap.

    Meanwhile, we [TI] can provide you the download link for IPNC 5.1 to you. It can't be posted here in public forum due to licencing restrictions.

    Please can you send an email to akshat.a@pathpartnertech.com / ravikiran.hv@pathpartnertech.com to discuss on this further ? 

    Thanks 

  • Hello Ravikiran,

    Thanks for the reply.

    Here is a link which gives difference between IPNC RDK and DVSDK.

    http://processors.wiki.ti.com/index.php/IP_Camera#.C2.A0IP_Camera_Reference_Design_Vs_DVSDK

    Sure,i will send the email to the Email id provided by you once i discuss with my manager and please check on the face recognition feature .

    Regards,

    Sanath Rai

  • Hello Ravikiran,

    We started working on IPNC RDK 5.1.0.

    Our target Board is Leopard 368.

    Our host machine is Linux Ubuntu 10.04 LTS .

    We have configured IPNC RDK software according to IPNC RDK Guide .

    But we are getting some compile errors saying  /leaving directory  .

    What might be the cause .we have followed the steps exactly which are given in the guide.

     

    Regards,

    Sanath Rai

  • Can you post complete logs please ?

    Also, please ensure you have extracted the tar file without any errors.
  • Hello Ravikiran,

    Issue solved.
    Reason was permission issues for the file system.
    i will keep posting the recent updates.

    Thank you
    Regards

    Sanath Rai
  • Hello Ravikiran,

    We tried to create UBIFS using the command as given in the guide.
    make ubifs

    we got the following error:
    cannot execute the binary file
    error:126

    Regards,
    Sanath Rai
  • Hello Ravikiran,

    We have created linux kernal image (uimage) and Filesystem image (UBIFS) after compiling the IPNC RDK 5.1.0.

    we will use SDcard to flash linux kernal image(uimage) and Filesystem image (UBIFS) to  the Leopard board 368 NAND .

    but 

    How to flash the UBL and u-boot to the Leopard board 368 NAND flash?

    Regards,

    Sanath Rai

  • Hello Ravikiran,



    We have Flashed UBL and u-boot to Leopard board368 NAND flash using CCS and it was successful.

    Afterwards we connected RS232 cable to host machine and our board with the required settings.

    But no console messages are coming on Hyperterminal .only some junk data can be seen.

    Any suggestion on that?



    Regards,

    Sanath
  • Check your boot mode switch configurations.

    Make sure you have attached right HEADER/SIGNATURE to UBL for RBL to pick it.
    You can see TI online resource regarding this.
  • Hello Ravikiran,

    By using the uflash utility we were able to do the following steps but after that we couldn't boot from SD card(no messages on console) when we connected the RS232 between the leopard board and PC. with nand boot mode settings.

       # ./uflash -d /dev/sdb -u <UBL.bin> -b <u-boot.bin> -vv

           UBL Size 20991

           u-boot Size 252087

           First partition starts at 1216(622592)

           Required Blocks 660, Available Blocks 1215

           UBL Magic Number        : a1aced00

           UBL Entry Point         : 00000100

           UBL Number of Blocks    : 00000028

           UBL Starting Block      : 00000075

           UBL Load Address        : 00000000

           Writing UBL Signature

           Writing UBL

           U-Boot Magic Number     : a1aced66

           U-Boot Entry Point      : 81080000

           U-Boot Number of Blocks : 000001ec

           U-Boot Starting Block   : 000000a7

           Load U-Boot Address     : 81080000

           Writing U-Boot Signature

           Writing U-Boot

           Done...

     

    Regards,

    Sanath Rai

  • HI Sanath,

    Make sure your configurations/Image used for SD and NAND are different. Also have a quick look every time on boot mode switch.

    Also, please use pre-built binaries once before actually moving to custom binaries.

    Thanks