Flash your Android tablet with Ubuntu

How to flash your folio 100 from Toshiba with a fresh Ubuntu build.

Here is a quick method to install Ubuntu 10.10 into a folio 100 tablet (originally android).

First, thanks to all the fox at XDA. More detail at:
-  http://ac100.gudinna.com/README/
-  http://forum.xda-developers.com/showthread.php?t=907960&page=1
-  http://forum.xda-developers.com/showthread.php?t=907960

So far, wifi and touchscreen are broken, i am sure someone will soon take care of this. most important is to have the tools to debug.

Two parts:
-  build ubuntu for ARM
-  build the kernel and flash it,
-  install ubuntu on a SD card.

First we will prepare a rootfs to install in the SD card. It is so handy to do this with the ubuntu tool called roostock. roostock will help you to build a rootfs image for arm, please read the detail at: https://wiki.ubuntu.com/ARM/RootfsFromScratch

Easy, no? Then the kernel, almost that easy. Toshiba GPL kernel can be found at: https://github.com/tsh/folio100, Attached is the kernel config i used, it is inspired from http://forum.xda-developers.com/showthread.php?t=907960

To flash this kernel, we will need to include it in a update.zip file and ask the folio boot loader to flash it. The kernel image will be boot.img, it contains a header and a ramdisk (empty for us). This boot.img file is created with the tool mkbootimg (available from cyanogen, as well as unpackbootimg). The boot.img will be simply zipped with a script to do the updated.

Note that here we are telling the kernel to boot on /dev/mmcblk1p1 (sd card) if you plan to boot your system from a usb key, use /dev/sda1 instead in the kernel command line. Attached is an update.zip image ready to be flashed. You can take it as a starting point, remove the boot.img file (with the kernel) and create your own (you will need the attached empty ramdisk file as well):

Before you can flash your folio’s kernel partition, be sure you know how to restore a working image (available at http://forum.xda-developers.com/showthread.php?t=846199)

To flash the kernel:
-  copy the update.zip file in FAT formated SD card
-  insert the SD card in the folio and be sure the folio power cable is plugged
-  power on the device and press power and volum-up in the same time
-  press volume up to confirm
-  press volume down for android update
-  press volume up to confirm

From now your device will boot with you custom kernel and try to boot on the SD card.

Insert the SD card in your computer, unmount it, reformat it with a ext3 file system and copy the ubuntu rootfs. Here i assume the sdcard is sdb1, your responsibility to change this. By the way, i had to update /etc/fstab...

Insert the SD card in the folio and reboot it. Hopefully you can enjoy Ubuntu on your device.

(JPG)

empty ramdisk image :

kernel config for folio 100:

mkbootimg:

unpackbootimg:


hacker emblem Creative Commons License