Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Prepare a bootable MicroSD Card

23 bytes added, 09:54, 10 May 2018
no edit summary
* Now we can see an image of which are the steps to boot any module.
 
With a general processor all start with MLO file and U-Boot.img. Also it is the same procedure for Freescale- NXP. If you want to see how to create these files follow this [[The bootloader U-Boot|link]].
 
Next step is that once the processor is initialized,call the linux kernel making the execution of  your operative system available.
 
Finally your OS runs and you can initialize the board correctly 
Ensure all in your microsd card it's erased:
<pre>$ sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1024 count=1024 [sudo] password for jdoe:</pre>
='''<span class="mw-headline">Prepare a SD to boot</span>'''=
{{Message/Information Message|title=TITLE|message= <span style="color: #000000;">We are using this version of Ubuntu .........</span>}}
And it can be installed with this command.
<pre><span style="color: #00ccff;">sudo</span> apt-get install gparted</pre>
<span style="color: #000000;">Now we will see all the steps for this partition with GPARTED after another brief  explanation of  sfdisk method.</span>
<pre><span style="color: #00ccff;">sudo</span> sfdisk sudo sfdisk /dev/ <label: dos<br>16065,128520,0x0C,*<br>144585,,,-<br>EOF</pre>
</div>
<div class="codeContent panelContent pdl"><div class="syntaxhighlighter sh-eclipse nogutter bash"></div>
<div class="syntaxhighlighter sh-eclipse nogutter bash">
$ <span style="color: #00ccff;"pre>sudo</span> mkfs$ sudo mkfs.vfat -F 32 /dev/ -n boot</pre><pre>$ <span style="color: #00ccff;">sudo</span> mkfssudo mkfs.ext3 /dev/ -L rootfs</pre></div>
<div class="syntaxhighlighter sh-eclipse nogutter bash"></div>
</div>
<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code"><div class="codeHeader panelHeader pdl">'''u-boot.imx copy'''</div>
<div id="highlighter_550267">
$ <span style="color: #00ccff;">sudo dd</span> <span style="color: #3366ff;">if</spanpre>$ sudo dd if=//u-boot.imx of=/dev/ bs=512 seek=2 <br>$ <span style="color: #00ccff;">sync</spanpre>
</div>
<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code"><div class="codeHeader panelHeader pdl">'''u-boot.imx copy'''</div>
<div id="highlighter_209438">
<span style="color: #00ccff;"pre>$ </span><span style="color: #00ccff;">sudo dd</span> <span style="color: #3366ff;">if</span>sudo dd if=/home/user/Project/u-boot/u-boot.imx of=/dev/sdd bs=512 seek=2<br>$ <span style="color: #00ccff;">sync</spanpre>
</div>
560
edits