Flashing Linux to NAND
Post date: Feb 11, 2011 4:56:13 AM
If you want to try Linux (Ubuntu) on your MK802IV or T428 device without multiple flashing or SD cards, please try this approach.
A Windows PC with Rockchip's standard firmware upgrade application "RKAndroidTool v1.37" and "7-Zip" installed.
Download the following files:
loader: (MK802IV) https://docs.google.com/file/d/0B99O3A0dDe67WDNmU2ZHR0NVb0U
kernel: (MK802IV) https://docs.google.com/file/d/0B99O3A0dDe67M2dLeE1SeHpOT2s
Unzip the system file to create a file called "linuxium-ubuntu1204-rfs.img"
Prepare your device for flashing by attaching it to your Windows PC as per usual
Execute the "RKAndroidTool v1.37" application and delete the NAND by selecting "EraseIDB"
Select the check boxes for Loader, parameter, kernel, boot and system, select and update the paths for the downloaded Loader, parameter, kernel, boot and system files and then flash by selecting "Run"
Disconnect your device from the PC and boot it.
Once it has finished booting press "alt&f1" to get a login prompt
Login as "linuxium" with "p" for password and enter "sudo su -"
Now enter "mount -o remount,rw /dev/mtdblock0 /" followed by "reboot"
Your device will then reboot, perform a "fsck" and do a further reboot before showing the (lightdm) login screen
Again login as "linuxium" and open a terminal
Enter "sudo su -" followed by "resize2fs /dev/mtdblock0"
Now configure wifi (on wlan0) and then reboot
Your device should now be working running Ubuntu. I recommend that you then run an "aptitude update" followed by an "aptitude upgrade".
Recommended packages to install include "ssh openssh-server tightvncserver cpufrequtils chromium-browser".
Many thanks for all the earlier feedback that inspired this approach.