{"id":1756,"date":"2011-10-07T17:56:01","date_gmt":"2011-10-07T12:26:01","guid":{"rendered":"http:\/\/www.e-consystems.com\/blog\/windowsce\/?p=750"},"modified":"2023-08-15T12:34:40","modified_gmt":"2023-08-15T07:04:40","slug":"windows-ce-6-0-boots-3-sec-streams-camera","status":"publish","type":"post","link":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/windows-ce-6-0-boots-3-sec-streams-camera\/","title":{"rendered":"Windows CE 6.0 boots in 3 sec and streams camera"},"content":{"rendered":"<p>All the discussion about the image size differences between Windows Embedded Compact 7 and Windows CE 6.0 made me come up with some sort of an experiment (should I say challenge). What is the least possible time that I can boot my Alioth with some meaningful application running on it and what would be the size?<\/p>\n<p>Camera streaming on LCD has been a hot favorite for many of our customers and has been a demo that we had done many a times.<\/p>\n<p>I had a chat with my <a title=\"PXA300 Reference design\" href=\"https:\/\/www.e-consystems.com\/iMX6-development-board.asp\" target=\"_blank\" rel=\"noopener\">Alioth <\/a> team and gave them the e-CAM32_PXAx. The job at hand was to make a small image and boot it really quick and display the streaming video on the screen. That was it.<\/p>\n<p>Well they came up with an image of size 4.3 MB (with most of the components, shell removed) and it booted up in a flat 3 seconds after the processor completed its power on sequence.<\/p>\n<p>Wow 3 seconds to load the Windows CE image from the flash, boot it and start the camera application and see the picture\u2026 that was impressive. Check out my video on that below.<\/p>\n<p>&nbsp;<\/p>\n<p>Well!!  I would love to have this happen in less than 1 second (And sometimes my team hates me for that\u2026 \ud83d\ude42 ).<\/p>\n<p>So let\u2019s see what\u2019s in the 3 seconds that I can reduce further. Have a look at the boot time BUDGET!!<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" width=\"630\" align=\"center\">\n<tbody>\n<tr>\n<td width=\"42\" height=\"27\" align=\"center\" valign=\"middle\"><strong>Sl.No<\/strong><\/td>\n<td width=\"414\" align=\"center\" valign=\"middle\"><strong>Components<\/strong><\/td>\n<td width=\"166\" align=\"center\" valign=\"middle\"><strong>Approx Timing (ms)<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"42\" height=\"22\" align=\"center\" valign=\"middle\"><strong>1<\/strong><\/td>\n<td width=\"414\" height=\"22\" valign=\"middle\">Boot ROM, OBM and Eboot Launch<\/td>\n<td width=\"166\" height=\"22\" align=\"center\" valign=\"middle\"><strong>970<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"42\" height=\"22\" align=\"center\" valign=\"middle\"><strong>2<\/strong><\/td>\n<td width=\"414\" height=\"22\" valign=\"middle\">Eboot Initialization(BMP Logo Read, LCD Initialization)<\/td>\n<td width=\"166\" height=\"22\" align=\"center\" valign=\"middle\"><strong>150<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"42\" height=\"22\" align=\"center\" valign=\"middle\"><strong>3<\/strong><\/td>\n<td width=\"414\" height=\"22\" valign=\"middle\">Reading    Nk.bin (4.5 MB) from NAND Flash<\/td>\n<td width=\"166\" height=\"22\" align=\"center\" valign=\"middle\"><strong>650<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"42\" height=\"22\" align=\"center\" valign=\"middle\"><strong>4<\/strong><\/td>\n<td width=\"414\" height=\"22\" valign=\"middle\">OS    Launch, DFM\/DVM driver Loading, GPIO Driver Loading, I2C Driver Loading,    Display driver loading<\/td>\n<td width=\"166\" height=\"22\" align=\"center\" valign=\"middle\"><strong>850<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"42\" height=\"22\" align=\"center\" valign=\"middle\"><strong>5<\/strong><\/td>\n<td width=\"414\" height=\"22\" valign=\"middle\">Camera  Driver Loading<\/td>\n<td width=\"166\" height=\"22\" align=\"center\" valign=\"middle\"><strong>320<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"42\" height=\"22\" align=\"center\" valign=\"middle\"><strong>6<\/strong><\/td>\n<td width=\"414\" height=\"22\" valign=\"middle\">Camera  Application, Setting Camera Resolution and Other properties, Enabling Overlay<\/td>\n<td width=\"166\" height=\"22\" align=\"center\" valign=\"middle\"><strong>100<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"42\" height=\"22\" align=\"center\" valign=\"middle\"><\/td>\n<td width=\"414\" height=\"22\" align=\"right\" valign=\"middle\"><strong>Total<\/strong><\/td>\n<td width=\"166\" height=\"22\" align=\"center\" valign=\"middle\"><strong>3040<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>All the discussion about the image size differences between Windows Embedded Compact 7 and Windows&#8230;<\/p>\n","protected":false},"author":14,"featured_media":1374,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[210],"tags":[82],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/posts\/1756"}],"collection":[{"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/comments?post=1756"}],"version-history":[{"count":1,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/posts\/1756\/revisions"}],"predecessor-version":[{"id":2937,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/posts\/1756\/revisions\/2937"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/media\/1374"}],"wp:attachment":[{"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/media?parent=1756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/categories?post=1756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/tags?post=1756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}