• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » Booting Linux dm365 Network Camera in 3.2 seconds
Share
Linux
  • Forum
Options
  • Subscribe via RSS
Resources
  • Keystone II MCSDK (A15 Linux) Download
  • Booting Linux dm365 Network Camera in 3.2 seconds

    Booting Linux dm365 Network Camera in 3.2 seconds

    • Constantine
      Posted by Constantine
      on Jun 06 2010 15:12 PM
      Expert2930 points

      Boot/reboot time of embedded system is very critical for some applications. As you know, default boot of DaVinci Demo EVM and IPNC (IP Network Camera) is about 15-20 seconds. We designed fast boot for functional DaVinci network camera. Gross reboot time takes 3.2 seconds. (measured on network) Firmware boot time is 2.5 seconds. (measured on serial console) Please see explanations and logs below.

      Specifications:

      Functionality:

      • Capture of PAL video.
      • Encoding to MPEG4
      • Streaming of raw encoding video over UDP and TCP.

      Summary of boot process:
      Please see serial boot log with timestamps for details.

      • About 0.5 seconds takes to boot RBL and load UBL. This stage passes silently on serial console.
      • 0.5 second takes to boot UBL and U-Boot
      • 1.5 seconds takes to load 3MB image of Linux kernel and root FS.
      • 0.36 second to start kernel, application, video capture, encoding and streaming.
      • 2.6 seconds passed from UBL start to sending first encoded packet.

      Serial boot log of firmware with timestamps (2.6 sec):

      0.000 0.000: TI UBL Version: 1.50
      0.000 0.000: Booting Catalog Boot Loader
      0.000 0.000: BootMode = NAND
      0.000 0.000: Starting NAND Copy...
      0.013 0.013: Valid magicnum, 0xA1ACED66, found in block 0x00000019.
      0.112 0.099:    DONE
      0.112 0.000: Jumping to entry point at 0x81080000.
      0.112 0.000: 
      0.120 0.008: U-Boot 2009.03-dirty (Jun 21 2010 - 20:03:02)
      0.120 0.000: 
      0.170 0.050: I2C:   ready
      0.170 0.000: DRAM:  128 MB
      0.250 0.080: NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
      0.250 0.000: 1024 MiB
      0.429 0.179: Ethernet PHY: GENERIC @ 0x00
      0.532 0.104: Hit any key to stop autoboot:  0 
      0.541 0.009: NAND read: device 0 offset 0x400000, size 0x300000
      2.079 1.538:  3145728 bytes read: OK t=1539
      2.090 0.012: ## Starting application at 0x80008000 ...
      2.172 0.082: | 0.00   Linux version 2.6.32-rc2-davinci1-dm365 (const@makelinux.net)
      2.203 0.000: | 0.08   Starting application
      2.212 0.010: Encode demo started.
      2.482 0.269: | 0.29 First frame captured
      2.482 0.000: | 0.36 Sending first packet
      2.620 0.139: num=0 sent_total=13775 

      Network dump to measure gross reboot time (3.24 sec)

      Encoded data is streamed over TCP and UDP. We will capture data stream and reset board to measure reboot/recovery time. First column is delta time between current and previous line on each dump line. Gap in UDP data stream lasts 3.24 seconds.

      # tcpdump  -ttt -n udp port 12345

      ...Stream dump before reset:
      00:00:00.039997 IP 10.0.0.2.54804 > 10.0.0.1.12345: UDP, length 5106
      00:00:00.039973 IP 10.0.0.2.54804 > 10.0.0.1.12345: UDP, length 5125
      00:00:00.040040 IP 10.0.0.2.54804 > 10.0.0.1.12345: UDP, length 5076
      Here reset was pressed on test board.
      Stream dump after reset:
      00:00:03.242057 IP 10.0.0.2.47957 > 10.0.0.1.12345: UDP, length 6861
      00:00:00.036950 IP 10.0.0.2.47957 > 10.0.0.1.12345: UDP, length 8536
      00:00:00.039239 IP 10.0.0.2.47957 > 10.0.0.1.12345: UDP, length 4018

      ...

      Firmware is designed for linux-2.6.32, dvsdk_3_10_00_12 and dm365 EVM and can be ported to other processor of DaVinci family.
      Demo binaries are here: http://www.makelinux.net/ti/fastboot/dm365ipnc/
      Source code is available for charge.

      Your comments and questions are welcome.


      Constantine
      Embedded Linux Consulting: http://www.MakeLinux.com/
      Linux and TI DaVinci Technology Portal: http://www.Linux-DaVinci.info/

      Please consider to   Verify the Answer   if applicable

      DM365 fast boot IPNC optimization streaming
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • gomo
      Posted by gomo
      on Jun 09 2010 01:21 AM
      Genius3370 points

      Hi:

          You said that source code will be available as product. We had bought two IPNC camera (One DM365 and one DM368) from APPRO.

        If we want to get the source code, must we contact with APPRO?

        Thanks a lot!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Constantine
      Posted by Constantine
      on Jun 09 2010 08:42 AM
      Expert2930 points

      IPNC menas Internet Protocol Network Camera. It is not related to Appro implementation.
      Contact me about the source.


      Constantine
      Embedded Linux Consulting: http://www.MakeLinux.com/
      Linux and TI DaVinci Technology Portal: http://www.Linux-DaVinci.info/

      Please consider to   Verify the Answer   if applicable

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • gomo
      Posted by gomo
      on Jun 10 2010 21:03 PM
      Genius3370 points

      Thanks you for reply!

      How can I contact you about the source? E-mail?  or other way?

      BTW, is it free and open source?

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Samyam He
      Posted by Samyam He
      on Jun 11 2010 02:18 AM
      Prodigy140 points

      Hi, Constantine.

      How can I contact you about the source? E-mail?  or other way?

      IPNC, is it free and open source?It free or open source how can I get the source or url? My email is samyamhe@gmail.com.

      Which CE Linux Patch from http://tree.celinuxforum.org/CelfPubWiki/PatchArchive  to your Linux Kernel ?

       

      1. Introduction
      2. CE Linux Patch Archive
        1. Patches for 2.6.21
        2. Patches for 2.6.20
        3. Patches for 2.6.16
        4. Patches for 2.6.14
        5. Patches for 2.6.13
        6. Patches for 2.6.12
        7. Patches for 2.6.11
        8. Patches for 2.6.10
        9. Patches for 2.6.9
        10. Patches for 2.6.8.1
        11. Patches for 2.6.7
        12. Patches for 2.6.6
      3. Patch Table Key
      4. Instructions to Download and Apply

         
           

       

       

      Just do it.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Constantine
      Posted by Constantine
      on Jun 20 2010 14:01 PM
      Expert2930 points

      It is based on linux-2.6.32 from dvsdk_3_10_00_12

       


      Constantine
      Embedded Linux Consulting: http://www.MakeLinux.com/
      Linux and TI DaVinci Technology Portal: http://www.Linux-DaVinci.info/

      Please consider to   Verify the Answer   if applicable

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Constantine
      Posted by Constantine
      on Jun 21 2010 12:25 PM
      Expert2930 points

      Gross boot time improved in 1 sec from 4.25 to 3.24


      Constantine
      Embedded Linux Consulting: http://www.MakeLinux.com/
      Linux and TI DaVinci Technology Portal: http://www.Linux-DaVinci.info/

      Please consider to   Verify the Answer   if applicable

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • king king
      Posted by king king
      on Aug 28 2011 03:21 AM
      Intellectual650 points

      can you give me the source code?my email is  samozhishui@163.com.

      thx!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Yibing Liu
      Posted by Yibing Liu
      on Dec 28 2011 23:57 PM
      Prodigy10 points

      My email is 49155192@qq.com

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • shuang yuan
      Posted by shuang yuan
      on Feb 09 2012 03:53 AM
      Prodigy30 points

       We bought a dm368ipnc , Could you give me the source code ,or tell me how to get the source code  . My email is    shuangyuan@zowietek.cn

      daVinci dm365
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • gomo
      Posted by gomo
      on Feb 09 2012 19:46 PM
      Genius3370 points

      We also bought a DM368 IPNC, Could you give me the source code, or tell me how to get the source code.

      My email: guoyongj@gmail.com

      Thanks a lot! 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ram Indrakanti1
      Posted by Ram Indrakanti1
      on May 16 2012 04:36 AM
      Prodigy10 points

      HI,

      would like to get the source code for the same.

      Do let me further details

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • garnet kim
      Posted by garnet kim
      on Jan 11 2013 02:59 AM
      Prodigy10 points

      We also bought a DM368 IPNC, Could you give me the source code? or Could you tell me how to get the source code.

      My email: garnet6.kim@gmail.com

      Thanks a lot!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jian Wang50973
      Posted by Jian Wang50973
      on Feb 26 2013 02:24 AM
      Prodigy40 points

      We also bought a DM368 IPNC, Could you give me the source code?

      My email: Jian.Wang@carestreamhealth.com 

      Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • ryan hung
      Posted by ryan hung
      on Feb 28 2013 19:46 PM
      Prodigy60 points

      We also bought a DM368 IPNC, Could you give me the source code?

      My email: ryan0988@approtech.com

      Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    12
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use