Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to get the Ubuntu distribution

177 bytes added, 16:23, 10 July 2012
no edit summary
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 https://edge.launchpad.net/ubuntu/+source/linux/2.6.35-22.33/+buildjob/1970697/+files/linux-image-2.6.35-22-omap_2.6.35-22.33_armel.deb
ar -x linux-image-2.6.35-22-omap_2.6.35-22.33_armel.deb
tar jxf data.tar.bz2
sudo cp -fr boot lib usr /media/<&lt;rootfs> &gt; # change <&lt;rootfs> &gt; with appropriate SD rootfs partition then, create an uImage file with
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/<&lt;bootfs> &gt; # change <&lt;bootfs> &gt; with appropriate SD boot partition
next, download and copy x-loader from  wget http://downloads.igepisee.esbiz/pub/SW_Releases/binaries/x-loader/v1.4.4-03/x-load-1.4.4-03.igep0020-sdcard.bin.ift cp x-load-1.4.4-03.igep0020-sdcard.bin.ift /media/<&lt;bootfs>&gt;/MLO # change <&lt;bootfs> &gt; with appropriate SD boot partition and finally, do the same with u-boot
and finally, do the same with u-boot
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 The last step is copy boot.scr to boot.ini   cp /media/&lt;bootfs&gt;/boot.scr /media/&lt;bootfs&gt;/boot.ini # change &lt;bootfs&gt; with appropriate SD boot partition
The last step is copy boot.scr to boot.ini cp /media/<Umount bootfs>/boot.scr /media/<bootfs>/boot.ini # change <bootfs> with appropriate and rootfs partitions, push your SD boot partitioncard in your IGEP socket, power up and enjoy&nbsp;!
Umount bootfs ==== System Testing and rootfs partitions, push your SD card in your IGEP socket, power up and enjoy !known issues ====
==== System Testing *Can't bring up eth0, no network - this is a known issue that has been fixed but may not have been applied yet. **https://bugs.launchpad.net/ubuntu/+source/linux/+bug/645689 (see tips and known issues ====tricks for solution)
* Can't bring up eth0, no network - this is a known issue that has been fixed but may not have been applied yet.** https://bugs.launchpad.net/ubuntu/+source/linux/+bug/645689 (see tips ==== Tips and tricks for solution) ====
==== Tips and tricks = Upgrade kernel to 2.6.35-23 =====
===== Upgrade kernel to 2Note: This solves the eth0 issue.6.35-23 =====
Note: This solves Donwload and copy the eth0 issue2.6.35-23 kernel
Donwload and copy the 2.6.35-23 kernel
wget http://downloads.igep.es/ubuntu/maverick/linux-image-2.6.35-23-omap_2.6.35-23.40_armel.deb
sudo cp linux-image-2.6.35-23-omap_2.6.35-23.40_armel.deb /media/<&lt;rootfs> &gt; # change <&lt;rootfs> &gt; with appropriate SD rootfs partition
Boot up your Ubuntu , open a terminal and install
 
sudo dpkg -i linux-image-2.6.35-23-omap_2.6.35-23.40_armel.deb
Reboot your system, now the ethernet an wifi should work. '''Note:''' Some users have encountered that after kernel update still booting the old kernel, to solve this issue do:
'''Note:''' Some users have encountered that after kernel update still booting the old kernel, to solve this issue do: mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /media/<&lt;rootfs>&gt;/boot/initrd.img-2.6.35-23-omap /media/<&lt;bootfs>&gt;/uInitrd mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n 2.6.35-23-omap -d /media/<&lt;rootfs>&gt;/boot/vmlinuz-2.6.35-23-omap /media/<&lt;bootfs>&gt;/uImage
===== How to get SGX Video Acceleration (under construction, not tested yet) =====
src: https://wiki.ubuntu.com/ARM/OMAP/Graphics First we'll install kernel headers
First we'll install kernel headers
wget http://downloads.igep.es/ubuntu/maverick/linux-headers-2.6.35-23-omap_2.6.35-23.40_armel.deb
sudo dpkg --install --force-depends linux-headers-2.6.35-23-omap_2.6.35-23.40_armel.deb
Activate the universe and multiverse repositories, then install the following packages: 
sudo apt-get install libegl1-sgx-omap3 libgles1-sgx-omap3 libgles2-sgx-omap3
Before using it just be sure your user is also included at 'video' group.
sudo adduser <your user> video
sudo adduser &lt;your user&gt; video Now you can test the SGX with a DEMO, grab and untar the SDK Demo Package 
wget http://neuvoo.org/neuvoo/distfiles/SGX-3.01.00.07-SDK.tar.gz
tar xzf SGX-3.01.00.07-SDK.tar.gz
Then to run the demos just get into the X11 Binaries directory (e.g. OGLES/SDKPackage/Binaries/CommonX11/Demos/EvilSkull) and run the demo: 
./OGLESEvilSkull
===== 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 debian/rules clean