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.
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.
Summary of boot process:Please see serial boot log with timestamps for details.
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 (email@example.com) 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 510600:00:00.039973 IP 10.0.0.2.54804 > 10.0.0.1.12345: UDP, length 512500:00:00.040040 IP 10.0.0.2.54804 > 10.0.0.1.12345: UDP, length 5076Here 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 686100:00:00.036950 IP 10.0.0.2.47957 > 10.0.0.1.12345: UDP, length 853600: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.
Embedded Linux Consulting: http://www.MakeLinux.com/
Linux and TI DaVinci Technology Portal: http://www.Linux-DaVinci.info/
consider to Verify the Answer
In reply to Constantine:
would like to get the source code for the same.
Do let me further details
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
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: firstname.lastname@example.org
Thanks a lot！
In reply to garnet kim:
We also bought a DM368 IPNC, Could you give me the source code?
My email: Jian.Wang@carestreamhealth.com
In reply to Jian Wang50973:
My email: email@example.com
Source code is available for charge.
Will you or your company provide services ? I wondering if we source those ready IP camera board from somewhere that can use your software build to have a plain TCp/UDP streaming only. Please advise, thanks,
In reply to Edward Cheng:
Hi Edward,You can use IPNC wis-streamer for rtsp/rtp over udp or tcp streaming.I can help you make pure tcp or udp streaming. Contact me on my public email.Regards,Marko.
Can you give me source code?
If you distribute binaries of modified Linux kernel sources, you are bound by the GPL to also distribute your modified sources.
Are you claiming that your modifications to decrease boot time are only based on modified non-GPL sources? Please clarify.
In reply to Adam Porter1:
It is not distribution. It is just not functional demo. You can purchase sources.
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.