<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Raspberry PI &#8211; Sibeesh Passion</title>
	<atom:link href="https://www.sibeeshpassion.com/tag/raspberry-pi/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Sun, 11 Aug 2019 19:30:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Raspberry PI &#8211; Sibeesh Passion</title>
	<link>https://www.sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Raspberry Pi 4, What is There for You, Worth Buying?</title>
		<link>https://www.sibeeshpassion.com/raspberry-pi-4-what-is-there-for-you-worth-buying-it/</link>
					<comments>https://www.sibeeshpassion.com/raspberry-pi-4-what-is-there-for-you-worth-buying-it/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sun, 11 Aug 2019 19:10:52 +0000</pubDate>
				<category><![CDATA[IoT]]></category>
		<category><![CDATA[Connected Devices]]></category>
		<category><![CDATA[Internet of Things]]></category>
		<category><![CDATA[Raspberry PI]]></category>
		<category><![CDATA[Raspberry Pi 4]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=13873</guid>

					<description><![CDATA[I bought a Raspberry Pi 4 recently and in this video I will explain the key features about the device and I will also show how you can set up your Raspberry Pi 4 for the first time. We will look at the the box together and unbox the same. I hope you will like this video. Your turn. What do you think? Thanks a lot for watching the video. Did I miss anything that you may think which is needed in this video? Could you find this post as useful? Kindly do not forget to share me your feedback [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>I bought a Raspberry Pi 4 recently and in this video I will explain the key features about the device and I will also show how you can set up your Raspberry Pi 4 for the first time. We will look at the the box together and unbox the same. I hope you will like this video. </p>



<figure><iframe width="560" height="315" src="https://www.youtube.com/embed/gCEUITJL_G8" allowfullscreen=""></iframe></figure>



<h2 class="wp-block-heading">Your turn. What do you think?</h2>



<p>Thanks a lot for watching the video. Did I miss anything that you may think which is needed in this video? Could you find this post as useful? Kindly do not forget to share me your feedback and subscribe the channel.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/raspberry-pi-4-what-is-there-for-you-worth-buying-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Raspberry PI SD Card Provisioning with Windows 10 IoT Core &#8211; Adding Packages to the Existing FFU Image</title>
		<link>https://www.sibeeshpassion.com/raspberry-pi-sd-card-provisioning-with-windows-10-iot-core-adding-packages-to-the-existing-ffu-image/</link>
					<comments>https://www.sibeeshpassion.com/raspberry-pi-sd-card-provisioning-with-windows-10-iot-core-adding-packages-to-the-existing-ffu-image/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sun, 09 Dec 2018 12:44:17 +0000</pubDate>
				<category><![CDATA[IoT]]></category>
		<category><![CDATA[Raspberry PI]]></category>
		<category><![CDATA[Custom IoT Core FFU Image]]></category>
		<category><![CDATA[FFU]]></category>
		<category><![CDATA[IoT Core]]></category>
		<category><![CDATA[IoT Core OS]]></category>
		<category><![CDATA[Raspberry PI SD Card Provisioning]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=13431</guid>

					<description><![CDATA[[toc] Introduction In my previous article, we have seen how to create a basic FFU image which can be flashed to SD cards. Today, we will see how we can package our application and add this to our existing IoT Core OS image. Doesn&#8217;t it sound good? If you haven&#8217;t read my previous articles on the same topic, I strongly recommend you to read so that we can make sure that we both are in the same boat. For now, let&#8217;s just start doing some amazing things. Let&#8217;s just start then. Background Wow, that&#8217;s cool that you have your own FFU [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[toc]</p>
<h2>Introduction</h2>
<p>In my previous article, we have seen how to <a href="https://sibeeshpassion.com/raspberry-pi-sd-card-provisioning-with-windows-10-iot-core-create-ffu-image-and-flash/">create a basic FFU image</a> which can be flashed to SD cards. Today, we will see how we can package our application and add this to our existing IoT Core OS image. Doesn&#8217;t it sound good? If you haven&#8217;t read my previous articles on the same topic, I strongly recommend you to read so that we can make sure that we both are in the same boat. For now, let&#8217;s just start doing some amazing things. Let&#8217;s just start then.</p>
<h2>Background</h2>
<p>Wow, that&#8217;s cool that you have your own FFU image in your SD card now, to make it more custom you may need to add your own application to it so that the same can be run in as many Raspberry Pi device as can, well that&#8217;s called Provisioning right? In this article,</p>
<ol>
<li>we will see how we can create an APPX package of a UWP application</li>
<li>how the APPX package can be added to our FFU image</li>
</ol>
<p>Let&#8217;s start doing the PowerShell commands now then.</p>
<h2>Prerequisites</h2>
<p>To do the wonderful things, we always need some prerequisites.  You can always see all the prerequisites from <a href="https://docs.microsoft.com/en-us/windows-hardware/manufacture/iot/set-up-your-pc-to-customize-iot-core">here</a>. But, in this part, we are going to be needed only the preceding tools.</p>
<ol>
<li>Windows Assessment and Deployment Kit (Windows ADK)</li>
<li>Windows Driver Kit (WDK) 10</li>
<li>IoT Core ADK Add-Ons</li>
<li>Windows 10 IoT Core Packages</li>
<li>The Raspberry Pi BSP</li>
<li>Custom FFU image we have created</li>
</ol>
<h2>Creating the UWP APPX</h2>
<p>For now, I am going to use the Microsoft HelloWorld application, which is already available in the <a href="https://github.com/Microsoft/Windows-iotcore-samples/tree/develop/Samples/HelloWorld">GitHub</a>. Let&#8217;s just clone that application and build the same. If you are getting an error as &#8220;Error Cannot resolve Assembly or Windows Metadata file &#8216;Windows.Foundation.UniversalApiContract.winmd'&#8221;, please make sure that you had set the target version in the application section, you can always see my detailed answer <a href="https://stackoverflow.com/questions/53691306/error-cannot-resolve-assembly-or-windows-metadata-file-windows-foundation-unive/53691307#53691307">here in StackOverflow</a>.</p>
<p>Now let&#8217;s just right click on the project and click on Store &#8211; &gt; Create App Packages.</p>
<p><div id="attachment_13433" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/12/Create-APPX-Menu.jpg"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-13433" class="size-full wp-image-13433" src="https://sibeeshpassion.com/wp-content/uploads/2018/12/Create-APPX-Menu.jpg" alt="Create APPX Menu" width="650" height="380" srcset="/wp-content/uploads/2018/12/Create-APPX-Menu.jpg 650w, /wp-content/uploads/2018/12/Create-APPX-Menu-300x175.jpg 300w, /wp-content/uploads/2018/12/Create-APPX-Menu-400x234.jpg 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13433" class="wp-caption-text">Create APPX Menu</p></div></p>
<p>Now select the option &#8220;I want to create packages for sideloading&#8221; and click next. In the next screen, you can always automatically increment your application version. In the Generate app bundle option, select Never. And click Create. Now the app will get built and the APPX file will be generated for you.</p>
<p><div id="attachment_13434" style="width: 661px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/12/Create-APP-Package.jpg"><img decoding="async" aria-describedby="caption-attachment-13434" class="size-full wp-image-13434" src="https://sibeeshpassion.com/wp-content/uploads/2018/12/Create-APP-Package.jpg" alt="Create APP Package" width="651" height="211" srcset="/wp-content/uploads/2018/12/Create-APP-Package.jpg 651w, /wp-content/uploads/2018/12/Create-APP-Package-300x97.jpg 300w, /wp-content/uploads/2018/12/Create-APP-Package-400x130.jpg 400w" sizes="(max-width: 651px) 100vw, 651px" /></a><p id="caption-attachment-13434" class="wp-caption-text">Create APP Package</p></div></p>
<h2>Adding APPX to the Existing FFU</h2>
<p>As we have our own package and FFU image ready, we can go ahead and add this package to our FFU now. To do that open the IoTCorePShell, if you are not sure about how to open this, please check my previous article. Now let&#8217;s create a package for our app.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">newappxpkg "C:\Users\SibeeshVenu\source\repos\Windows-iotcore-samples.git\Samples\HelloWorld\CS\AppPackages\HelloWorld_1.0.0.0_ARM_Test\HelloWorld_1.0.0.0_ARM.appx" fga Appx.HelloWorld</pre>
<p>Please be noted that the &#8220;fga&#8221; is an indication that your application is a foreground application, if your application is a background application, you should use &#8220;bgt&#8221; instead of &#8220;fga&#8221;.</p>
<blockquote><p>Please make sure that your FFU image has at least one Foreground application in it. You will always see the blue spinning dots after connecting the monitor to the Raspberry Pi if you have only background application in your image.  So you should consider having a registered fgt as well in your image.</p></blockquote>
<p>You will not be able to understand what exactly happens if there any problems if you have only a background application in your image. Trust me, I had spent many hours looking at the blue screen hoping that my application will show up there.</p>
<p>The above command will create a new folder in your workspace, in our case it is at C:\OEE\Source-arm\Packages\Appx.HelloWorld. It will also copy the appx files and its dependencies from the folder we are specifying in the command and generates a customizations.xml file as well as a package xml file that is used to build the package.</p>
<p><div id="attachment_13435" style="width: 584px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/12/newappxpkg-output.jpg"><img decoding="async" aria-describedby="caption-attachment-13435" class="size-full wp-image-13435" src="https://sibeeshpassion.com/wp-content/uploads/2018/12/newappxpkg-output.jpg" alt="newappxpkg output" width="574" height="433" srcset="/wp-content/uploads/2018/12/newappxpkg-output.jpg 574w, /wp-content/uploads/2018/12/newappxpkg-output-300x226.jpg 300w, /wp-content/uploads/2018/12/newappxpkg-output-400x302.jpg 400w" sizes="(max-width: 574px) 100vw, 574px" /></a><p id="caption-attachment-13435" class="wp-caption-text">newappxpkg output</p></div></p>
<p>This will also create a new entry as follows in the OEMFM.xml file.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">&lt;PackageFile Path="%PKGBLD_DIR%" Name="%OEM_NAME%.Appx.HelloWorld.cab"&gt;
        &lt;FeatureIDs&gt;
          &lt;FeatureID&gt;APPX_HELLOWORLD&lt;/FeatureID&gt;
        &lt;/FeatureIDs&gt;
      &lt;/PackageFile&gt;</pre>
<p>Now let&#8217;s just build our package.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">PS C:\OEE&gt;buildpkg Appx.HelloWorld
Processing Appx.HelloWorld.wm.xml
True
IoTCorePShell arm 10.0.0.0 Test</pre>
<p>Now you should be able to see your package.cab file in the build directory C:\OEE\Build\arm\pkgs.  Let&#8217;s add the feature APPX_HELLOWORLD to our product OEEIoTCore now.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">PS C:\OEE&gt;addfid OEEIoTCore Test APPX_HELLOWORLD -OEM
IoTCorePShell arm 10.0.0.0 Test</pre>
<p>You can also remove any feature from any product by using &#8220;removefid&#8221; command. As we have added our feature, now it is time to build our image.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">PS C:\OEE&gt;buildimage OEEIoTCore Test</pre>
<p>Please be noted that this may take some time, and once it is done, you will be getting an output as below.</p>
<p><div id="attachment_13436" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/12/buildimage.png"><img decoding="async" aria-describedby="caption-attachment-13436" class="size-full wp-image-13436" src="https://sibeeshpassion.com/wp-content/uploads/2018/12/buildimage.png" alt="buildimage" width="650" height="479" srcset="/wp-content/uploads/2018/12/buildimage.png 650w, /wp-content/uploads/2018/12/buildimage-300x221.png 300w, /wp-content/uploads/2018/12/buildimage-400x295.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13436" class="wp-caption-text">buildimage</p></div></p>
<p>The new image will be available in your build folder (C:\OEE\Build\arm\OEEIoTCore\Test). Now you can write this FFU image with your application as <a href="https://sibeeshpassion.com/raspberry-pi-sd-card-provisioning-with-windows-10-iot-core-create-ffu-image-and-flash/#writing-flashing-the-ffu-image-to-sd-card">mentioned in my previous article</a>.</p>
<p>Now that our OS is flashed and it is time to connect the SD card to the Raspberry Pi. Once that is done, you can see that your application is running in <a href="https://sibeeshpassion.com/setting-up-your-raspberry-pi-with-microsoft-windows-10-iot-core/#login-to-device-portal">your device portal</a>.</p>
<p><div id="attachment_13437" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/12/Custom-Package-in-Device-Portal.jpg"><img decoding="async" aria-describedby="caption-attachment-13437" class="size-full wp-image-13437" src="https://sibeeshpassion.com/wp-content/uploads/2018/12/Custom-Package-in-Device-Portal.jpg" alt="Custom Package in Device Portal" width="650" height="309" srcset="/wp-content/uploads/2018/12/Custom-Package-in-Device-Portal.jpg 650w, /wp-content/uploads/2018/12/Custom-Package-in-Device-Portal-300x143.jpg 300w, /wp-content/uploads/2018/12/Custom-Package-in-Device-Portal-400x190.jpg 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13437" class="wp-caption-text">Custom Package in Device Portal</p></div></p>
<p>Now let&#8217;s add a background application and follow the same procedure.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">PS C:\OEE&gt;newappxpkg "C:\Users\SibeeshVenu\SourceCode\OEE\ml.OEE.Pi.Windows\ml.OEE.Pi.Windows.BeaconDetector\AppPackages\ml.OEE.Pi.Windows.BeaconDetector_1.0.3.0_ARM_Test\ml.OEE.Pi.Windows.BeaconDetector_1.0.3.0_ARM.appx" bgt Appx.Beacon</pre>
<p>I am sure you will be able to see your background application in your device portal, once you had followed the steps correctly.</p>
<p><div id="attachment_13442" style="width: 660px" class="wp-caption alignnone"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/12/Background-Application-in-IoT-Device-Portal.jpg"><img decoding="async" aria-describedby="caption-attachment-13442" class="size-full wp-image-13442" src="https://sibeeshpassion.com/wp-content/uploads/2018/12/Background-Application-in-IoT-Device-Portal.jpg" alt="Background Application in IoT Device Portal" width="650" height="336" srcset="/wp-content/uploads/2018/12/Background-Application-in-IoT-Device-Portal.jpg 650w, /wp-content/uploads/2018/12/Background-Application-in-IoT-Device-Portal-300x155.jpg 300w, /wp-content/uploads/2018/12/Background-Application-in-IoT-Device-Portal-400x207.jpg 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13442" class="wp-caption-text">Background Application in IoT Device Portal</p></div></p>
<h2>Conclusion</h2>
<p>Wow!. Now we have learned,</p>
<ul>
<li>how we can generate APPX package of our UWP application</li>
<li>how to add the new feature to the existing IoT Core FFU image</li>
<li>how to write the same to an SD card</li>
<li>how to manage the new application in Device Portal</li>
</ul>
<h2><span id="your-turn-what-do-you-think">Your turn. What do you think?</span></h2>
<p>Thanks a lot for reading. Did I miss anything that you may think which is needed in this article? Could you find this post as useful? Kindly do not forget to share me your feedback.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/raspberry-pi-sd-card-provisioning-with-windows-10-iot-core-adding-packages-to-the-existing-ffu-image/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Accessing Raspbian OS Files in Windows 10</title>
		<link>https://www.sibeeshpassion.com/accessing-raspbian-os-files-in-windows-10/</link>
					<comments>https://www.sibeeshpassion.com/accessing-raspbian-os-files-in-windows-10/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Tue, 27 Nov 2018 09:37:28 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Raspberry PI]]></category>
		<category><![CDATA[Linux Distribution]]></category>
		<category><![CDATA[Linux Kernal]]></category>
		<category><![CDATA[Raspbian]]></category>
		<category><![CDATA[Windows 10 and Raspbian Files]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=13415</guid>

					<description><![CDATA[[toc] Introduction For the last few days I was just playing around with my Raspberry PI, it was fun. In this article, we are going to discuss some different scenario. Let&#8217;s say I have flashed Raspbian OS to my SD card now I want to access the files. As you know that Raspbian is written on top of Linux Kernal and everything uses Linux Kernal called Linux Distribution, this is just for your information. Now, coming back to the point, I am using the Operating System Windows 1o in my machine, and I will not be able to open the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[toc]</p>
<h2>Introduction</h2>
<p>For the last few days I was just playing around with my Raspberry PI, it was fun. In this article, we are going to discuss some different scenario. Let&#8217;s say I have flashed <a href="https://sibeeshpassion.com/setting-up-your-first-raspberry-pi/#installing-raspbian-operating-system">Raspbian OS</a> to my SD card now I want to access the files. As you know that Raspbian is written on top of Linux Kernal and everything uses Linux Kernal called Linux Distribution, this is just for your information. Now, coming back to the point, I am using the Operating System Windows 1o in my machine, and I will not be able to open the Linux based files in Windows 10 as it cannot identify those file types. Hm, it is expected, and nothing wrong it. But we have a workaround to do that. Here in this article, I will explain the steps you should be followed. Let&#8217;s skip the introduction and start doing some amazing things. Let&#8217;s just start then.</p>
<h2>Background</h2>
<p>You can see my article related to Raspberry Pi <a href="https://sibeeshpassion.com/category/raspberry-pi/">here</a>. As I said earlier, here we are going to find out how we can access the Raspbian files in our Windows 10 machine. But before you do that, please be sure to go through the prerequisites below.</p>
<h2>Prerequisites</h2>
<ol>
<li>Virtual Box</li>
<li>A Linux Distribution iso file</li>
<li>SD card with Raspbian OS</li>
</ol>
<h3>Virtual Box</h3>
<p>As the name implies, it is a virtual box where you can install any guest operating system you use. In my case, I wanted to install a Linux Distribution operating system to access my Raspbian OS files. Virtual Box is an open source hosted hypervisor which is currently being developed by the Oracle Corporation. You can download the Virtual Box from <a href="https://www.virtualbox.org/wiki/Downloads">here</a>.</p>
<h3>A Linux Distribution iso File</h3>
<p>You are free to use any distribution you wish, but I wish to go with Ubuntu for now, as I found it is interesting. You can find all the widely used distributions <a href="https://en.wikipedia.org/wiki/Linux_distribution#Widely_used_distributions">here</a>. Now let&#8217;s just download the <a href="https://www.ubuntu.com/download/desktop">Ubuntu desktop</a>.</p>
<h2>Raspbian Files in Windows 10? Interesting?</h2>
<h3>Setup Your Virtual Box</h3>
<p>Once you download the Virtual Box, you can go ahead and install the same.</p>
<p><div id="attachment_13416" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Installing-VirtualBox.png"><img decoding="async" aria-describedby="caption-attachment-13416" class="size-full wp-image-13416" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Installing-VirtualBox.png" alt="Installing VirtualBox" width="650" height="508" srcset="/wp-content/uploads/2018/11/Installing-VirtualBox.png 650w, /wp-content/uploads/2018/11/Installing-VirtualBox-300x234.png 300w, /wp-content/uploads/2018/11/Installing-VirtualBox-400x313.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13416" class="wp-caption-text">Installing VirtualBox</p></div></p>
<p>Now you can create the Virtual Machine. You can always do that later as well, but I want to do that now as I don&#8217;t want to go through this process later.</p>
<p><div id="attachment_13417" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Select-Virtual-Hard-Disk-Now.png"><img decoding="async" aria-describedby="caption-attachment-13417" class="size-full wp-image-13417" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Select-Virtual-Hard-Disk-Now.png" alt="Select Virtual Hard Disk Now" width="650" height="477" srcset="/wp-content/uploads/2018/11/Select-Virtual-Hard-Disk-Now.png 650w, /wp-content/uploads/2018/11/Select-Virtual-Hard-Disk-Now-300x220.png 300w, /wp-content/uploads/2018/11/Select-Virtual-Hard-Disk-Now-400x294.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13417" class="wp-caption-text">Select Virtual Hard Disk Now</p></div></p>
<p>Under the option Storage on the physical hard disk, you should select the dynamically allocated. You can see the hints below.</p>
<p><div id="attachment_13418" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Dynamically-Allocated-Hard-Disk.png"><img decoding="async" aria-describedby="caption-attachment-13418" class="size-full wp-image-13418" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Dynamically-Allocated-Hard-Disk.png" alt="Dynamically Allocated Hard Disk" width="650" height="485" srcset="/wp-content/uploads/2018/11/Dynamically-Allocated-Hard-Disk.png 650w, /wp-content/uploads/2018/11/Dynamically-Allocated-Hard-Disk-300x224.png 300w, /wp-content/uploads/2018/11/Dynamically-Allocated-Hard-Disk-400x298.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13418" class="wp-caption-text">Dynamically Allocated Hard Disk</p></div></p>
<p>Under the settings of your Virtual Box, you can see an option Shared folder, now it is time to select a folder which can be shared between your Guest OS and Primary OS. Now let&#8217;s just get an error, click on the start button on your Virtual Box.</p>
<p><div id="attachment_13419" style="width: 405px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Raw-mode-is-unavailable-courtesy-of-Hyper-V.png"><img decoding="async" aria-describedby="caption-attachment-13419" class="size-full wp-image-13419" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Raw-mode-is-unavailable-courtesy-of-Hyper-V.png" alt="Raw-mode is unavailable courtesy of Hyper-V" width="395" height="430" srcset="/wp-content/uploads/2018/11/Raw-mode-is-unavailable-courtesy-of-Hyper-V.png 395w, /wp-content/uploads/2018/11/Raw-mode-is-unavailable-courtesy-of-Hyper-V-276x300.png 276w" sizes="(max-width: 395px) 100vw, 395px" /></a><p id="caption-attachment-13419" class="wp-caption-text">Raw-mode is unavailable courtesy of Hyper-V</p></div></p>
<p>I see that you are getting an error as &#8220;raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)&#8221;, but the fix to this error is very easy. First, let&#8217;s try to understand why it is showing this error, I had installed <a href="https://sibeeshpassion.com/category/docker/">Docker</a> in my machine, as you know that to work with Docker, we need to enable Hyper-V, so I had enabled the same. Now I need to choose between Docker and Virtual Box,  a tough choice. Sorry, Docker, I need to go with Virtual Box now, but I will be back to you soon.</p>
<p>Go to your control panel and turn off Hypervision and Hyper-V from your windows.</p>
<p><div id="attachment_13420" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Disable-Hyper-V.png"><img decoding="async" aria-describedby="caption-attachment-13420" class="size-full wp-image-13420" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Disable-Hyper-V.png" alt="Disable Hyper-V" width="650" height="525" srcset="/wp-content/uploads/2018/11/Disable-Hyper-V.png 650w, /wp-content/uploads/2018/11/Disable-Hyper-V-300x242.png 300w, /wp-content/uploads/2018/11/Disable-Hyper-V-400x323.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13420" class="wp-caption-text">Disable Hyper-V</p></div></p>
<p><div id="attachment_13421" style="width: 661px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Disable-Windows-Hypervision.png"><img decoding="async" aria-describedby="caption-attachment-13421" class="size-full wp-image-13421" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Disable-Windows-Hypervision.png" alt="Disable Windows Hypervision" width="651" height="356" srcset="/wp-content/uploads/2018/11/Disable-Windows-Hypervision.png 651w, /wp-content/uploads/2018/11/Disable-Windows-Hypervision-300x164.png 300w, /wp-content/uploads/2018/11/Disable-Windows-Hypervision-400x219.png 400w" sizes="(max-width: 651px) 100vw, 651px" /></a><p id="caption-attachment-13421" class="wp-caption-text">Disable Windows Hypervision</p></div></p>
<h3>Install Ubuntu in the Virtual Box</h3>
<p>Now let&#8217;s just click on Start, you will be asked to select the base iso image of your Linux Distribution. I am going to select the Ubuntu iso file which I have downloaded already. If you have chosen the 32-bit operating system and then if you try to use the 64 bit Ubuntu in it, you will get an error as &#8220;this kernel requires an x86-64 CPU but only detected an i686 CPU&#8221;, so just make sure that you are using the correct one.</p>
<p><div id="attachment_13422" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Linux-Welcome-Message.png"><img decoding="async" aria-describedby="caption-attachment-13422" class="size-full wp-image-13422" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Linux-Welcome-Message.png" alt="Linux Welcome Message" width="650" height="578" srcset="/wp-content/uploads/2018/11/Linux-Welcome-Message.png 650w, /wp-content/uploads/2018/11/Linux-Welcome-Message-300x267.png 300w, /wp-content/uploads/2018/11/Linux-Welcome-Message-400x356.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13422" class="wp-caption-text">Linux Welcome Message</p></div></p>
<p>You have an option to try out the Ubuntu with the iso file you have used before you install it. That is really wonderful, just go around and play with it before you make your decision. The Keyboard and Mouse will be auto-captured.</p>
<h3>Installing Virtual Extension Pack</h3>
<p>To support the USB 2.0 and 3.0 versions you need to install the Virtual Extension Pack, I installed the 5.2.22 Oracle VM VirtualBox Extension Pack, and you can download it from the Virtual Box download page. Once you download the file, you can directly go ahead and install it, the same will be added to your Virtual Box extensions.</p>
<p><div id="attachment_13423" style="width: 810px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Virtual-Extension-Pack.png"><img decoding="async" aria-describedby="caption-attachment-13423" class="size-full wp-image-13423" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Virtual-Extension-Pack.png" alt="Virtual Extension Pack" width="800" height="542" srcset="/wp-content/uploads/2018/11/Virtual-Extension-Pack.png 800w, /wp-content/uploads/2018/11/Virtual-Extension-Pack-300x203.png 300w, /wp-content/uploads/2018/11/Virtual-Extension-Pack-768x520.png 768w, /wp-content/uploads/2018/11/Virtual-Extension-Pack-320x218.png 320w, /wp-content/uploads/2018/11/Virtual-Extension-Pack-620x420.png 620w, /wp-content/uploads/2018/11/Virtual-Extension-Pack-400x271.png 400w" sizes="(max-width: 800px) 100vw, 800px" /></a><p id="caption-attachment-13423" class="wp-caption-text">Virtual Extension Pack</p></div></p>
<p>You can also go to the File -&gt; Preference -&gt; Extension menu to do the same.</p>
<p><div id="attachment_13424" style="width: 837px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/VirtualBox-Preferences-Extension.png"><img decoding="async" aria-describedby="caption-attachment-13424" class="size-full wp-image-13424" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/VirtualBox-Preferences-Extension.png" alt="VirtualBox Preferences Extension" width="827" height="604" srcset="/wp-content/uploads/2018/11/VirtualBox-Preferences-Extension.png 827w, /wp-content/uploads/2018/11/VirtualBox-Preferences-Extension-300x219.png 300w, /wp-content/uploads/2018/11/VirtualBox-Preferences-Extension-768x561.png 768w, /wp-content/uploads/2018/11/VirtualBox-Preferences-Extension-400x292.png 400w, /wp-content/uploads/2018/11/VirtualBox-Preferences-Extension-822x600.png 822w" sizes="(max-width: 827px) 100vw, 827px" /></a><p id="caption-attachment-13424" class="wp-caption-text">VirtualBox Preferences Extension</p></div></p>
<h3>Adding SD Card to USB Device Filters</h3>
<p>Now it is time to add our SD card to the device filters in our Virtual Box, please go to Settings &#8211; &gt; USB -&gt; Click on the Add SD card Attached option.</p>
<p><div id="attachment_13425" style="width: 557px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Add-the-SD-Card-Attached.png"><img decoding="async" aria-describedby="caption-attachment-13425" class="size-full wp-image-13425" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Add-the-SD-Card-Attached.png" alt="Add the SD Card Attached" width="547" height="327" srcset="/wp-content/uploads/2018/11/Add-the-SD-Card-Attached.png 547w, /wp-content/uploads/2018/11/Add-the-SD-Card-Attached-300x179.png 300w, /wp-content/uploads/2018/11/Add-the-SD-Card-Attached-400x239.png 400w" sizes="(max-width: 547px) 100vw, 547px" /></a><p id="caption-attachment-13425" class="wp-caption-text">Add the SD Card Attached</p></div></p>
<p>Now you will be able to your SD card in the Filters.</p>
<p><div id="attachment_13426" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/SD-Card-in-Device-Filters.png"><img decoding="async" aria-describedby="caption-attachment-13426" class="size-full wp-image-13426" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/SD-Card-in-Device-Filters.png" alt="SD Card in Device Filters" width="650" height="499" srcset="/wp-content/uploads/2018/11/SD-Card-in-Device-Filters.png 650w, /wp-content/uploads/2018/11/SD-Card-in-Device-Filters-300x230.png 300w, /wp-content/uploads/2018/11/SD-Card-in-Device-Filters-400x307.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13426" class="wp-caption-text">SD Card in Device Filters</p></div></p>
<h3>Go to your Ubuntu and See the Raspbian Files</h3>
<p>Once you have added your SD card, you should restart your Ubuntu, and login back. Once you are done, you can go to Files and see new options as mentioned in the preceding image.</p>
<p><div id="attachment_13427" style="width: 635px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Raspbian-OS-Files-in-Virtual-Box.png"><img decoding="async" aria-describedby="caption-attachment-13427" class="size-full wp-image-13427" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Raspbian-OS-Files-in-Virtual-Box.png" alt="Raspbian OS Files in Virtual Box" width="625" height="434" srcset="/wp-content/uploads/2018/11/Raspbian-OS-Files-in-Virtual-Box.png 625w, /wp-content/uploads/2018/11/Raspbian-OS-Files-in-Virtual-Box-300x208.png 300w, /wp-content/uploads/2018/11/Raspbian-OS-Files-in-Virtual-Box-160x110.png 160w, /wp-content/uploads/2018/11/Raspbian-OS-Files-in-Virtual-Box-400x278.png 400w" sizes="(max-width: 625px) 100vw, 625px" /></a><p id="caption-attachment-13427" class="wp-caption-text">Raspbian OS Files in Virtual Box</p></div></p>
<h2>Conclusion</h2>
<p>In this article, we have learned how to access your Raspbian files in your windows 10 machine. I really enjoyed playing with the Virtual Box, and now it is time to play with my new Guest OS. Wow, I have two OS in my two hands now. In the next article, we will try to install the Raspbian OS from our Guest OS to our SD card and then add my custom application to it. The basic idea is to do the SD card provisioning with Raspbian OS, which is a very large topic. You can expect a few more articles in this series.</p>
<h2><span id="your-turn-what-do-you-think">Your turn. What do you think?</span></h2>
<p>Thanks a lot for reading. Did I miss anything that you may think which is needed in this article? Could you find this post as useful? Kindly do not forget to share me your feedback. What are you waiting for? create your model and train.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/accessing-raspbian-os-files-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Raspberry PI SD Card Provisioning with Windows 10 IoT Core &#8211; Create FFU Image and Flash</title>
		<link>https://www.sibeeshpassion.com/raspberry-pi-sd-card-provisioning-with-windows-10-iot-core-create-ffu-image-and-flash/</link>
					<comments>https://www.sibeeshpassion.com/raspberry-pi-sd-card-provisioning-with-windows-10-iot-core-create-ffu-image-and-flash/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Thu, 22 Nov 2018 08:41:04 +0000</pubDate>
				<category><![CDATA[IoT]]></category>
		<category><![CDATA[Raspberry PI]]></category>
		<category><![CDATA[diskpart]]></category>
		<category><![CDATA[DISM]]></category>
		<category><![CDATA[IoT Core]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[Raspberry PI SD Card Provisioning]]></category>
		<category><![CDATA[Windows 10 IoT Core]]></category>
		<category><![CDATA[Windows IoT core by DISM]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=13388</guid>

					<description><![CDATA[[toc] Introduction In my previous article, we have seen how to Set Up Your Raspberry PI with Microsoft Windows 10 IoT Core. Yes, we were successful in flashing the Microsoft Windows 10 IoT Core OS to our Raspberry PI, but let&#8217;s try something very handy this time. The main topic we are going to discuss here in this article is SD Card Provisioning. I understand that you have one Raspberry PI with a working OS in it, whether it is a Microsoft IoT  OS or Raspbian. And you might also have an application which runs in your Raspberry Pi. That&#8217;s good. But [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[toc]</p>
<h2>Introduction</h2>
<p>In my previous article, we have seen how to <a href="https://sibeeshpassion.com/setting-up-your-raspberry-pi-with-microsoft-windows-10-iot-core/">Set Up Your Raspberry PI with Microsoft Windows 10 IoT Core</a>. Yes, we were successful in flashing the Microsoft Windows 10 IoT Core OS to our <a href="https://sibeeshpassion.com/category/raspberry-pi/">Raspberry PI</a>, but let&#8217;s try something very handy this time. The main topic we are going to discuss here in this article is <em>SD Card Provisioning.</em> I understand that you have one Raspberry PI with a working OS in it, whether it is a Microsoft IoT  OS or Raspbian. And you might also have an application which runs in your Raspberry Pi. That&#8217;s good. But what if you have 100 Raspberry PI and you need to set up your Raspberry PIs for a production environment? Did you get the difficulties in your mind? In this article, we are going to start a series of articles on SD Card Provisioning. For now, let&#8217;s just start doing some amazing things. Let&#8217;s just start then.</p>
<h2>Background</h2>
<p>Yeah, I am glad that you have a Raspberry PI with Windows 10 IoT core OS. While setting up your OS, you might have downloaded the IoT Dashboard and flashed the IoT OS to your SD card manually. As I mentioned in the Introduction, this is not a normal scenario when you want to connect multiple (let&#8217;s say 100) Raspberry PIs. Flashing the OS by using the Dashboard application might not be a good idea in this case. What should we do then? That&#8217;s where PowerShell come into the play. Yes, we are going to try out some PowerShell commands to do all those mentioned jobs for us.</p>
<h2>Prerequisites</h2>
<p>To do the wonderful things, we always need some prerequisites.  You can always see all the prerequisites from <a href="https://docs.microsoft.com/en-us/windows-hardware/manufacture/iot/set-up-your-pc-to-customize-iot-core">here</a>. But, in this part, we are going to be needed only the preceding tools.</p>
<ol>
<li>Windows Assessment and Deployment Kit (Windows ADK)</li>
<li>Windows Driver Kit (WDK) 10</li>
<li>IoT Core ADK Add-Ons</li>
<li>Windows 10 IoT Core Packages</li>
<li>The Raspberry Pi BSP</li>
</ol>
<h2>Creating the Base Windows IoT FFU Image</h2>
<p>I assume that you had already gone through the Prerequisites and followed the instructions. If not, please check again.</p>
<h3>Create a Workspace</h3>
<p>To get started here, please go to the cloned location of the repository iot-adk-addonkit, where you will find a Windows Command Script IoTCorePShell.cmd. Double click on the same file will open a PowerShell with administrative privilege. Now, this is where the game starts. Once it opens it will do some initial process for us.</p>
<p><div id="attachment_13389" style="width: 661px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Running-IoTCorePShell.cmd_.png"><img decoding="async" aria-describedby="caption-attachment-13389" class="size-full wp-image-13389" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Running-IoTCorePShell.cmd_.png" alt="Running IoTCorePShell.cmd" width="651" height="230" srcset="/wp-content/uploads/2018/11/Running-IoTCorePShell.cmd_.png 651w, /wp-content/uploads/2018/11/Running-IoTCorePShell.cmd_-300x106.png 300w, /wp-content/uploads/2018/11/Running-IoTCorePShell.cmd_-400x141.png 400w" sizes="(max-width: 651px) 100vw, 651px" /></a><p id="caption-attachment-13389" class="wp-caption-text">Running IoTCorePShell.cmd</p></div></p>
<p>Now let&#8217;s create a workspace now.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">New-IoTWorkspace C:\Workspacefolder oemname arm
(or) new-ws C:\workspacefolder oemname arm</pre>
<p><div id="attachment_13390" style="width: 661px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/new-ws-command.png"><img decoding="async" aria-describedby="caption-attachment-13390" class="size-full wp-image-13390" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/new-ws-command.png" alt="new-ws command" width="651" height="340" srcset="/wp-content/uploads/2018/11/new-ws-command.png 651w, /wp-content/uploads/2018/11/new-ws-command-300x157.png 300w, /wp-content/uploads/2018/11/new-ws-command-400x209.png 400w" sizes="(max-width: 651px) 100vw, 651px" /></a><p id="caption-attachment-13390" class="wp-caption-text">new-ws command</p></div></p>
<p>Now we have created a workspace successfully. Please be noted that the BSPPKG_DIR is &#8220;C:\Program Files (x86)\Windows Kits\10\MSPackages\retail\arm\fre&#8221;. I strongly recommend you to check that folder whether you have contents in it or not if there is no content you might haven&#8217;t installed the packages mentioned in the prerequisites.</p>
<h3>Build BSP</h3>
<p>Now it is time to think about the BSP aka Board Support Package. As we already know that we are using Raspberry PI, we can directly download the RPi_BSP.zip file from the <a href="https://github.com/ms-iot/iot-adk-addonkit/releases">GitHub release page</a>. Then you can perform the below commands.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">Import-IoTBSP RPi2 C:\Downloads\RPi_BSP.zip
(or) importbsp RPi2 C:\Downloads\RPi_BSP.zip
buildpkg RPi2</pre>
<p>If everything is right, you should see an output as below.</p>
<p><div id="attachment_13391" style="width: 663px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Import-Raspberry-BSP.png"><img decoding="async" aria-describedby="caption-attachment-13391" class="size-full wp-image-13391" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Import-Raspberry-BSP.png" alt="Import Raspberry BSP" width="653" height="92" srcset="/wp-content/uploads/2018/11/Import-Raspberry-BSP.png 653w, /wp-content/uploads/2018/11/Import-Raspberry-BSP-300x42.png 300w, /wp-content/uploads/2018/11/Import-Raspberry-BSP-400x56.png 400w" sizes="(max-width: 653px) 100vw, 653px" /></a><p id="caption-attachment-13391" class="wp-caption-text">Import Raspberry BSP</p></div></p>
<h3>Build Packages</h3>
<p>Once you have created the workspace and extracted the BSP, it is time to build all of our packages.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">New-IoTCabPackage All
(or) buildpkg all</pre>
<p>If you miss this step before you go to the next step, you will get an error as follows when you build your image.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">info: Trying to load file 'C:\OEEWorkspace\Build\arm\InputFMs\OEMFMFileList.xml' as a FM file list ... fatal error : Error: Missing package: C:\OEEWorkspace\Build\arm\pkgs\test.OEM.Sample.cab
info: Trying to load file 'C:\OEEWorkspace\Build\arm\InputFMs\RPi2FMFileList.xml' as a FM file list ... fatal error : Error: Missing package: 
</pre>
<p>You will also end up in the similar <a href="https://github.com/ms-iot/iot-adk-addonkit/issues/139">GitHub issue</a>. Trust me, finding the root cause of this issue took me some hours and at the end, I answered my findings here in <a href="https://stackoverflow.com/questions/53414482/info-trying-to-load-file-oemfmfilelist-xml-as-a-fm-file-list-fatal-error/53414483#53414483">StackOverflow</a>.</p>
<p><div id="attachment_13392" style="width: 436px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Building-all-the-packages.png"><img decoding="async" aria-describedby="caption-attachment-13392" class="size-full wp-image-13392" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Building-all-the-packages.png" alt="Building all the packages" width="426" height="385" srcset="/wp-content/uploads/2018/11/Building-all-the-packages.png 426w, /wp-content/uploads/2018/11/Building-all-the-packages-300x271.png 300w, /wp-content/uploads/2018/11/Building-all-the-packages-400x362.png 400w" sizes="(max-width: 426px) 100vw, 426px" /></a><p id="caption-attachment-13392" class="wp-caption-text">Building all the packages</p></div></p>
<p>Once the build is successful, you should be able to see the cab files in your workspace location, in my case, it is C:\OEE\Build\arm\pkgs.</p>
<h3>Create a Product</h3>
<p>Now let&#8217;s create a new Product, consider this as the device for which we are building an image for. We will be using the BSP we have extracted for this step.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">Add-IoTProduct ProductA RPi2
(or) newproduct MyProductA RPi2</pre>
<p>You will be asked the Manufacturer Name (OEM Name), Family, SKU, BaseboardManufacturer, and BaseboardProduct. You can get the BaseProductName from your Workspace location, in my case C:\OEE\Source-arm\BSP. You can see the sample command here in the preceding image.</p>
<p><div id="attachment_13393" style="width: 659px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Creating-a-new-Product.png"><img decoding="async" aria-describedby="caption-attachment-13393" class="size-full wp-image-13393" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Creating-a-new-Product.png" alt="Creating a new Product" width="649" height="210" srcset="/wp-content/uploads/2018/11/Creating-a-new-Product.png 649w, /wp-content/uploads/2018/11/Creating-a-new-Product-300x97.png 300w, /wp-content/uploads/2018/11/Creating-a-new-Product-400x129.png 400w" sizes="(max-width: 649px) 100vw, 649px" /></a><p id="caption-attachment-13393" class="wp-caption-text">Creating a new Product</p></div></p>
<p>The command shown in the image will generate a new Product in the Workspace location C:\OEE\Source-arm\Products\OEEIoTCore.</p>
<p><div id="attachment_13394" style="width: 564px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Add-IoTProduct-Output.png"><img decoding="async" aria-describedby="caption-attachment-13394" class="size-full wp-image-13394" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Add-IoTProduct-Output.png" alt="" width="554" height="412" srcset="/wp-content/uploads/2018/11/Add-IoTProduct-Output.png 554w, /wp-content/uploads/2018/11/Add-IoTProduct-Output-300x223.png 300w, /wp-content/uploads/2018/11/Add-IoTProduct-Output-400x297.png 400w" sizes="(max-width: 554px) 100vw, 554px" /></a><p id="caption-attachment-13394" class="wp-caption-text">Add-IoTProduct Output</p></div></p>
<h3>Build the Image</h3>
<p>We are almost done, let&#8217;s eject all the removable devices from the system and then run the below command.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">New-IoTFFUImage &lt;product name&gt; Test
(or)buildimage &lt;product name&gt; Test</pre>
<p>This command will give you the FFU image with your base image.</p>
<p><div id="attachment_13396" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Building-Image-and-Generate-FFU-File.png"><img decoding="async" aria-describedby="caption-attachment-13396" class="size-full wp-image-13396" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Building-Image-and-Generate-FFU-File.png" alt="Building Image and Generate FFU File" width="650" height="432" srcset="/wp-content/uploads/2018/11/Building-Image-and-Generate-FFU-File.png 650w, /wp-content/uploads/2018/11/Building-Image-and-Generate-FFU-File-300x199.png 300w, /wp-content/uploads/2018/11/Building-Image-and-Generate-FFU-File-400x266.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13396" class="wp-caption-text">Building Image and Generate FFU File</p></div></p>
<p>You can also see the logs in your workspace location in the build folder. The generated FFU image(Flash.ffu) will be available at C:\OEE\Build\arm\OEEIoTCore\Test folder.</p>
<h2>Writing/Flashing the FFU Image to SD Card</h2>
<p>Wow!, now we have a fully functional FFU image and the only thing pending is to write some bat commands to flash it to SD card, you can use the <a href="https://docs.microsoft.com/en-us/windows/iot-core/connect-your-device/dism">DISM</a>. Let&#8217;s create a text file called format.txt and write some commands as preceding.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">select disk 1
clean
create partition primary
select partition 1
active
format fs=fat32 quick
assign
exit
</pre>
<p>As you can see that we are selecting the disk 1, considering the fact that only one removable disk is been connected to your machine.  Then we format the disk. This format.txt file will be used in our bat file write.bat.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">echo off
REM Start formatting
diskpart /s format.txt &gt;log.txt

REM Start flashing
dism.exe /Apply-Image /ImageFile:Flash.ffu /ApplyDrive:\\.\PhysicalDrive1 /SkipPlatformCheck /Quiet

ECHO Finish
</pre>
<p>The logs will be added to the file called log.txt. The command ImageFile:Flash.ffu is the place where we assign our FFU image. Now let&#8217;s just go to the folder where these three files are been placed and open a command prompt in administrative power.</p>
<ul>
<li>write.bat</li>
<li>format.txt</li>
<li>flash.ffu</li>
</ul>
<p><div id="attachment_13399" style="width: 659px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Flash-IoT-Core-by-Commands.png"><img decoding="async" aria-describedby="caption-attachment-13399" class="size-full wp-image-13399" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Flash-IoT-Core-by-Commands.png" alt="Flash IoT Core by Commands" width="649" height="250" srcset="/wp-content/uploads/2018/11/Flash-IoT-Core-by-Commands.png 649w, /wp-content/uploads/2018/11/Flash-IoT-Core-by-Commands-300x116.png 300w, /wp-content/uploads/2018/11/Flash-IoT-Core-by-Commands-400x154.png 400w" sizes="(max-width: 649px) 100vw, 649px" /></a><p id="caption-attachment-13399" class="wp-caption-text">Flash IoT Core by Commands</p></div></p>
<h2>Connect SD Card to Raspberry PI and then Raspberry PI to the Network</h2>
<p>Now that our OS is flashed and it is time to connect the SD card to the Raspberry PI and connect a monitor, mouse, keyboard, ethernet to the Raspberry PI. You will see the default IoT core application running. You can also check in the device portal using the IoT Dashboard application, if you are not sure how, please read my previous post.</p>
<h2>Conclusion</h2>
<p>Wow!. Now we have learned,</p>
<ul>
<li>how we can generate the IoT core FFU image using PowerShell</li>
<li>how to write the same to an SD card.</li>
</ul>
<p>Is that all? No, in the next article we will learn</p>
<ul>
<li>how we can add our app package to this FFU image which can be used in many Raspberry PI</li>
<li>how to generate the FFU image on demand with some chained PowerShell commands.</li>
<li>how to use other mechanisms to write the FFU image to the disk</li>
</ul>
<h2><span id="your-turn-what-do-you-think">Your turn. What do you think?</span></h2>
<p>Thanks a lot for reading. Did I miss anything that you may think which is needed in this article? Could you find this post as useful? Kindly do not forget to share me your feedback.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/raspberry-pi-sd-card-provisioning-with-windows-10-iot-core-create-ffu-image-and-flash/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Setting Up Your Raspberry PI with Microsoft Windows 10 IoT Core</title>
		<link>https://www.sibeeshpassion.com/setting-up-your-raspberry-pi-with-microsoft-windows-10-iot-core/</link>
					<comments>https://www.sibeeshpassion.com/setting-up-your-raspberry-pi-with-microsoft-windows-10-iot-core/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Mon, 19 Nov 2018 20:06:44 +0000</pubDate>
				<category><![CDATA[IoT]]></category>
		<category><![CDATA[Raspberry PI]]></category>
		<category><![CDATA[Operating System for Raspberry]]></category>
		<category><![CDATA[Windows 10 IoT Core]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=13374</guid>

					<description><![CDATA[[toc] Introduction In my previous article, we have seen how to set up your Raspberry PI with the Raspbian operating system. Let&#8217;s try something different this time, here in this article you will learn how you can set up your Raspberry PI with the Microsoft Windows 10 IoT core. Both Windows 10 IoT core and Raspbian OS has its own advantages and disadvantages and that is a different topic, here we are not going to discuss it. For now, let&#8217;s just start working with the Windows 10 IoT core. Let&#8217;s just start then. Background I wanted to connect a Bluetooth iBeacon [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[toc]</p>
<h2>Introduction</h2>
<p>In my previous article, we have seen how to <a href="https://sibeeshpassion.com/setting-up-your-first-raspberry-pi/">set up your Raspberry PI with the Raspbian operating system</a>. Let&#8217;s try something different this time, here in this article you will learn how you can set up your <a href="https://sibeeshpassion.com/category/raspberry-pi/">Raspberry PI</a> with the Microsoft Windows 10 IoT core. Both Windows 10 IoT core and Raspbian OS has its own advantages and disadvantages and that is a different topic, here we are not going to discuss it. For now, let&#8217;s just start working with the Windows 10 IoT core. Let&#8217;s just start then.</p>
<h2>Background</h2>
<p>I wanted to connect a Bluetooth iBeacon to a Raspberry PI and as an initial step, I had to configure the Raspberry PI. So I just thought to write this article while I am doing the configuration. Here we will install the IoT core OS in the Raspberry PI and connect a monitor, keyboard, and mouse to our mini computer. I hope you will find it useful.</p>
<h2>Prerequisites</h2>
<ol>
<li>Raspberry PI</li>
<li>SD card</li>
<li>Internet connection</li>
<li>Ethernet, if your Raspberry PI supports wifi, you can skip this.</li>
<li>Monitor and HDMI cable</li>
<li>Keyboard</li>
<li>Mouse</li>
</ol>
<h2>Setting up the Raspberry PI</h2>
<p>Before you continue this step, please make sure that you have all the mentioned prerequisites.</p>
<h3>Formatting an SD card</h3>
<p>I am a person who likes to start everything from scratch, so as a first step, we are going to format our SD card. You can either use the normal Format option your Operating System offers. I always use the tool called <em>SD Card Formatter</em>. You can easily download the tool from the Internet. Once you have it installed, open the tool, and select the SD card to be formatted and then click on Format.</p>
<h3>Installing Windows 10 IoT Core Operating System</h3>
<p>According to <a href="https://docs.microsoft.com/en-gb/windows/iot-core/windows-iot">Microsoft</a>, Windows 10 IoT is a member of the Windows 10 family that brings enterprise-class power, security, and manageability to the Internet of Things. It leverages Windows&#8217; embedded experience, ecosystem, and cloud connectivity, allowing organizations to create their Internet of Things with secure devices that can be quickly provisioned, easily managed, and seamlessly connected to an overall cloud strategy.</p>
<p>As a first step, we will be downloading a tool called Windows 10 IoT core dashboard, which will help us to format, write the IoT core OS to our SD card, connect to our Raspberry PI. Once you have downloaded the dashboard, open the tool and select the image you want to flash as preceding.</p>
<p><div id="attachment_13376" style="width: 659px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Set-up-a-new-device.png"><img decoding="async" aria-describedby="caption-attachment-13376" class="size-full wp-image-13376" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Set-up-a-new-device.png" alt="Set up a new device" width="649" height="438" srcset="/wp-content/uploads/2018/11/Set-up-a-new-device.png 649w, /wp-content/uploads/2018/11/Set-up-a-new-device-300x202.png 300w, /wp-content/uploads/2018/11/Set-up-a-new-device-400x270.png 400w" sizes="(max-width: 649px) 100vw, 649px" /></a><p id="caption-attachment-13376" class="wp-caption-text">Set up a new device</p></div></p>
<p>Once the flashing is done, it will start deploying your image. Please make a note of the password you had given as it is needed in future to log in to the device portal. You can also change the device name as you wish.</p>
<p><div id="attachment_13377" style="width: 664px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Deploy-image.png"><img decoding="async" aria-describedby="caption-attachment-13377" class="wp-image-13377" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Deploy-image.png" alt="Deploy image" width="654" height="363" srcset="/wp-content/uploads/2018/11/Deploy-image.png 651w, /wp-content/uploads/2018/11/Deploy-image-300x166.png 300w, /wp-content/uploads/2018/11/Deploy-image-400x222.png 400w" sizes="(max-width: 654px) 100vw, 654px" /></a><p id="caption-attachment-13377" class="wp-caption-text">Deploy image</p></div></p>
<p>It may take a few minutes to complete the entire process, but it really worth waiting. Once the image flashing is done, you will get a screen as preceding.</p>
<p><div id="attachment_13378" style="width: 659px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/SD-Card-is-Ready.png"><img decoding="async" aria-describedby="caption-attachment-13378" class="size-full wp-image-13378" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/SD-Card-is-Ready.png" alt="SD Card is Ready" width="649" height="438" srcset="/wp-content/uploads/2018/11/SD-Card-is-Ready.png 649w, /wp-content/uploads/2018/11/SD-Card-is-Ready-300x202.png 300w, /wp-content/uploads/2018/11/SD-Card-is-Ready-400x270.png 400w" sizes="(max-width: 649px) 100vw, 649px" /></a><p id="caption-attachment-13378" class="wp-caption-text">SD Card is Ready</p></div></p>
<h3>Set up the device with Monitor, mouse, and keyboard</h3>
<p>Now let us just insert the SD card in the Raspberry PI and connect the monitor, keyboard, mouse, and ethernet. Once you have done this, your Raspberry PI may look like below.</p>
<p><div id="attachment_13380" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Raspberry-Configuration.jpg"><img decoding="async" aria-describedby="caption-attachment-13380" class="size-full wp-image-13380" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Raspberry-Configuration.jpg" alt="Raspberry Configuration" width="650" height="414" srcset="/wp-content/uploads/2018/11/Raspberry-Configuration.jpg 650w, /wp-content/uploads/2018/11/Raspberry-Configuration-300x191.jpg 300w, /wp-content/uploads/2018/11/Raspberry-Configuration-400x255.jpg 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13380" class="wp-caption-text">Raspberry Configuration</p></div></p>
<p>Once you are connected to the monitor, you can see that the OS is getting ready for doing amazing things. This may take a few minutes, and you should select your preferred language in the process. Once everything is done you should be able to see the device information on the screen as preceding.</p>
<p><div id="attachment_13382" style="width: 659px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Raspberry-PI-Information.jpg"><img decoding="async" aria-describedby="caption-attachment-13382" class="wp-image-13382 size-full" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Raspberry-PI-Information.jpg" alt="Raspberry PI Information" width="649" height="418" srcset="/wp-content/uploads/2018/11/Raspberry-PI-Information.jpg 649w, /wp-content/uploads/2018/11/Raspberry-PI-Information-300x193.jpg 300w, /wp-content/uploads/2018/11/Raspberry-PI-Information-400x258.jpg 400w" sizes="(max-width: 649px) 100vw, 649px" /></a><p id="caption-attachment-13382" class="wp-caption-text">Raspberry PI Information</p></div></p>
<p>Please be noted that you can even update your OS if you wish by navigating to the App settings -&gt; App updates.</p>
<p><div id="attachment_13383" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Update-Windows-10-IoT-Core.jpg"><img decoding="async" aria-describedby="caption-attachment-13383" class="size-full wp-image-13383" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Update-Windows-10-IoT-Core.jpg" alt="Update Windows 10 IoT Core" width="650" height="333" srcset="/wp-content/uploads/2018/11/Update-Windows-10-IoT-Core.jpg 650w, /wp-content/uploads/2018/11/Update-Windows-10-IoT-Core-300x154.jpg 300w, /wp-content/uploads/2018/11/Update-Windows-10-IoT-Core-400x205.jpg 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13383" class="wp-caption-text">Update Windows 10 IoT Core</p></div></p>
<h3>Login to Device portal</h3>
<p>As we have connected and configured our WIndows IoT Core Operating System on our Raspberry PI, we can connect to the device portal now. Please open the IoT Core Dashboard application again and click on my devices and then right click on your device. You should see an option as &#8221; Open in device portal&#8221;.</p>
<p><div id="attachment_13385" style="width: 659px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Connecting-to-the-Raspberry-Device.png"><img decoding="async" aria-describedby="caption-attachment-13385" class="size-full wp-image-13385" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Connecting-to-the-Raspberry-Device.png" alt="Connecting to the Raspberry Device" width="649" height="438" srcset="/wp-content/uploads/2018/11/Connecting-to-the-Raspberry-Device.png 649w, /wp-content/uploads/2018/11/Connecting-to-the-Raspberry-Device-300x202.png 300w, /wp-content/uploads/2018/11/Connecting-to-the-Raspberry-Device-400x270.png 400w" sizes="(max-width: 649px) 100vw, 649px" /></a><p id="caption-attachment-13385" class="wp-caption-text">Connecting to the Raspberry Device</p></div></p>
<p>The device will open in the browser, you would have to enter the username as &#8220;administrator&#8221; and the password you had given while configuring the device. I used the password as &#8220;raspberry&#8221;. Once you are logged in you can see the App manager where you have the provision to set your start app applications and many more settings.</p>
<p><div id="attachment_13384" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/IoT-Core-Device-Portal.png"><img decoding="async" aria-describedby="caption-attachment-13384" class="size-full wp-image-13384" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/IoT-Core-Device-Portal.png" alt="" width="650" height="369" srcset="/wp-content/uploads/2018/11/IoT-Core-Device-Portal.png 650w, /wp-content/uploads/2018/11/IoT-Core-Device-Portal-300x170.png 300w, /wp-content/uploads/2018/11/IoT-Core-Device-Portal-400x227.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13384" class="wp-caption-text">IoT Core Device Portal</p></div></p>
<h2>Conclusion</h2>
<p>Wow!. Congratulations. Now you have a small, lightweight, functioning windows 10 IoT core Raspberry PI in your hand, just go ahead and start playing with the same. To summarize the things we have done in this article.</p>
<ol>
<li>Format the SD card</li>
<li>Flashed the Windows 10 IoT core OS in the SD card</li>
<li>Updated windows 10 IoT core on Raspberry PI</li>
<li>Open the device portal</li>
</ol>
<h2><span id="your-turn-what-do-you-think">Your turn. What do you think?</span></h2>
<p>Thanks a lot for reading. In the next article, we will create an application and make it running inside the Raspberry PI. Did I miss anything that you may think which is needed in this article? Could you find this post as useful? Kindly do not forget to share me your feedback.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/setting-up-your-raspberry-pi-with-microsoft-windows-10-iot-core/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Setting Up Your First Raspberry PI</title>
		<link>https://www.sibeeshpassion.com/setting-up-your-first-raspberry-pi/</link>
					<comments>https://www.sibeeshpassion.com/setting-up-your-first-raspberry-pi/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Thu, 15 Nov 2018 20:01:42 +0000</pubDate>
				<category><![CDATA[IoT]]></category>
		<category><![CDATA[Raspberry PI]]></category>
		<category><![CDATA[Connect to Raspberry PI]]></category>
		<category><![CDATA[Find Raspberry PI IP]]></category>
		<category><![CDATA[Raspberry PI and iBeacon]]></category>
		<category><![CDATA[Raspbian]]></category>
		<category><![CDATA[SSH]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=13364</guid>

					<description><![CDATA[[toc] Introduction Wow!. You have a Raspberry PI in your hand. You can consider this as a small computer. When you have something which computes things, you can call it a computer right? Have you ever imagined a computer without maths? A Raspberry PI can do many things in real life, the performance will be less when you are comparing your super laptop/computer with a Raspberry PI, but is not meant be compared with that. There are many cases, where a Raspberry PI can do the things you want perfectly, in this post we are not going to cover those, instead, we [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[toc]</p>
<h2>Introduction</h2>
<p>Wow!. You have a Raspberry PI in your hand. You can consider this as a small computer. When you have something which computes things, you can call it a computer right? Have you ever imagined a computer without maths? A Raspberry PI can do many things in real life, the performance will be less when you are comparing your super laptop/computer with a Raspberry PI, but is not meant be compared with that. There are many cases, where a Raspberry PI can do the things you want perfectly, in this post we are not going to cover those, instead, we will be going through how we can set up your Raspberry PI. Let&#8217;s just start then.</p>
<h2>Background</h2>
<p>I wanted to connect a Bluetooth iBeacon to a Raspberry PI and as an initial step, I had to configure the Raspberry PI. So I just thought to write this article while I am doing the configuration. I hope you will find it useful.</p>
<h2>Prerequisites</h2>
<ol>
<li>Raspberry PI</li>
<li>SD card</li>
<li>Internet connection</li>
<li>Ethernet, if your Raspberry PI supports wifi, you can skip this.</li>
</ol>
<h2>Setting up the Raspberry PI</h2>
<p>Before you continue this step, please make sure that you have all the mentioned prerequisites.</p>
<h3>Formatting an SD card</h3>
<p>I am a person who likes to start everything from scratch, so as a first step, we are going to format our SD card. You can either use the normal Format option your Operating System offers. I always use the tool called <em>SD Card Formatter</em>. You can easily download the tool from the Internet. Once you have it installed, open the tool, and select the SD card to be formatted.</p>
<p><div id="attachment_13366" style="width: 610px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/SD-Card-Formatter.png"><img decoding="async" aria-describedby="caption-attachment-13366" class="size-full wp-image-13366" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/SD-Card-Formatter.png" alt="SD Card Formatter" width="600" height="621" srcset="/wp-content/uploads/2018/11/SD-Card-Formatter.png 600w, /wp-content/uploads/2018/11/SD-Card-Formatter-290x300.png 290w, /wp-content/uploads/2018/11/SD-Card-Formatter-400x414.png 400w, /wp-content/uploads/2018/11/SD-Card-Formatter-580x600.png 580w" sizes="(max-width: 600px) 100vw, 600px" /></a><p id="caption-attachment-13366" class="wp-caption-text">SD Card Formatter</p></div></p>
<h3>Installing Raspbian Operating System</h3>
<p>The Raspbian is the official operating system of the Raspberry PI and you can easily <a href="https://www.raspberrypi.org/downloads/raspbian/">download</a> and mount to your SD card. There is two version of Raspbian you can potentially install, one is the full version and the other is the Lite version. I will install the Lite version now as it requires only a less amount of space when it is compared to the full version. But remember, if you are using the Lite version, you may have to handle the SSH by your own, but it is not as tough as you think.</p>
<p>You will get a zipped folder once you download the Raspbian and you should extract the same. Once you do that, you can see the image of Raspbian. Now it is time to write this image to your SD card. To do so, we will have to install an application called <a href="https://www.balena.io/etcher/">Etcher</a>. Etcher is a graphical SD card writing tool, with Etcher you don&#8217;t even need to unzip the file to flash it to your SD card. It supports Mac OS, Windows, and Linux.</p>
<p>Once you have downloaded the Etcher, open the tool and select the image you want to flash and click Flash. Booom!. Isn&#8217;t that simple?</p>
<p><div id="attachment_13367" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Flashing-Content-to-SD-Card.png"><img decoding="async" aria-describedby="caption-attachment-13367" class="size-full wp-image-13367" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Flashing-Content-to-SD-Card.png" alt="Flashing Content to SD Card" width="650" height="309" srcset="/wp-content/uploads/2018/11/Flashing-Content-to-SD-Card.png 650w, /wp-content/uploads/2018/11/Flashing-Content-to-SD-Card-300x143.png 300w, /wp-content/uploads/2018/11/Flashing-Content-to-SD-Card-400x190.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13367" class="wp-caption-text">Flashing Content to SD Card</p></div></p>
<p>Once the flashing is done, you should be able to see the Raspian OS content on your SD card.</p>
<p><div id="attachment_13368" style="width: 610px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Falshed-Raspbian.png"><img decoding="async" aria-describedby="caption-attachment-13368" class="size-full wp-image-13368" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Falshed-Raspbian.png" alt="Falshed Raspbian" width="600" height="239" srcset="/wp-content/uploads/2018/11/Falshed-Raspbian.png 600w, /wp-content/uploads/2018/11/Falshed-Raspbian-300x120.png 300w, /wp-content/uploads/2018/11/Falshed-Raspbian-400x159.png 400w" sizes="(max-width: 600px) 100vw, 600px" /></a><p id="caption-attachment-13368" class="wp-caption-text">Falshed Raspbian</p></div></p>
<h3>Configure SSH</h3>
<p>The SSH (Secure Socket Shell) or Secure Shell, is a protocol which gives us the provision to connect to a computer in a secure way over an unsecured network. In our case, we need to connect to our Raspberry PI, which is connected to our LAN or WLAN network, from our Laptop/computer. To enable the SSH, you need to create a file called ssh without extension. There are many ways you can do that, but I usually will just go to the drive or folder I need to create the file and perform the below command.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">C:\Users\SibeeshVenu&gt;d:

D:\&gt;echo &gt; ssh</pre>
<h3>Connect Raspberry PI to the Network</h3>
<p>Once the SSH is enabled, we can eject the SD card from our computer and place it in our Raspberry PI and then you need to connect your Raspberry PI to your local network. I am going to connect the same by using a LAN cable. Once it is done you can power on your Raspberry PI, just plug your adapter and plug the other end to the Raspberry PI. Please be noted that there is no On/Off buttons in the Raspberry PI. Please make sure that the lights are blinking once you have connected the power source.</p>
<h3>Connect Your Raspberry PI from Your Computer</h3>
<p>As we have connected our Raspberry PI to our network already, we can just use any SSH client and connect to it easily. But remember, we need either the Host name or the IP address of our Raspberry PI to connect to the same. To connect, I am going to use a tool called PuTTy. The PuTTy is an open source SSH and Telnet client. You can download that from the PuTTy website.</p>
<p><div id="attachment_13369" style="width: 610px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/PuTTy-Configuration.png"><img decoding="async" aria-describedby="caption-attachment-13369" class="size-full wp-image-13369" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/PuTTy-Configuration.png" alt="PuTTy Configuration" width="600" height="563" srcset="/wp-content/uploads/2018/11/PuTTy-Configuration.png 600w, /wp-content/uploads/2018/11/PuTTy-Configuration-300x282.png 300w, /wp-content/uploads/2018/11/PuTTy-Configuration-400x375.png 400w" sizes="(max-width: 600px) 100vw, 600px" /></a><p id="caption-attachment-13369" class="wp-caption-text">PuTTy Configuration</p></div></p>
<p>Now we need to find out the IP address of our Raspberry PI, to find the same I am using a tool called Nmap. The Nmap or Network Mapper is an open source utility for network discovery and many other things, if you want to know what are all the things you can do with Nmap, I recommend you to read it <a href="https://nmap.org/">here</a>.</p>
<p>You can also find the IP address of your Raspberry PI by login to your router gateway. To do so, you should have the credentials with you.  For now, let&#8217;s stick with Nmap. Open the command prompt once you have installed the Nmap, and type ipconfig, which result in all of your configuration of IP. To find the IP addresses of all the resources, you need to use the preceding command.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">nmap -sP 192.168.2.0/24</pre>
<p>This will give you an output as similar as below.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">Starting Nmap 7.70 ( https://nmap.org ) at 2018-11-15 15:32 W. Europe Standard Time
Nmap scan report for 192.168.2.63
Host is up (0.0020s latency).
MAC Address: B8:27:EB:00:B3:60 (Raspberry Pi Foundation)</pre>
<p>Here 192.168.2.63 is your Raspberry PI IP address, now you can go ahead and connect to the same by opening the PuTTy tool again. Please make sure that you have selected the option SSH and the port number is 22, for other option the port numbers are different. Once you are done entering the details, just click on the button Open.</p>
<p>You will also get a security warning as you are trying to connect to a different computer, as we are sure about the IP address of the computer (Raspberry PI) we are going to connect to, and moreover, we are the owners of the same, we don&#8217;t need to worry about it. Just click Yes. Now it will ask you to login to your Raspberry PI, where you need to give the username as pi and password as raspberry.</p>
<p>Now you will see a message as below saying that you had successfully logged in to your Raspberry PI. You will also get a warning to change the password of the user pi.</p>
<p><div id="attachment_13370" style="width: 660px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Login-to-raspberry-pi.png"><img decoding="async" aria-describedby="caption-attachment-13370" class="size-full wp-image-13370" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Login-to-raspberry-pi.png" alt="Login to raspberry pi" width="650" height="270" srcset="/wp-content/uploads/2018/11/Login-to-raspberry-pi.png 650w, /wp-content/uploads/2018/11/Login-to-raspberry-pi-300x125.png 300w, /wp-content/uploads/2018/11/Login-to-raspberry-pi-400x166.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-13370" class="wp-caption-text">Login to the raspberry pi</p></div></p>
<p>You can either do that by using the command passwd or by using the raspi-config command. The rasp-config command will give you an option to set some other additional configurations too.</p>
<p><div id="attachment_13371" style="width: 606px" class="wp-caption aligncenter"><a href="https://sibeeshpassion.com/wp-content/uploads/2018/11/Confguring-raspberry-pi.png"><img decoding="async" aria-describedby="caption-attachment-13371" class="size-full wp-image-13371" src="https://sibeeshpassion.com/wp-content/uploads/2018/11/Confguring-raspberry-pi.png" alt="Confguring raspberry pi" width="596" height="30" srcset="/wp-content/uploads/2018/11/Confguring-raspberry-pi.png 596w, /wp-content/uploads/2018/11/Confguring-raspberry-pi-300x15.png 300w, /wp-content/uploads/2018/11/Confguring-raspberry-pi-400x20.png 400w" sizes="(max-width: 596px) 100vw, 596px" /></a><p id="caption-attachment-13371" class="wp-caption-text">Configuring raspberry pi</p></div></p>
<h2>Conclusion</h2>
<p>Wow!. Congratulations. Now you have a small, lightweight, functioning computer in your hand, which is nothing but Raspberry PI. To summarize the things we have done in this article.</p>
<ol>
<li>Format the SD card</li>
<li>Flash the Raspbian OS to SD Card</li>
<li>Add SSH</li>
<li>Find the IP address of Raspberry PI</li>
<li>Connect to the Raspberry PI over SSH</li>
<li>Login to Raspberry PI</li>
<li>Change the Raspberry PI configuration</li>
</ol>
<h2><span id="your-turn-what-do-you-think">Your turn. What do you think?</span></h2>
<p>Thanks a lot for reading. In the next article, we will install Node JS in our Raspberry PI and connect an iBeacon to it over Bluetooth. Did I miss anything that you may think which is needed in this article? Could you find this post as useful? Kindly do not forget to share me your feedback.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/setting-up-your-first-raspberry-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
