I'll detail this in two stages. First stage is installing the firmware on your MK808 the second is setting up your USB/SD card with the Picuntu software.
Things you will need:
1) A MK808 or MK808b device
2) An SD card or USB stick 2G or greater
3) Finless Bob's 1.7 ROM
4) Picuntu 4.5 easy installer
5) MK808 3.0.36 Kernel and mod+firmware from here http://hwswbits.blogspot.nl/2013/05/...r-picuntu.html
(** FYI - I never got the 720P kernel to work only the 1080P)
6) You will also need to follow the directions from Galland on enabling the 3D drivers after install here http://hwswbits.blogspot.com/2013/04...ntu-linux.html . I ended up downloading all the files he has build (xorg.conf, rk30fb_drv.so, and the mali-package) so that I could add them to my SD card while I was building the system.
7) A linux system
First - Installing firmware on the MK808/b
1) Download and install Finless Bob's 1.7 Rom to start with a clean slate. Don't forget to Erase NAND and install all checked boxes.
2) Boot TV stick and go to his reboot app and reboot to recovery.
3) Put MK808 into flash mode and uncheck everything except recovery. Select Galland's 3.0.36 kernel (720 or 1080) (again I only got 1080 to work) and flash to recovery img.
4) Test by booting up. You should see linux start scrolling on the screen and will end when it can't find the Picuntu software
Second - Prepare the USB/SD card
1) I used linux and Gparted to create a partition labeled "linuxroot" . I also selected formating to EXT4 and market a flag for the "boot" partition option.
2) Download the Picuntu 4.5 software and extract to a folder.
3) You can delete everything except for the system.img file in the flash rom folder
4) You need to mount or extract the files from the system.img folder. I used Furius ISO (on linux) to mount the system.img file and extract the files to a folder on my PC. (I tried to use PowerISO on my Win8 machine but it didn't recognize the file)
5) In the system.img (i'll call this the Picuntu file system) extracted folder you will now have a bunch of folders. Rename or delete the folders /lib/modules/3.0.36 and /lib/firmware .
5.b) Copy this folder to your USB or SD card with a cp -a command. The folders should be in the root of your storage device.
6) Download the mods+firmware from Galland here http://hwswbits.blogspot.nl/2013/05/...r-picuntu.html
7) Extract the files/folders (/lib folder) and place it on your Picuntu MicroSD's root folder (/)
8) Make sure they have all the same user and group owner. (should be root:root) when I copied the mods+firware file they took on other user and group ownership which messed me up. (I use cp -a for almost everything to make sure the permissions are kept)
9) Follow these direction from Galland thru #5. Stop before #6. (I'm going to list them below just so we have everything documented in one place.
10) Copy xorg.conf (from above) and place it on your Picuntu MicroSD's folder /etc/X11/
11) Copy rk30fb_drv.so (or compile it yourself) and place it on your Picuntu MicroSD's folder /usr/lib/xorg/modules/drivers/
12) Modify /etc/rc.local by commenting (precede with #) existing lines that use "fbset" and adding the following new lines: (**FYI I didn't have a fbset line so I added the below before the "if" scrip start)
fbset -rgba 8/16,8/8,8/0,8/24 -a
chmod 666 /dev/mali /dev/ump
13) Modify /etc/modules to add the following lines:
rk29-ipp
ump
disp_ump
mali
drm
mali_drm
14) Get the mali package, uncompress and you will need ONLY this file: mali400_2.1-13_armhf.deb
Place it on your Picuntu MicroSD's root folder (/) - This will be used and installed after we boot linux on the stick (This is the end of step #5 from Galland. Don't run step #6 untill you have installed the mesa drivers, detailed below)
15) Plug SD or USB stick into MK808 and start booting. If everything has the correct permissions you should boot and it will try the graphics drivers but will fail and fall back to cmd line.
16) log in using user: picuntu pass: 12qwaszx
17) To install Mali Driver package run:
sudo dpkg -i mali400_2.1-13_armhf.deb
18) To install Mesa Drivers run: (You need to do this before Galland's step #6 or you won't have the directories installed.
sudo apt-get install libegl1-mesa-drivers
19) Now you can run Galland's step #6:
Run the following commands:
sudo mv /usr/lib/arm-linux-gnueabihf/mesa-egl/ /usr/lib/arm-linux-gnueabihf/.mesa-egl/
sudo ln -s /usr/lib/libMali.so /usr/lib/libEGL.so
sudo ln -s /usr/lib/libMali.so /usr/lib/libEGL.so.1.4
sudo ln -s /usr/lib/libMali.so /usr/lib/libGLESv1_CM.so
sudo ln -s /usr/lib/libMali.so /usr/lib/libGLESv1_CM.so.1.1
sudo ln -s /usr/lib/libMali.so /usr/lib/libGLESv2.so
sudo ln -s /usr/lib/libMali.so /usr/lib/libGLESv2.so.2.0
-----------------------------------------------------------------------
Then if you enter: ll /usr/lib | grep libMali
The output should look something like this:
lrwxrwxrwx 1 root root 19 abr 16 17:58 libEGL.so -> /usr/lib/libMali.so
lrwxrwxrwx 1 root root 10 feb 22 02:06 libEGL.so.1.4 -> libMali.so
lrwxrwxrwx 1 root root 19 abr 16 17:58 libGLESv1_CM.so -> /usr/lib/libMali.so
lrwxrwxrwx 1 root root 10 feb 22 02:06 libGLESv1_CM.so.1.1 -> libMali.so
lrwxrwxrwx 1 root root 19 abr 16 17:58 libGLESv2.so -> /usr/lib/libMali.so
lrwxrwxrwx 1 root root 10 feb 22 02:06 libGLESv2.so.2.0 -> libMali.so
-rw-r--r-- 1 root root 731492 feb 22 02:06 libMali.so
20) I didn't have a visible cursor arrow when I booted into the GUI so go ahead and install
sudo apt-get install dmz-curser-theme
20) To help lockups you may want to set your cpu freq so you can install this:
sudo apt-get install cpufrequtils
- run sudo cpufreq-set -u 1512000
That should do it. Reboot and enjoy. I'm no expert so I'm not sure if I'll be able to help but I have been able to repeat this 3 times, due to wanting to use different USB and SD options. Good luck.
--------------------------------------------------------------------------------------
Hey guys,
I've been following Picuntu on the MK808 tv sticks and was excited about trying it out. I just don't have the linux experience or a 4G SD card (I have a 2G SD card) to run the "bloated" RC3. I noticed that some of you have been able to load 4.5 on a 3066 (MK808) device and have stated how much faster it is. I am looking for a faster, easier to install (Windows based), version of Picuntu and 4.5 looked to fit the bill. However, I noticed that there isn't support for these earlier stick. I would also like the later release of Ubuntu 13 vs 12 in the RC3 release. Since I'm not masterful at this I will tell you what I tried and I hope others will provide some insight into how they were able to make 4.5 work on their devices.
The components I downloaded:
Finless Bob's 1.7 ROM - for bootloader bin
Picuntu 4.5 easy installer
MK808 3.0.36 Kernel from here http://hwswbits.blogspot.nl/2013/05/...r-picuntu.html
I noticed that when I tried to use the Picuntu 4.5 installer without modification that the RK3188 boot loader wouldn't even load on the MK808. This made since so I used the bootloader from Finless Bob's 1.7 Rom which was RK30XXLoader(L)_V1.18.bin. This allowed me to flash the firmware. I have outlined the Flash Tool parameters I used to try to get it to work.
1 - Loader - RK30XXLoader(L)_V1.18.bin
2 - parameter - unchanged
3 - misc - unchecked
4 - kernel - MK808 3.0.36 kernel
5 - boot -unchanged - I also tried to change it to the boot for Finless but no luck.
6 - system - unchanged
7 - recovery - MK808 3.0.36 kernel
8 - backup - unchecked
What I see when the system starts up is the linux boot txt starting to scroll on the screen but then gives me a tty error and stops.
Lastly, there are some other tips that Galland has posted when running Picuntu on RK3066 platforms. Here is the link.
You may also want to create a swap file like Galland recommends on his 3D acceleration and kernel page.
The way to do it is documented here.
Thanks for any assistance here. I'm sure there are others who want to have a faster and easier Picuntu install for their MK808s.
Comment