Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Prepare a bootable MicroSD Card

799 bytes removed, 10:40, 11 May 2018
no edit summary
===<span class="mw-headline">General case process:</span>===
======'''<span class="mw-headline">Finding your device</span>=='''====
<span class="mw-headline">[[File:1.png|774x336px]]</span>
 ======'''<span class="mw-headline">Create the MSDOS Partition Table </span>=='''====
<span class="mw-headline">The next step it's create the msdos table partition for it you should click in the "Device" menu and then in the "Create Partition Table" option. </span>
<span class="mw-headline">[[File:2.png|773x364px]]</span>
======'''<span class="mw-headline">Erasing all data</span>=='''====
<span class="mw-headline">Check the default option it's create a msdos partition table.</span>'''<span class="mw-headline"><br /></span>'''
<span class="mw-headline">[[File:SD4.png]]</span>
======'''<span class="mw-headline">Creating the boot partition</span>=='''====
<span class="mw-headline">The Next step it's create the partitions for it you should go to the partition menu and select the "New" option then the application show a window like this:</span>
We will configure the partition as:
 
======'''<span class="mw-headline">Creating the new partition</span>=='''====
<span class="mw-headline">The Next step it's create the root file system partition.<br />First you should select the unallocated partition area and then you should go to the partition menu and select the "New" option then the application show a window like this:</span>
[[File:SD6.png|774x364px]]
======'''<span class="mw-headline"><span id="result_box" class="short_text" tabindex="-1" lang="en"><span class="">Characterizing</span></span> the Rootfs</span>=='''====
<span class="mw-headline">We will configure the rootfs partition as:<br /></span>
[[File:SD7.png|773x345px]]
======'''<span class="mw-headline">Applying changes</span>=='''====
<span class="mw-headline">Click on apply button in the main menu after that gparted show a window like this for confirm all operations </span>
[[File:SD8.png|771x346px]]
======'''<span class="mw-headline">Apply the change</span>'''======* <span class="mw-headline">We should click on apply buttonto confirm<br /></span>
[[File:SD9.png|760x340px]]
======'''Loading=='''====
When the process finish we can see all changes applied 
[[File:SD10.png|760x342px]]
====='''<span class="mw-headline">Selecting boot flag</span>='''====
<span class="mw-headline">Now we must select the boot flag for the first partition for it we use the right mouse button over the boot partition and select "Manage Flags" option</span>'''<span class="mw-headline"><br /></span>'''
<pre>$ sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1024 count=1024
[sudo] password for jdoe:</pre>
 
sudo sfdisk /dev/sdc <<EOF<br />label: dos<br />16065,128520,0x0C,*<br />144585,,,-<br />EOF
sudo dd if=./u-boot.imx of=/dev/sdc bs=512 seek=2; sync
===<span id="Install_GParted" class="mw-headline">Downloading GParted</span>===
<span style="color: #ff0000;">In order to prepare a micro SD with your already generated u-boot you need to flash the u-boot.imx using the command dd. (?)<br/></span>
 
It is important to prepare your micro SD card first creating a partition that leave some free space for the u-boot.imx. It can be used GPARTED as it is shown in the image.
 
 
[[File:GPARTED.png|center|713x201px]]
 
 
In this image we can see the devices plugged in our computer. And it can be installed with this command.
 
<pre>sudo apt-get install gparted</pre>
<span style="color: #000000;">When the install procedure ends you can call the program from your system tools menu or directly using a terminal console.</span>
<span style="color: #000000;">&nbsp;</span>
560
edits