Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to boot from MicroSD Card

2,688 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
Where /dev/sde is your microsd card
==MLO + uboot - IGEP COM AQUILA, IGEPv5==You can find more detailed information about the build procedure on follow this other [[U-Boot 2014.01.yboot Freescale-NXP iMX6 Series|howtoHowTo ]] <pre>git clone git://git.isee.biz/pub/scm/u-boot-arm.gitcd u-boot-arm/</pre><span style="line-height: 1.5em;">If you're using IGEPv5 board you should checkout this one:</span> <pre>git checkout origin/u-boot-2014.01.y-omap5 -b u-boot-2014.01.y-omap5make omap5_igep0050_config CROSS_COMPILE=arm-linux-gnueabihf-</pre>Or if you're using IGEP COM Aquila: <pre>git checkout origin/u-boot-2013.07.y -b u-boot-2013.07.y.localmake igep0033_config CROSS_COMPILE=arm-linux-gnueabi-</pre>After configuration you can want build it with: <pre>make CROSS_COMPILE=&lt;set here your cross compiler&gt;</pre>After build it generate two files: MLO and the u-boot.img, you must copy both file into your boot partition. U-boot use self script (enviroment) configuration can be added to boot partition too.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==