http://freaktab.com/forum/tv-player-...ckchip-devices
MY OLD RELEASE:
Finally, here it is: Kodi on linux/rk3288!
Had to be really careful not to break my last rk3288 device (two died in the process, making it all an even more time-consuming job!). But I made it (for now)...
Images can be downloaded at: http://www.mac-l1.com for the following distributions/ devices:
- ubuntu 14.04/trusty for firefly
- ubuntu 14.10/utopic for ugoos UT3S
- debian jessie for radxa rock2 (if started: first "sudo resize2fs /dev/mmcblk0p2" in a shell and then continue with Step 2) below
Pick the one for your device and flash it the usual way. Kodi 14.2 can be started from the menu or from terminal.
Have fun! And of course:
If you like it, feel free to donate!
Cheers --
Mac
BEWARE: kodi is started as root/ superuser with all root privileges, so be careful!
TNX to: memeka for his hints & code; Tom from radxa, Ava and Eugene from ugoos for their support; mo123 and peba for testing. And all who donated with paypal (really TNX)!
---
HOW TO INSTALL IT YOURSELF (on a debian based linux)
Step 1) DISABLE FBCON - make sure that framebuffer console (fbcon kernel module) is not started in kernel
a) either use a kernel that does NOT have fbcon builtin, can be done by building kernel with CONFIG_FRAMEBUFFER_CONSOLE=n in kernel configuration file
b) or simply put "fbcon=vc:64-63" in the parameter file of your image, just after "CMDLINE:". As is done in the following example:
"CMDLINE:fbcon=vc:64-63 vmalloc=516M console=ttyFIQ0 console=tty0 init=/sbin/init root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00010000@0x00016000(boot),-@0x00994000(linuxroot)"
This can be done on an already linux-installed device using rkflashtool for linux to read/write parameter file (see http://radxa.com/Rock/flash_the_imag....28Advanced.29) or AndroidTool for Windows (read: advanced tab->export image,start=0,count=2, change the parameter file, write: flash it again using download image tab); or use a pre-configured image file.
ADDED 2015/10/13: JUST ANOTHER WAY TO DISABLE FBCON
C) You can also try my fbconify script on github (https://github.com/mac-l1/fbconify.git). Should be able to update both bootable SD cards and internal flash partitions. Run from a terminal started on your rockchip device. Works at least on my firefly.
Step 2) INSTALL MACHYBRIS using a shell:
wget http://mac-l1.com/machybris-0.1.0_armhf.deb sudo apt-get update sudo dpkg -i machybris-0.1.0_armhf.deb sudo apt-get install -f sudo reboot
wget http://mac-l1.com/mackodi-14.04-trusty-0.1.0_armhf.deb # only for ubuntu 14.04/trusty! wget http://mac-l1.com/mackodi-14.10-utopic-0.1.0_armhf.deb # only for ubuntu 14.10/utopic! wget http://mac-l1.com/mackodi-jessie-0.1.0_armhf.deb # for debian/jessie! sudo apt-get update sudo dpkg -i mackodi*.deb sudo apt-get install -f
---
RELEASE NOTES
Release image file basically consists of 3 parts:
* original img file from manufacturer (firefly/ ugoos/ radxa) with minimal adaptation in the parameter file
* installation of libhybris (machybris-0.1.0.deb)
* installation of kodi 14.2 (mackodi-*-0.1.0.deb)
machybris package
* mix of original libhybris (for Android EGL/GLES), ubuntu libhybris (for Android media service), some patches and my additional vpu code (for Android rockchip on2 and vpu libs)
* Android EGL/GLES and X11 working side by side, no interference
* Android media service start on start-up (both init and systemd)
* includes header files and libs usable for application developers (/usr/local)
mackodi package
* based on original xbmc helix code
* linked with libhybris
* Android HW accelerated video decoding based on memeka's code
* Android EGL/GLES working in kodi based on Owersun's code
Comment