560
edits
Changes
From IGEP - ISEE Wiki
no edit summary
'''2-''' Insert the microSD Card and show the ''dmesg'' information:
[[File:dev.png]]
sudo dd if=/dev/zero of=/dev/sdc bs=1024 count=1024
Before use anyway of partition one good practise is unmount the dev where is inserted the SD. -> <code>umount /dev/sdx</code>
Now we are ready to create the corresponding partitions in our MicroSD Card.
|-
| style="width: 431.367px;"|
sudo sfdisk /dev/<strong>sdc</strong> <<EOF<br data-attributes="%20/">label: dos<br data-attributes="%20/">63,144522,0x0C,*<br data-attributes="%20/">160650,,,-<br data-attributes="%20/">EOF<br><br>sudo mkfs.vfat -F32 /dev/<strong>sdcsdc1</strong> -n boot<br data-attributes="%20/"><br data-attributes="%20/">sudo mkfs.ext4 /dev/<strong>sdcsdc2</strong> -L rootfs<br><br>
| style="width: 436.633px;"|
sudo sfdisk /dev/<strong>sdc</strong> <<EOF<br data-attributes="%20/">label: dos<br data-attributes="%20/">16065,128520,0x0C,*<br data-attributes="%20/">144585,,,-<br data-attributes="%20/">EOF<br><br>sudo mkfs.vfat -F32 /dev/<strong>sdcsdc1</strong> -n boot<br><br>sudo mkfs.ext4 /dev/<strong>sdcsdc2</strong> -L rootfs<br><br>
|}
* Copy MLO and u-boot.img to primary into the ''root folder'' of the '''boot partition'''
<pre>cp [your_u-boot_directory]/u.boot.img /media/user/boot cp [your_u-boot_directory]/MLO /media/user/boot
</pre>
You can follow this post [[The bootloader U-Boot|U-boot Bootloader]] if you want build the MLO and u-boot
'''Freescale processors<br />'''
* Copy u-boot.imx using dd before primary partition in raw mode as
<pre>sudo dd if=/[your_u-boot_directory]/u-boot.imx of=/dev/[your_sd] bs=512 seek=2</pre>
You can follow this post [[The bootloader U-Boot|U-boot Bootloader]] you want build the u-boot.imx
We present two examples of help to start the system from the MicroSD Card or from an nfs server.
* If we want boot from the bootable microSD Card. [http://downloads.isee.biz/pub/relaunch/uenv.txt uenv.txt]
* If we want boot from nfs server. [http://downloads.isee.biz/pub/relaunch/uenv_nfs.txt uenv.txt]
These two examples have an ip address assigned to them that can be modified as you want. ==Kernel==Kernel files, '''Freescale processors<br />zImage '''and''' .dtb''', can be copied into the'' root folder'' of the''' boot partition'''
==Root file System==
The root file system have to be extracted into the'' root folder'' of the '''rootfs''' ''' partition'''.Where can be [http://labs.isee.biz/index.php/IGEP_Firmware_set-up downloaded here.]