Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Prepare a bootable MicroSD Card

738 bytes added, 13:05, 10 May 2018
no edit summary
<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code"></div>
==<span id="GParted_and_Creation_of_Partitions" class="mw-headline">'''Make the partition of the SD'''<br /></span>==
Now we are going to see some steps with the two methods. First creating the partition and then how procedure with each processor.
First creating the partition and then how procedure with each processor.
{| class="sortable contenttable" style="width: 890px;"|-! style="width: 869px;" colspan="2"|==='''Defining Partitions'''====Here we will see how make the partitions in the different methods|-| style="width: 209.783px;"| =====<span style="color: #000000;">GPARTED</span>=====| style="width: 659.217px;"|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. <div class="center"><div class="thumb tnone"><div class="thumbinner" style="text-align: left;"><div class="thumbcaption"><div class="magnify"></div>
</div>
<span style="color: #ff0000;">2 FOTOS</span></div>
After that you can '''Apply'''.
|-
| style="width: 209.783px;"|
=====SFDISK=====
| style="width: 659.217px;"|
sudo sfdisk /dev/ <<EOF<br>label: dos<br>16065,128520,0x0C,*<br>144585,,,-<br>EOF
|}
=====<span style="color: #000000;">SFDISK</span>=====<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code"><div id="highlighter_789287"> sudo sfdisk /dev/ <<EOF<br>label: dos<br>16065,128520,0x0C,*<br>144585,,,-<br>EOF</div></div>====<span id="Create_the_BOOT_Partition_-_IGEP_Texas_Instruments_Processor_based" class="mw-headline">'''Create After that we will create this boot partition first for the BOOT Partition -''' '''IGEP General IGEP Processor based'''</span>====<span class="mw-headline">''' '''</span>processors
{| class="contenttable sortable" style="width: 890px;"
|-
! style="width: 869px;" colspan="2"|
===<span id="Create_the_BOOT_Partition_-_IGEP_Texas_Instruments_Processor_based" class="mw-headline">'''Create the BOOT Partition -''' '''General IGEP Processor based'''</span>===
|-
| style="width: 164.233px;"|
=====<span style="color: #000000;"><span class="mw-headline">GPARTED</span></span>=====
| style="width: 704.767px;"|<u>This Step it's only for OMAP35xx, DM37xx, AM335x, OMAP5432 processor based IGEP boards.</u>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:
The Next step it's create the partitions for it you should go to the partition menu and select the <div class="Newcenter" option then the application show a window like this:><div class="thumb tnone"><div class="thumbinner"><div class="thumbcaption"><div class="magnify">
<div class="center"><div class="thumb tnone"><div class="thumbinner"><div class="thumbcaption"><div class="magnify"></div>
</div>
</div>
</div>
We will configure the partition as:
 
* Primary Partition
* Format: FAT32
It is recommended to '''apply changes''' now or you might get an error later.
</div>|-| style="width: 164.233px;"|
=====<span style="color: #000000;">SFDISK</span>=====
bla bla | style="width: 704.767px;"|Bla bla bla|}</div>
===='''<span id="Create_the_BOOT_Partition_-_IGEP_NXP-Freescale_Processor_based" class="mw-headline">Create Specifically for the BOOT Partition - IGEP NXP-Freescale Processor based</span>'''====<span class="mw-headline">''' '''</span>
{| class="contenttable sortable" style="width: 890px;"
|-
! style="width: 870px;" colspan="2"|
==='''<span id="Create_the_BOOT_Partition_-_IGEP_NXP-Freescale_Processor_based" class="mw-headline">Create the BOOT Partition - IGEP NXP-Freescale Processor based</span>'''===
|-
| style="width: 184.933px;"|
=====<span style="color: #000000;"><span class="mw-headline">GPARTED</span></span>=====
| style="width: 685.067px;"|<u>This Step it's only for iMX6 processor based IGEP boards.</u> 
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:
It is recommended to '''apply changes''' now or you might get an error later.
|-| style="width: 184.933px;"|
=====<span style="color: #000000;">SFDISK</span>=====
| style="width: 685.067px;"|
<pre>$ sudo mkfs.vfat -F 32 /dev/ -n boot</pre>
$ sudo mkfs.ext3 /dev/ -L rootfs
|}
===='''<span id="Create_the_ROOTFS_Partition" class="mw-headline">Create After these steps we will make the ROOTFS Partition</span>'''====root filesystem partition <span class="mw-headline">  <br /></span>
{| class="contenttable sortable" style="width: 890px;"
|-
! style="width: 871px;" colspan="2"|
==='''<span id="Create_the_ROOTFS_Partition" class="mw-headline">Create the ROOTFS Partition</span>'''===
|-
| style="width: 205px;"|
=====<span style="color: #000000;"><span class="mw-headline">GPARTED</span></span>=====
| style="width: 666px;"|The Next step it's create the root file system partition.   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:
<div class="center"><div class="thumb tnone"><div class="thumbinner"><div class="thumbcaption"><div class="magnify"></div>
After all apply all changes
|-| style="width: 205px;"|
=====SFDISK=====
| style="width: 666px;"|
Then you only have to use dd command in order to copy the u-boot.imx to the SD card.
$ sudo dd if=/home/user/Project/u-boot/u-boot.imx of=/dev/sdd bs=512 seek=2<br>$ sync</div>
</div>
|}
 
 
Finally we will make this.
560
edits