{"id":9479,"date":"2025-05-20T13:18:16","date_gmt":"2025-05-20T04:18:16","guid":{"rendered":"https:\/\/shinko-sj.co.jp\/?page_id=9479"},"modified":"2025-05-20T16:57:22","modified_gmt":"2025-05-20T07:57:22","slug":"replacement_04","status":"publish","type":"page","link":"https:\/\/shinko-sj.co.jp\/en\/related-articles\/replacement_04\/","title":{"rendered":"I replaced a different company&#039;s GPU with SiMa.ai! [Environment setup part 2]"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"435\" src=\"\/wp2024\/wp-content\/uploads\/2025\/05\/sima_chip.png\" alt=\"\" class=\"wp-image-9453\" style=\"width:300px\" srcset=\"https:\/\/shinko-sj.co.jp\/wp2024\/wp-content\/uploads\/2025\/05\/sima_chip.png 500w, https:\/\/shinko-sj.co.jp\/wp2024\/wp-content\/uploads\/2025\/05\/sima_chip-300x261.png 300w, https:\/\/shinko-sj.co.jp\/wp2024\/wp-content\/uploads\/2025\/05\/sima_chip-14x12.png 14w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/figure><\/div>\n\n\n<p>SiMa.ai (hereinafter referred to as SiMa) is a device with strengths in edge AI, rivaling the performance of Alpha Inc., a company that provides GPUs (graphics processing units). There are also voices expressing interest in actually using SiMa's MLSoC (Machine Learning System-on-Chip). In this article, we will introduce how to port a model that was running on Alpha Inc.'s GPU to SiMa and actually run it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading heading_01\">Overall Table of Contents<\/h2>\n\n\n\n<p>The transplant procedure is as follows:<\/p>\n\n\n\n<div class=\"wp-block-columns mokuji_wrap is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"blueback\">Step 1: Overview<\/p>\n\n\n\n<div class=\"wp-block-group mokuji_thumb\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"\/wp2024\/wp-content\/uploads\/2025\/05\/flow_icon_01.png\" alt=\"\" class=\"wp-image-10338\"\/><\/figure>\n<\/div><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/en\/related-articles\/replacement_01\/\" title=\"\">Overview<\/a><\/li>\n<\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"blueback\">Step-2: Preparation<\/p>\n\n\n\n<div class=\"wp-block-group mokuji_thumb\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"\/wp2024\/wp-content\/uploads\/2025\/05\/flow_icon_02.png\" alt=\"\" class=\"wp-image-10339\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/en\/related-articles\/replacement_02\/\" title=\"\">Preparation<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"blueback\">Step 3: Environment setup<\/p>\n\n\n\n<div class=\"wp-block-group mokuji_thumb\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"\/wp2024\/wp-content\/uploads\/2025\/05\/flow_icon_03.png\" alt=\"\" class=\"wp-image-10341\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/en\/related-articles\/replacement_02\/\" title=\"\"><\/a><a href=\"\/en\/related-articles\/replacement_03\/\" title=\"\">Environment setup part 1<\/a><\/li>\n\n\n\n<li>Environment setup part 2<\/li>\n\n\n\n<li><a href=\"\/en\/related-articles\/replacement_05\/\" title=\"\">Environment setup part 3<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"blueback\">Step 4: Implementation<\/p>\n\n\n\n<div class=\"wp-block-group mokuji_thumb\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"\/wp2024\/wp-content\/uploads\/2025\/05\/flow_icon_04.png\" alt=\"\" class=\"wp-image-10342\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/en\/related-articles\/replacement_06\/\" title=\"\">Implementation<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading heading_01\">The goal of this chapter, &quot;Environment Building Part 2&quot;<\/h2>\n\n\n\n<ul class=\"wp-block-list dot_ul large_ul\">\n<li>Learn how to set up the SiMa development kit environment<\/li>\n<\/ul>\n\n\n\n<p>The results of this demo video are as follows:<\/p>\n\n\n\n<div class=\"wp-block-columns extrapages_movie_wrap is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-video\"><video controls src=\"\/wp2024\/wp-content\/uploads\/2025\/05\/movie_a.mp4\"><\/video><\/figure>\n\n\n\n<p class=\"has-text-align-center\">Alpha company video<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-video\"><video controls src=\"\/wp2024\/wp-content\/uploads\/2025\/05\/movie_sima.mp4\"><\/video><\/figure>\n\n\n\n<p class=\"has-text-align-center\">SiMa Video<\/p>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading heading_01\">Table of contents for this chapter &quot;Environment Construction&quot;<\/h2>\n\n\n\n<p class=\"has-text-align-center mgb30\">Building the board and host machine environment for development and evaluation<br>We will introduce it in three pages.<\/p>\n\n\n\n<ul class=\"wp-block-list extrapage_ancher_ul\">\n<li>1-1. <a href=\"\/en\/related-articles\/replacement_03\/#anchor01\" title=\"\">Setting up the SiMa development kit<\/a><\/li>\n\n\n\n<li>1-2. Setting up the SiMa development kit environment<\/li>\n\n\n\n<li>2. <a href=\"\/en\/related-articles\/replacement_05\/#anchor01\" title=\"\">Host machine environment setup<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-center bg_blue mgt50\" id=\"anchor01\" style=\"font-size:26px\">1-2. <strong>Setting up the SiMa development kit<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading heading_01\">Update the firmware to the latest version<\/h2>\n\n\n\n<p>Next, update your SiMa board firmware and software to the latest versions.<br>First, check the current firmware version of your board:<\/p>\n\n\n\n<h4 class=\"wp-block-heading heading_03\">Checking the firmware version<\/h4>\n\n\n\n<p class=\"grey\">* If SIMA_BUILD_VERSION is already 1.4.0_master_B1230, this step is not necessary and can be skipped.<\/p>\n\n\n\n<p class=\"mgt30\">Please connect via SSH in advance and execute the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code code mgt30\"><code>davinci:~$ cat \/etc\/build ----------------------- Build Configuration: | ----------------------- DISTRO = poky DISTRO_VERSION = 4.0.10 MACHINE = davinci DATE = 20240515 TIME = 073358 SIMA_BUILD_VERSION = 1.3.0_master_B1036 ----------------------- Layer Revisions: | ----------------------- meta = kirkstone:1e6f147c686a91b9a5996f529e32ee1852f946b7 meta-poky = kirkstone:1e6f147c686a91b9a5996f529e32ee1852f946b7 meta-yocto-bsp = kirkstone:1e6f147c686a91b9a5996f529e32ee1852f946b7 meta-simaai = master:c983aa4923bb4ae98a70b8f9ea7407fd574b68b1 -- modified meta-oe = kirkstone:f95484417e3d3e65ca15b460ba71dfd35773f0e4 meta-python = kirkstone:f95484417e3d3e65ca15b460ba71dfd35773f0e4 meta-networking = kirkstone:f95484417e3d3e65ca15b460ba71dfd35773f0e4 meta-swupdate = kirkstone:d1d4abfaf82d37c31e3cec3602d6d8d56d105185<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading heading_03\">Download SiMa MLSoC images<\/h4>\n\n\n\n<p>You can download the SiMa MLSoC image file from the Developer Portal, under &quot;Firmware and Board Software Update&quot;, click &quot;Downloading the SiMa MLSoC Images&quot;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"368\" height=\"90\" src=\"\/wp2024\/wp-content\/uploads\/2025\/05\/replacement_04_01.png\" alt=\"\" class=\"wp-image-9476\" srcset=\"https:\/\/shinko-sj.co.jp\/wp2024\/wp-content\/uploads\/2025\/05\/replacement_04_01.png 368w, https:\/\/shinko-sj.co.jp\/wp2024\/wp-content\/uploads\/2025\/05\/replacement_04_01-300x73.png 300w, https:\/\/shinko-sj.co.jp\/wp2024\/wp-content\/uploads\/2025\/05\/replacement_04_01-18x4.png 18w\" sizes=\"(max-width: 368px) 100vw, 368px\" \/><\/figure>\n\n\n\n<p class=\"grey\">*You can view and download by registering on the Developer Portal on the SiMa website.<br>If you cannot view the site even after registering, please contact Shinko Shoji.<\/p>\n\n\n\n<p class=\"mgt30\">Click &quot;Download Now&quot; and a .tar file will be downloaded.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full mgt30\"><img loading=\"lazy\" decoding=\"async\" width=\"270\" height=\"90\" src=\"\/wp2024\/wp-content\/uploads\/2025\/05\/replacement_04_02.png\" alt=\"\" class=\"wp-image-9477\" srcset=\"https:\/\/shinko-sj.co.jp\/wp2024\/wp-content\/uploads\/2025\/05\/replacement_04_02.png 270w, https:\/\/shinko-sj.co.jp\/wp2024\/wp-content\/uploads\/2025\/05\/replacement_04_02-18x6.png 18w\" sizes=\"(max-width: 270px) 100vw, 270px\" \/><\/figure>\n\n\n\n<p class=\"mgt30\">To unpack the .tar file you downloaded, run the following command in a separate terminal window:<\/p>\n\n\n\n<pre class=\"wp-block-code code mgt20\"><code>sima-user@sima-user-machine:~$ cd Downloads\/ sima-user@sima-user-machine:~\/Downloads$ tar -xvf MLSoC1.4_Firmware.tar sima-user@sima-user-machine:~\/Downloads$ cd MLSoC1.4_Firmware<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading heading_03\">Updating the board firmware\/tRoot image<\/h4>\n\n\n\n<h5 class=\"wp-block-heading heading_04\">tRoot file copy<\/h5>\n\n\n\n<p>To update the firmware, copy the tRoot file to the board. Run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code code\"><code>sima-user@sima-user-machine:~\/Downloads\/MLSoC1.4_Firmware$ scp troot-upgrade-simaai-ev.swu sima@{Board IP Address}:\/tmp sima@{Board IP Address}:&#039;s password: troot-upgrade-simaai-ev.swu 100% 0 0.0KB\/s 00:00<\/code><\/pre>\n\n\n\n<p>The password for the default SiMa user on the board is edgeai, so enter edgeai in the password field.<\/p>\n\n\n\n<h5 class=\"wp-block-heading heading_04\">Firmware Update<\/h5>\n\n\n\n<p>In the minicom window above, run the following command to update.<\/p>\n\n\n\n<pre class=\"wp-block-code code\"><code>davinci:~$ cd \/tmp davinci:\/tmp$ sudo swupdate -v -H simaai-image-troot:1.0 -i \/tmp\/troot-upgrade-simaai-ev.swu SWUpdate v2023.05-dirty Licensed under GPLv2. See source distribution for detailed copyright notices. [TRACE] : SWUPDATE running : [print_registered_bootloaders] : Registered bootloaders: [TRACE] : SWUPDATE running : [print_registered_bootloaders] : uboot loaded. [INFO ] : SWUPDATE running : [main] : Using default bootloader interface: uboot [INFO ] : SWUPDATE running : [main] : Running on simaai-image-troot Revision 1.0 ... [INFO ] : SWUPDATE successful ! SWUPDATE successful ! [TRACE] : SWUPDATE running : [network_initializer] : Main thread sleep again ! [INFO ] : No SWUPDATE running : Waiting for requests... [INFO ] : SWUPDATE running : [endupdate] : SWUpdate was successful! [DEBUG] : SWUPDATE running : [postupdate] : Running Post-update command<\/code><\/pre>\n\n\n\n<p>Once you see the success message, reboot (power cycle) your board.<\/p>\n\n\n\n<p class=\"grey\">* It may take more than 10 minutes for the update to complete.<\/p>\n\n\n\n<h4 class=\"wp-block-heading heading_03\">Update Yocto Linux image<\/h4>\n\n\n\n<h5 class=\"wp-block-heading heading_04\">Yocto Linux Image Copy<\/h5>\n\n\n\n<p>To update the Yocto Linux image as well as the firmware, copy the files to the board.<br>Please execute the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code code\"><code>sima-user@sima-user-machine:~\/Downloads\/MLSoC1.4_Firmware$ scp simaai-image-palette-upgrade-davinci.swu sima@{Board IP Address}:\/tmp sima@{Board IP Address}:&#039;s password:****** simaai-image-palette-upgrade-davinci.swu 100% 0 0.0KB\/s 00:00<\/code><\/pre>\n\n\n\n<p>The password for the default SiMa user on the board is edgeai, so enter edgeai in the password field.<\/p>\n\n\n\n<h5 class=\"wp-block-heading heading_04\">Yocto Linux Image Update<\/h5>\n\n\n\n<p>In the minicom window above, run the following command to update.<\/p>\n\n\n\n<pre class=\"wp-block-code code\"><code>davinci:~$ cd \/tmp davinci:\/tmp$ sudo swupdate -v -H simaai-image-palette:1.0 -i \/tmp\/simaai-image-palette-upgrade-davinci.swu<\/code><\/pre>\n\n\n\n<p>It will automatically reboot after the update.<\/p>\n\n\n\n<h4 class=\"wp-block-heading heading_03\">Check for updates<\/h4>\n\n\n\n<p>To check for updates, run the following command as above.<\/p>\n\n\n\n<pre class=\"wp-block-code code\"><code>davinci:~$ cat \/etc\/build ----------------------- Build Configuration: | ----------------------- DISTRO = poky DISTRO_VERSION = 4.0.10 MACHINE = davinci DATE = 20240917 TIME = 210846 SIMA_BUILD_VERSION = 1.4.0_master_B1230 ----------------------- Layer Revisions: | ----------------------- meta = kirkstone:1e6f147c686a91b9a5996f529e32ee1852f946b7 meta-poky = kirkstone:1e6f147c686a91b9a5996f529e32ee1852f946b7 meta-yocto-bsp = kirkstone:1e6f147c686a91b9a5996f529e32ee1852f946b7 meta-simaai = master:6ebb42c489f4fc53d3fc6386689baa6dc3ae5c0f -- modified meta-oe = kirkstone:f95484417e3d3e65ca15b460ba71dfd35773f0e4 meta-python = kirkstone:f95484417e3d3e65ca15b460ba71dfd35773f0e4 meta-networking = kirkstone:f95484417e3d3e65ca15b460ba71dfd35773f0e4 meta-swupdate = kirkstone:d1d4abfaf82d37c31e3cec3602d6d8d56d105185<\/code><\/pre>\n\n\n\n<p>If the version is 1.4.0_master_B1230, it&#039;s OK.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"has-text-align-center\">In the next chapter, we will introduce how to set up the host machine environment.<\/p>\n\n\n\n<div class=\"wp-block-group wrap_mail grey\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><a href=\"mailto:ml_sima.ai@st.shinko-sj.co.jp\" title=\"\"><span>Purchase the development kit here<\/span><\/a><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-columns pagebottom_link is-layout-flex wp-container-core-columns-is-layout-3 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"\/en\/related-articles\/replacement_03\/\" title=\"\">I replaced another company&#039;s GPU with SiMa.ai!<br>[Environment Construction Part 1]<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"\/en\/related-articles\/replacement_05\/\" title=\"\">I replaced another company&#039;s GPU with SiMa.ai!<br>[Environment Construction Part 3]<\/a><\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading heading_01\"><strong>Company Profile<\/strong><\/h2>\n\n\n\n<dl class=\"dl_em10\">\n\t<dt>Company Name<\/dt>\n\t<dd>SiMa Technologies, Inc.<\/dd>\n\t<dt>Established<\/dt>\n\t<dd>2018<\/dd>\n\t<dt>location<\/dt>\n\t<dd>America (Silicon Valley)<\/dd>\n\t<dt>business<\/dt>\n\t<dd>Providing SoC and SDK specialized for image processing edge AI<\/dd>\n<\/dl>\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>SiMa.ai (hereinafter referred to as SiMa) is an edge computing platform that is comparable in performance to that of Alpha Inc., a company that provides GPUs (graphics processing units).<\/p>","protected":false},"author":1,"featured_media":0,"parent":9226,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page_product_otherpage.php","meta":{"_acf_changed":false,"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-9479","page","type-page","status-publish","hentry"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/shinko-sj.co.jp\/en\/wp-json\/wp\/v2\/pages\/9479"}],"collection":[{"href":"https:\/\/shinko-sj.co.jp\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shinko-sj.co.jp\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shinko-sj.co.jp\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shinko-sj.co.jp\/en\/wp-json\/wp\/v2\/comments?post=9479"}],"version-history":[{"count":5,"href":"https:\/\/shinko-sj.co.jp\/en\/wp-json\/wp\/v2\/pages\/9479\/revisions"}],"predecessor-version":[{"id":9511,"href":"https:\/\/shinko-sj.co.jp\/en\/wp-json\/wp\/v2\/pages\/9479\/revisions\/9511"}],"up":[{"embeddable":true,"href":"https:\/\/shinko-sj.co.jp\/en\/wp-json\/wp\/v2\/pages\/9226"}],"wp:attachment":[{"href":"https:\/\/shinko-sj.co.jp\/en\/wp-json\/wp\/v2\/media?parent=9479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}