This is just a quick note describing the new Android release (R13.4 – Beta) from Freescale.
We’ve just pulled down the sources and are happy to report that the images just work on both Sabre Lite and Nitrogen6X.
I had a Nitrogen6X and 1024×600 panel on my desk, and being impatient, I simply copied
the uImage file into my /tftpboot directory, extracted the Sabre SD android filesystem into /imx-android-r13.4-beta and added this into my /etc/exports file.
After forcing a reload of my nfs-kernel-server, I was able to boot over NFS by the following
U-Boot> set bootargs console=ttymxc1,115200 video=mxcfb0:dev=ldb,1024x600M@60,if=RGB666 U-Boot> set bootargs $bootargs video=mxcdi1fb:off U-Boot> set bootargs $bootargs ip=dhcp root=/dev/nfs U-Boot> set bootargs $bootargs nfsroot=192.168.0.95:/imx-android-r13.4-beta U-Boot> set bootargs $bootargs init=/init rootwait U-Boot> dhcp 12000000 192.168.0.95:uImage-imx6 U-Boot> bootm 12000000
Doing just this bit, I had a working Android with a USB mouse.
I wasn’t able to bring up a browser, but the answer for that was mostly in the release notes.
Adding these two lines into /init.rc fixed that:
setprop ethernet.clear.ip no setprop net.dns1 220.127.116.11
Both of these are needed because Android isn’t performing the DHCP when booted over NFS.
After fixing that, I was able to browse the web, and a quick test of Google Maps showed that the system
was very responsive.
I also tested video playback through the Gallery app. This also required a minor tweak to /system/etc/vold.fstab, telling Android where my media partition is.
dev_mount sdcard /mnt/sdcard 4 /devices/platform/sdhci-esdhc-imx.2/mmc_host/mmc0
This corresponds to the bottom (full-sized) SD card on a Sabre Lite or the top slot on a Nitrogen6x
Audio didn’t work on Nitrogen6X, but the reasons for that are known.
Because there are roughly 550 patches since the imx-android-r13.2 release, it may take a day or two. (We have some reading to do.)
This is the first time that I’ve ever attempted to boot Android over NFS, and I was pleasantly surprised. I highly recommend it as a first step toward crafting an SD card.
Keep an eye on our blog for additional updates regarding this kernel and also the new LTIB release.