* Working unity-2d
Update 31/3:
* Replaced onboard virtual keyboard with florence
* Fixed wifi to work more consistently
Here is an updated photo of ubuntu running on the vega:

Update: Sample root, kernel and initrd image now available from http://www.adebenham.com/vega/
To use
* first download linux-kern.img and vega_root.tgz from the above site
* Partition your microSD so that there is a partition set aside for the linux install. Make sure to format this partition as ext3
* Extract the vega_root.tgz to this new partition - this needs to be done as root so that the permissions can be set correctly
* The prebuilt kernel image assumes that root in on the second partition of the SD card - if this is not so then you will need to rebuild the linux-kern.img (see instructions below)
* Put the microsd into your vega ready to use
* Boot the vega into nvflash mode (via back+power button)
* Flash the created boot.img via "./nvflash -w --bl ./bootloader.bin --download 7 linux-kern.img --go"
* You should now be able to boot the vega into ubuntu!
Note: gdm can take a long time to login - you can skip the wait by logging into the console as root and running 'service gdm start' or you can just wait a moment until udev finishes its work.
The default user is 'ubuntu' with password 'ubuntu' and the root user has the password 'root'
There is a problem with libc6 2.13 so if you accidentally update libc you can re-install the 2.12 version by running 'dpkg -i /root/glibc/*' as I have saved a copy of the package in there
Working: Wifi, graphics (via tegra drivers), touchscreen (single-point), usb host (for keyboard etc)
Non-working: Sound, bluetooth
How to manually rebuild the linux-kern.img:
* To do this download initrd.img-2.6.32-custom and zImage from the above site
* Create a suitable boot.img via (that should all be on one line)
mkbootimg --kernel zImage --ramdisk initrd.img-2.6.32-custom --cmdline "root=/dev/mmcblk3p2 rootdelay=5 rw mem=448M@0M nvmem=64M@448M vmalloc=192M init=/sbin/init video=tegrafb console=tty0,115200n8 usbcore.old_scheme_first=1 mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1 496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576( serdata)" -o linux-kern.img
* This will create a linux-kern.img file suitable for flashing. It assumes the root filesystem is on /dev/mmcblk3p2 (which is the second partition on your microSD card) but you can change it as needed.
----
I have ubuntu 11.04 mostly working on my vega now but there were a few issues on the way.
Here is a basic/general guide on how to get it working (note: this is not for the faint of heart as yet)
It's more of a brain dump of how I got things working and probably not easy to follow.
Once I'm happy with things I'll work on uploading a copy of the root filesystem and kernel I am using to make it easier for others to try it
* Download natty-arm minimal root image from http://elinux.org/Be....04_Development
* Partition microsd card to have a ext3 partition of at least 2g
* Extract the rootfs from downloaded natty-arm minimal image to that partition
* Copy /system/lib/hw/wlan from existing/working android system (this contains the pre-compiled wireless LAN kernel module)
* Grab vega kernel source from git and apply kmsg patch from https://bugs.launchp...-syscalls.patch
* Next recompile the kernel with CONFIG_SIGNALFD enabled and CONFIG_ANDROID_PARANOID_NETWORK disabled
* Flash that kernel with the initrd from the minimal image via (Change the 'root=/dev/mmcblk3p2' to whichever partition the root filesystem is on):
mkbootimg --kernel android_kernel_advent_vega/arch/arm/boot/zImage --ramdisk initrd.img-2.6.32-custom --cmdline "root=/dev/mmcblk3p2 rootdelay=5 rw mem=448M@0M nvmem=64M@448M vmalloc=192M init=/sbin/init video=tegrafb console=tty0,115200n8 usbcore.old_scheme_first=1 mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1
2496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576
(userdata) " -o linux-kern.img
* The first seen on booting is that the libc that comes with natty causes a bunch of instruction alignment errors.
I worked around this by grabbing an older version from ports.ubuntu.com
The files needed were:
- libc6_2.12.1-0ubuntu10.2_armel.deb
- libc6-dev_2.12.1-0ubuntu10.2_armel.deb
- libc-bin_2.12.1-0ubuntu10.2_armel.deb
- libc-dev-bin_2.12.1-0ubuntu10.2_armel.deb
- libnih1_1.0.2-1ubuntu2_armel.deb
- libnih-dbus1_1.0.2-1ubuntu2_armel.deb
- upstart_0.6.6-4_armel.deb
They were downloaded on a separate machine, copied to the rootfs so that they could be installed manually later
* Once these were installed the machine was able to boot into gdm and work correctly
Update: Found how to recompile the wlan module so now can make more changes to kernel - such as swap and sysv ipc support
See http://armin762.word...s-6002-working/
Update: If you are getting compile errors about "undefined reference to `__aeabi_uldivmod'" then apply the following patch : http://www.linux-arm...c0f9d243359d5f8
Edited by hybr1d, 13 April 2011 - 06:00 AM.







Sign In
Create Account
Back to top











