Hi all,
These are approximate instructions for installing Lucid on an IGEPv2. It uses the kernel recommended on the IGEP site because this supports the SD card. I'm sure an ubuntu kernel will be fine later. At the end, you will have an SD card that will boot the IGEPv2 board with no external intervention or devices.
This recipe is derived from here: http://labs.igep.es/index.php/How_to_get_the_Ubuntu_distribution
Andrew
---------------------- sudo apt-get install rootstock uboot-mkimage qemu
[The next step gives you the kernel, initrd, and rootfs all in one. Ideally I would have it install lxde now, to match the "demo" OS that came with the board, but I found that it hung. Create minimal install for now, and install lxde later, once the board is running.]
sudo rootstock --fqdn ubuntu --login jdoe --password letmein --imagesize 2G \ --seed wget,nano,linux-firmware,wireless-tools,usbutils,openssh-server,openssh-client --dist lucid \ --serial ttyS2 --components "main universe multiverse" \ --kernel-image http://www.rcn-ee.net/deb/lucid/v2.6.33.5-l3/linux-image-2.6.33.5-l3_1.0luci...
mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Linux" -d vmlinuz-2.6.33.5-l3 uImage
mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d initrd.img-2.6.33.5-l3 uInitrd
cat > boot.source < EOF fatload mmc 0:1 0x80000000 uImage fatload mmc 0:1 0x82000000 uInitrd setenv bootargs vram=12M omapfb.mode=dvi:1280x720MR-16@60 root=/dev/mmcblk0p2 console=ttyS2,115200n8 fixrtc bootm 0x80000000 0x82000000 EOF
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Boot Script" -d boot.source boot.ini
[Format the SD card with two paritions, mmcblk0p1 small fat-16 (label "boot"), and mmcblk0p2 large ext3 (label "rootfs").]
cp uImage uInitrd boot.ini /media/boot
sudo tar xzpf armel-rootfs-<date>.tgz -C /media/rootfs/
ln -s ../init.d/ssh /media/rootfs/etc/rc2.d/S01ssh
[Set up /media/rootfs/etc/network/interfaces - you'll need an "auto eth0" line and something to go with it]
[Boot the target, log in (jdoe/letmein)]
sudo apt-get install lxde gdm
[Actually, I only installed the lxde desktop so I could run it remotely using Xnest. If you want a graphical login on the video output, only then do you need gdm also. Not installing gdm means that Xorg doesn't start at boot time and eat memory and cycles.]