Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to boot from MicroSD Card

3,735 bytes removed, 11:41, 9 March 2018
X-Loader (MLO) - IGEPv2 - IGEP COM Module - IGEP COM Proton
==X-Loader (MLO) - IGEPv2 - IGEP COM Module + u- boot IGEP COM ProtonBoards Texas Instruments based boards==You can After build or download the MLO and u-boot you should follow this other howto about the [[The IGEP X-loader|IGEP-X-loader]].next steps:
<pre>We will compile the sources * Copy MLO and get it from our git repository:u-boot.img to primary boot partition
$cp MLO u-boot.img /homemedia/jdoe&gt; git clone git:user//git.iseeboot==u-boot.biz/pub/scm/igepimx IGEP Boards based on NXP-xFreescale Processors==* Copy u-loaderboot.gitimx using dd before primary partition in raw mode as
$ sudo dd if=/home/jdoe&gt; cd igepuser/u-boot-ximx/u-loaderboot.imx of=/dev/sde bs=512 seek=2Where /dev/sde is your microsd card
$/home/jdoe/igep-x-loader&gt; make igep00x0_config CROSS_COMPILE=&lt;put here your cross compiler&gt; $/home/jdoe/igep-x-loader&gt; make CROSS_COMPILE=&lt;put here your cross compiler&gt; Starting from version 2.5 it's not necesary sign the MLO due the build system generate directly the MLO fileif you're using a old version then you must sign it as: $/home/jdoe/igep-x-loader&gt; contrib/signGP</pre>Alternatively you can download the binary package from [http://downloads.isee.biz/pub/releases/IGEP_xloader/igep-x-loader-2.5.0-2.tar.bz2 here] If you're using 2.5.0.x x-loader copy directly the MLO to your boot partion or if you use older version then follow the next instructions:  Copy the x-loader.bin.ift into the boot partition. [[Image:Copy Xloader.png|thumb|center]] Rename the x-loader.bin.ift to MLO [[Image:Rename Xloader to MLO.png|thumb|center]]Now we're ready for test the board boot from the microsd card.   ===X-Loader Boot===We will eject the boot and rootfs partitions from our Host PC, this step it's a lot important due the Linux must sync all changes before eject the microsd card. We will insert our microSD card into the IGEP board, connect the serial debug cable and open the serial terminal [[Image:Putty Serial Configuration.png|thumb|center]]Power UP the board. [[Image:IGEP-X-Loader Boot.png|thumb|center]]   ===Configure the IGEP-X-Loader with igep.ini===You can use a file like this: <pre>[kernel]; Kernel load address, NOT&nbsp;Modifykaddress=0x80008000; RAM disk load Address, NOT Modify;rdaddress=0x84000000; Board Serial IDserial.low=00000001serial.high=00000000; Board Revisionrevision=0003; Kernel Image NamekImageName=zImage; Kernel RAM Disk Image Name;kRdImageName=initrd.img-2.6.35-1010-linaro-omapMachineID=xxxx Where Machine ID =&nbsp;2344 for IGEPv2, ID = 2717 for IGEP COM Module, ID = 3203 for IGEP COM&nbsp;PROTON; Mode can be: kernel (boot linux kernel) or binary (boot u-boot, QNX kernel or other binary ARM&nbsp;executable)Mode=kernel [kparams]; buddy parameter selects your expansion board; buddy = igep0022 (IGEPv2 Expansion board); buddy =&nbsp;base0010 (IGEP PARIS or IGEP&nbsp;BERLIN&nbsp;Expansion Board); buddy.revision = A or B (Selects Expansion board Revision IGEP Paris or IGEP Berlin only, if you dubt select B);buddy=igep0022;buddy=base0010;buddy.revision=B; Setup the Kernel console params; console= Configure the kernel console (ttyS2 kernel &lt;= 2.6.35 ttyO2 if kernel &gt;= 2.6.37);console=ttyS2,115200n8console=ttyO2,115200n8; Enable early printk;earlyprintk=serial,ttyS2,115200; Setup the Board Memory Configurationmem=430M;mem=512M; Setup the Boot Delayboot_delay=0; Setup the ARM Processor Speed;mpurate=800; Setup the loglevel;loglevel=7; Enable Kernel Debug Output;debug=1; Fix RTC Variable;fixrtc=1; Configure nocompcache variablenocompcache=1; Configure Frame Buffer Configuration;omapfb.mode=dvi:1280x720MR-16@60omapfb.mode=dvi:hd720-16@60; Configure Video Ram assignedvram=40M; Configure Video RAM assigned to every frame bufferomapfb.vram=0:12M,1:16M,2:12M; Configure frame buffer debug output;omapfb.debug=1; Configure DSS Video Debug option;omapdss.debug=1; Configure the Board Ethernet Mac Addresssmsc911x.mac=0xb2,0xb0,0x14,0xb5,0xcd,0xde; --- Configure UBI FS boot --- ;ubi.mtd=2 ;root=ubi0:igep0020-rootfs ;rootfstype=ubifs; --- Configure NFS boot --- ;ip=192.168.2.123:192.168.2.129:192.168.2.1:255.255.255.0::eth0:;root=/dev/nfs;nfsroot=192.168.2.129:/srv/nfs/igep_rootfs; --- Configure MMC boot --- root=/dev/mmcblk0p2 rw rootwait; Assign Init program;init=/bin/bash </pre>Create a new file into the boot partition named igep.ini with these content and save the file. igep.ini is included in the package software inside scripts directory or you can access to it directly in the git with this [http://git.isee.biz/?p=pub/scm/igep-x-loader.git;a=blob;f=scripts/igep.ini;h=ce093fe80c81d8888bf79464f847059b312bba83;hb=HEAD link]
==MLO + uboot - IGEP COM AQUILA, IGEPv5==