Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to boot from MicroSD Card

1,746 bytes removed, 11:46, 9 March 2018
u-boot.imx IGEP Boards based on NXP-Freescale Processors
$ cp MLO u-boot.img /media/user/boot
You can follow this [[U-Boot Texas Instruments Series|HowTo]] if you want build the MLO and u-boot
 
==u-boot.imx IGEP Boards based on NXP-Freescale Processors==
* Copy u-boot.imx using dd before primary partition in raw mode as
sudo dd if=/home/user/u-boot-imx/u-boot.imx of=/dev/sde bs=512 seek=2
Where /dev/sde is your microsd card
 
You can follow this [[U-boot Freescale-NXP iMX6 Series|HowTo ]]if you want build the u-boot.imx
==Kernel==
You can follow this other howto about [[The Linux kernel|how compile and install the Linux Kernel]].
 
We will get from our git repository the kernel sources and build it:
 
<pre>a) Clone the Kernel git repository
 
$/home/jdoe/&gt; git clone git://git.isee.biz/pub/scm/linux-omap-2.6.git
 
$/home/jdoe&gt; cd linux-omap-2.6
 
b) Checkout your desired branch (we used for this howto 2.6.37.y IGEPv2, IGEP COM Module and IGEP COM PROTON)
if you're using IGEP COM Aquila or IGEPv5 you must select your right branch:
IGEPv5: linux-3.8.y-omap5
IGEP COM Aquila: linux-3.8.y-am335x
 
$/home/jdoe/linux-omap-2.6&gt; git checkout origin/linux-2.6.37.y -b linux-2-6-37.y
 
c) Configure the kernel (IGEPv2, IGEP COM Module, IGEP COM Proton)
 
$/home/jdoe/linux-omap-2.6&gt; make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- igep00x0_defconfig
 
If you use IGEPv5 or IGEP COM Aquila you should use:
 
$/home/jdoe/linux-omap-2.6&gt; make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- omap2plus_defconfig
 
d) Build the kernel and Modules (IGEPv2, IGEP COM Module, IGEP COM&nbsp;PROTON)
 
$/home/jdoe/linux-omap-2.6&gt; make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- zImage modules
 
e) Build the kernel, modules and dtbs (IGEPv5, IGEP COM Aquila)
 
$/home/jdoe/linux-omap-2.6&gt; make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs
 
</pre>
Notes: The kernel binary resides inside the directory: $/home/jdoe/linux-omap-2.6/arch/arm/boot/'''zImage''' <br />
Notes: Alternatively you can download the kernel binary from this [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-7/zImage-2.6.37-7.bin link] and modules from [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-7/modules-2.6.37-7.tar.gz this].<br />
Notes: You can download directly all releases using this [http://downloads.isee.biz/pub/releases/linux_kernel link]<br />
Notes: Kernel 3.8.y use dtb file for describe the board configuration, these files resides inside the directory: $/home/jdoe/linux-omap-2.6/arch/arm/boot/dtbs/ and you must copy the right dtb for your board.
==Root File System==