Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to get the Ubuntu distribution

90 bytes added, 23:30, 22 October 2010
Undo revision 684 by Eballetbo (Talk)
Next, uncompress the image with
 
gunzip ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz
Then write the raw image to a blank SD card (the card size should be >2G)  
sudo dd if=<uncompressed image> of=/dev/mmcblk0 # change /dev/mmcblk0 with appropriate device
Current boot file system (x-loader + u-boot + kernel) not works, so we need to replace. First download and extract this package   wget wget http://downloadspeople.igepcanonical.es/ubuntucom/maverick~mpoirier/linux-image-2.6.35-2322-omap_2.6.35-2322.35_armel34_armel_torez_2.deb ar -x linux-image-2.6.35-2322-omap_2.6.35-2322.35_armel34_armel_torez_2.deb
tar jxf data.tar.bz2
sudo cp -fr boot lib usr /media/&lt;<rootfs&gt; > # change &lt;<bootfs&gt; > with appropriate SD rootfs partition
then, create an uImage file with mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Linux" -d boot/vmlinuz-2.6.35-22-omap uImage cp uImage /media/<bootfs> # change <bootfs> with appropriate SD boot partition
next, download and copy x-loader from mkimage wget http://downloads.igep.es/binaries/x-A arm loader/v1.4.3-O linux 0/x-T kernel load-C none 1.4.3-a 0x80008000 0.igep0020-e 0x80008000 sdcard.bin.ift cp x-n "Linux" -d boot/vmlinuzload-21.64.353-230.igep0020-omap uImage cp uImage sdcard.bin.ift /media/&lt;<bootfs&gt; >/MLO # change &lt;<bootfs&gt; > with appropriate SD boot partition
nextand finally, download and copy xdo the same with u-boot wget http://downloads.igep.es/binaries/u-boot-arm/v2009.11-2/u-boot-arm-2009.11-2.igep0020.bin cp u-boot-arm-2009.11-2.igep0020.bin /media/<bootfs>/u-loader from boot.bin # change <bootfs> with appropriate SD boot partition
wget http://downloadsThe last step is copy boot.igepscr to boot.esini cp /binariesmedia/x-loader/v1.4.4-0<bootfs>/x-load-1.4.4-0.igep0020-sdcard.bin.ift cp x-load-1.4.4-0.igep0020-sdcardboot.bin.ift scr /media/&lt;<bootfs&gt;/MLO boot.ini # change &lt;<bootfs&gt; > with appropriate SD boot partition
Umount bootfs and finallyrootfs partitions, do the same with u-boot push your SD card in your IGEP socket, power up and enjoy !
wget http://downloads.igep.es/binaries/u-boot-arm/v2010.06-0/u-boot-arm-2010.06-0.igep0020.bin cp u-boot-arm-2010.06-0.igep0020.bin /media/&lt;bootfs&gt;/u-boot.bin # change &lt;bootfs&gt; with appropriate SD boot partition==== System Testing and known issues ====
The last step * Can't bring up eth0, no network - this is copy boota known issue that has been fixed but may not have been applied yet.scr to boot * https://bugs.ini launchpad.net/ubuntu/+source/linux/+bug/645689
cp /media/&lt;bootfs&gt;/boot.scr /media/&lt;bootfs/boot.ini # change &lt;bootfs&gt; with appropriate SD boot partition==== Tips and tricks ====
Umount bootfs and rootfs partitions, push your SD card in your IGEP socket, power up and enjoy&nbsp;!  ==== System Testing and known issues ==== ==== Tips and tricks ==== ===== How to cross build ubuntu maverick kernel from sources ===== Create a script for setting the environment
Create a script for setting the environment
echo "Setting environment for armel cross-compile"
export ARCH=arm
export CROSS_COMPILE=arm-none-linux-gnueabi-
export PATH=&lt;<path to cross compiler&gt;>:$PATH (set the correct path to cross compiler)
export DEB_BUILD_ARCH=armel
export DEB_HOST_ARCH=armel
Clone the ubuntu maverick repository  
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-maverick.git
cd ubuntu-maverick
Setup the environment and run ...  
source armconfig
fakeroot debiar/rules clean