{"id":81,"date":"2010-02-15T15:11:57","date_gmt":"2010-02-15T21:11:57","guid":{"rendered":"http:\/\/dmartenson.dc.multitech.prv\/developer\/?page_id=81"},"modified":"2015-06-23T13:22:05","modified_gmt":"2015-06-23T18:22:05","slug":"getting-started","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/corecdp\/getting-started\/","title":{"rendered":"Getting Started"},"content":{"rendered":"<h3>Download<\/h3>\n<p>Download <a  data-e-Disable-Page-Transition=\"true\" class=\"download-link\" title=\"Version 2.3.4\" href=\"https:\/\/www.multitech.net\/developer\/download\/33042\/?tmstv=1778101077\" rel=\"nofollow\" id=\"download-link-33042\" data-redirect=\"false\" >\n\tCoreCDP 2.3.4\t(2861 downloads\t)\n<\/a>\n<\/p>\n<a href='https:\/\/www.multitech.net\/developer\/software\/corecdp\/release-notes\/corecdp-2-3-4-release-notes\/' title='CoreCDP 2.3.4 Release Notes'>CoreCDP 2.3.4 Release Notes<\/a>\n<p><a href=\"http:\/\/multitech.net\/corecdp\/images\/\">Pre-built Images<\/a><\/p>\n<h3>Installing the build system<\/h3>\n<p>First, extract the build system using tar.<br \/>\nOnce extracted, installer scripts are included to easily install the needed prerequisites. The examples below shows installing on a Debian\/Ubuntu system.<br \/>\nFor prerequisite package information for other distributions, see the <a href='https:\/\/www.multitech.net\/developer\/software\/corecdp\/prerequisites\/' title='Prerequisites'>Prerequisites<\/a> page.<\/p>\n<pre class=\"brush:shell\"># extract the build system\r\ntar xzvf corecdp-2.3.3.tar.gz\r\ncd corecdp-2.3.3\r\n# install any needed packages\r\nsudo .\/multitech\/contrib\/install-deps\/install-debian-ubuntu-deps.sh\r\n<\/pre>\n<h3>Ubuntu Notes<\/h3>\n<p><code>\/bin\/sh<\/code> must be linked to <code>\/bin\/bash<\/code> for the build process to be successful. \u00a0Ubuntu defaults to dash, which isn&#8217;t compatible with scripts that assume <code>\/bin\/sh<\/code> is bash. \u00a0This can result in build problems for some software.<\/p>\n<p>To change your default shell to bash, run: <code>sudo dpkg-reconfigure dash<\/code> and select &#8220;No&#8221; when asked if dash should be installed as \/bin\/sh.<\/p>\n<div class=\"note\">Note: Ubuntu releases up to 12.10 are supported (later versions will not work)<\/div>\n<h3>Build Procedure<\/h3>\n<p>To build the cross compilation toolchain and a sample kernel and filesystem image:<\/p>\n<pre class=\"brush:shell\"># cd to wherever you extracted the SDK\r\ncd corecdp-2.3.3\r\n\r\n# load environment script\r\nsource env-oe.sh\r\n\r\n# edit conf\/local.conf to your needs\r\n#   set MACHINE to your default machine type\r\n#     MACHINE=\"mtcdp\" or MACHINE=\"mt100eocg\"\r\n#   enable\/disable the INHERIT += \"rm_work\" option\r\n#     (to save disk space or keep source code)\r\n\r\n# build the image and everything needed to do so\r\nbitbake corecdp-base-image<\/pre>\n<p>The <code>corecdp-base-image<\/code> bitbake recipe builds a kernel and a basic root filesystem which is the recommended starting point for creating your own custom image. See the other CoreCDP sample images located in <code>multitech\/recipes\/images<\/code>. To create your own image, see <a href='https:\/\/www.multitech.net\/developer\/software\/corecdp\/development\/creating-a-custom-image\/' title='Creating a Custom Image'>Creating a Custom Image<\/a>.<\/p>\n<p>The first time the build is started, bitbake will build all necessary tools and dependencies including the cross complier and any native tools that are needed for the build process (these run directly on your build machine). \u00a0Subsequent builds will only build what is necessary.<\/p>\n<div class=\"note\">The initial build may take a few hours depending on your hardware.  If you have more than 2 cores and lots of RAM, you can increase the BB_NUMBER_THREADS and PARALLEL_MAKE settings in conf\/local.conf to speed up build time considerably.<\/div>\n<p>The resulting images will be located in a directory named for the machine type they were built for. The following paths and filenames are for MACHINE=&#8221;mtcdp&#8221;:<br \/>\n<code>corecdp-2.3.3\/build\/tmp\/deploy\/eglibc\/images\/mtcdp<\/code><\/p>\n<p>Kernel image: <code>uImage-mtcdp.bin<\/code><br \/>\nRoot filesystem: <code>corecdp-base-image-mtcdp.jffs2<\/code><\/p>\n<h3>Flashing the Device<\/h3>\n<p>The device may be flashed either by using the Multi-Tech-provided flashing procedure (upgrade on reboot) or by flashing from U-Boot via TFTP (requires debug serial console).<br \/>\nSee <a href='https:\/\/www.multitech.net\/developer\/software\/corecdp\/development\/nand-flash-programming\/' title='NAND Flash Programming'>NAND Flash Programming<\/a> for full instructions.<\/p>\n<h3>Default Settings<\/h3>\n<p>The device should be accessible via SSH with the following defaults:<br \/>\nIP Address: 192.168.2.1<br \/>\nUser: root<br \/>\nPassword: root<\/p>\n<pre class=\"brush:shell\">ssh root@192.168.2.1<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Download Download Pre-built Images Installing the build system First, extract the build system using tar. Once extracted, installer scripts are included to easily install the needed prerequisites. The examples below shows installing on a Debian\/Ubuntu system. For prerequisite package information for other distributions, see the page. # extract the build system tar xzvf corecdp-2.3.3.tar.gz cd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":7296,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-81","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":57,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/81\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/81\/revisions\/125"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/7296"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}